Skip to content

Text tools

Case Converter

Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, CONSTANT_CASE and more. Instant and private.

Runs on your device — nothing is uploaded

Switch text between ten case styles — the ones writers need and the ones programmers need — in one click.

How to use this tool

  1. Paste your text.
  2. Click a case style.
  3. Copy the result.

The styles

For writing

  • lowercase / UPPERCASE — the obvious two
  • Sentence case — capitalises the first letter of each sentence
  • Title Case — capitalises each significant word, leaving short joining words like "of", "the", and "and" lowercase unless they start or end the title

For code

  • camelCase — JavaScript variables and functions
  • PascalCase — class and component names
  • snake_case — Python and Ruby variables, SQL columns
  • CONSTANT_CASE — environment variables and constants
  • kebab-case — CSS classes, URLs, filenames

For fun

  • aLtErNaTiNg — the sarcasm case

Tips

  • The code styles understand existing camelCase, so getUserName correctly becomes get_user_name rather than one long word.
  • Title Case here follows the common style-guide convention of lowercasing minor words. Some house styles capitalise everything — check before publishing.
  • Sentence case is the safest default for headings on the web; it reads faster than Title Case and is what most modern style guides now prefer.

Related tools

FAQ

Is my text uploaded?

No. All conversion happens in your browser.

Why did my acronym get mangled?

Converting NASA to camelCase legitimately produces nasa, because case conversion cannot know which runs of capitals are acronyms. Fix those by hand afterwards.

What is the difference between camelCase and PascalCase?

Only the first letter. userName is camelCase; UserName is PascalCase. Most languages use camelCase for variables and PascalCase for types and classes.

Does Title Case handle hyphenated words?

It capitalises the first part. Style guides disagree on whether the second part should be capitalised, so review hyphenated terms manually.

Can I convert a whole file?

Paste its contents in. Very large documents may feel sluggish since conversion runs on every keystroke — work in sections if so.

More text tools

Try these next