Case Converter

Paste your text, click a style, copy the result.

When to use each case

FAQ

Is my text uploaded?

No. All conversion happens in your browser.

Does Title Case follow style guides?

It capitalizes every word except small words like “a”, “of” and “the” in the middle of a title. Check your style guide for edge cases.

How to convert text

  1. Type or paste your text into the large box. Line breaks are kept, so you can convert a whole paragraph or a list of names in one go.
  2. Click one of the ten style buttons. The text in the box is replaced right away; the buttons act on whatever is currently in the box, not on your original.
  3. Not happy with the result? Click another style, or fix the text by hand and convert again. Use Copy text to put the result on the clipboard, or Clear to start over.

Because each click overwrites the box, the order matters. Title Case treats only spaces as word breaks, so after converting to snake_case, "hello_world" becomes "Hello_world" with Title Case, not "Hello World". If you want to keep a copy of the original, copy it somewhere first.

What each style actually does

How words are detected for programming cases

Any run of characters that is not a letter or digit counts as a separator, so spaces, hyphens, underscores, dots and slashes all work as word breaks. In addition, the converter looks for places where a lowercase letter or digit is followed by a capital, and for an acronym followed by a capitalized word. This means you can convert existing identifiers as well as plain sentences.

Examples of what comes out:

Punctuation is dropped in these five styles, so "it's a test!" turns into it_s_a_test in snake_case: the apostrophe acts as a separator. Digits are kept and stay attached to the letters next to them.

Common uses

Tips and limits

More questions

Why did my text lose its punctuation?

You probably used one of the programming styles (camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE). These produce identifiers, which cannot contain spaces or punctuation, so every non-alphanumeric character is treated as a break and removed. Use UPPERCASE, lowercase, Title Case or Sentence case to keep punctuation.

Can I undo a conversion?

There is no undo button. Information such as the original capitalization is lost once the text is lowercased, so keep a copy of anything you cannot easily retype. Your browser's own undo (Ctrl+Z or Cmd+Z inside the box) may also work, depending on the browser.

Does it handle accented letters?

Yes for upper and lower case, which use the browser's standard mapping. Sentence case only recognises accented lowercase letters in the Latin-1 range (such as é or ü) when looking for the first letter of a sentence, so check the first letter of sentences that begin with less common characters.