HandyBench

Case Converter

Switch between UPPERCASE, lowercase, Title and more.

How to use the Case Converter

  1. 1 Paste your text into the input box.
  2. 2 Click the case you want: UPPER, lower, Title, Sentence, camelCase or snake_case.
  3. 3 Copy the converted result.

What each case button does

The text box is edited in place: pressing a button replaces the contents with the converted version, and there is no undo, so copy your original first if you may want it back. The seven conversions behave like this.

StyleExample outputTypical use
UPPERCASEHELLO WORLDAcronyms, constants, shouting in captions
lowercasehello worldNormalising emails, tags and search terms
Title CaseHello WorldHeadings, article and book titles
Sentence caseHello world. It works.Fixing text typed with caps lock on
camelCasehelloWorldJavaScript, Java and Swift variables
snake_casehello_worldPython, Ruby and SQL column names
kebab-casehello-worldURLs, CSS classes, file names

How the conversions work

UPPERCASE and lowercase use the browser's built-in Unicode-aware conversion, so accented letters convert correctly and the German ß becomes SS in upper case. Title Case capitalises the first letter of every word and lower-cases the rest. It does not know about style guides, so small words like "of", "the" and "and" are capitalised too. If you follow AP or Chicago style, fix those by hand afterwards.

Sentence case first lower-cases everything, then capitalises the first letter of the text and any letter that follows ., ! or ?. That means proper nouns and the pronoun "I" are lower-cased and need re-capitalising.

The three programmer styles first extract words, which are runs of the letters A to Z and the digits 0 to 9, and then join them. Everything else is treated as a separator and discarded, including punctuation, apostrophes and accented letters.

Worked example

Input: Hello, World-wide web 2024

  • snake_case gives hello_world_wide_web_2024
  • kebab-case gives hello-world-wide-web-2024
  • camelCase gives helloWorldWideWeb2024
  • Title Case gives Hello, World-wide Web 2024

Limits to know about

  • Existing camelCase is not split. userAccountID is read as a single word, so snake_case returns useraccountid. Add spaces first if you are converting between code styles.
  • Because only ASCII letters count as word characters, café menu becomes caf_menu in snake_case. Transliterate accents first if you need them kept.
  • Title Case treats an apostrophe as part of a word, so don't becomes Don't, not Don'T.

For URL-ready strings that also strip accents and punctuation, the text to slug tool is the better fit. For decorative lettering rather than real case changes, see the fancy text generator.

Examples

  • ▸ "hello, world-wide web 2024" → snake_case → hello_world_wide_web_2024
  • ▸ "THE QUICK BROWN FOX. IT JUMPS." → Sentence case → The quick brown fox. It jumps.
  • ▸ "user profile page" → camelCase → userProfilePage, ready to paste as a JavaScript variable.

Frequently asked questions

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of most words. Sentence case capitalizes only the first letter of each sentence.

Can it produce camelCase and snake_case?

Yes. It includes programmer-friendly formats such as camelCase, snake_case and kebab-case.

Does Title Case follow AP or Chicago style?

No. It capitalizes the first letter of every word, including small words like "of", "the" and "and", and lower-cases the rest. If your style guide keeps those words lowercase, adjust them by hand after converting.

Why did accented letters disappear when I converted to snake_case?

camelCase, snake_case and kebab-case only keep the letters A to Z and the digits 0 to 9; everything else, including accents and punctuation, is treated as a separator. UPPERCASE and lowercase handle accented letters correctly. Title Case and Sentence case only recognise A to Z when finding the first letter of a word, so a word that starts with an accented letter may be capitalised wrongly.

Can I undo a conversion?

There is no undo, because each button replaces the text in the box. Copy your original text first if you may need it, and note that converting to lowercase or snake_case cannot restore the original capitalization.