Case Converter

Convert text between fourteen cases, from Title Case to camelCase, snake_case and kebab-case.

Text
Converted
Runs locally in your browser

About the Case Converter

Different systems expect different casing: prose wants sentence or title case, CSS classes want kebab-case, database columns want snake_case, JavaScript variables want camelCase, and constants want SCREAMING_SNAKE_CASE. This converter offers all of them plus toggle and alternating case for fun. The programming cases split the input into words intelligently, handling existing camelCase, spaces, hyphens and underscores, so firstName, first name and first-name all convert cleanly.

Prose cases (upper, lower, title, sentence) work across the whole text at once, while the programming cases apply per line, so you can paste a list of names and convert each. Title case capitalises each significant word; sentence case capitalises after each full stop. Accented letters are handled correctly.

For converting only SQL keywords, use the SQL Keyword Case tool; for making a URL slug, the Slug Generator lowercases and hyphenates in one step.

How to use

  1. Paste text on the left.
  2. Choose the case from the dropdown.
  3. Copy the converted text.

Common questions

What is the difference between title case and capitalize each word?
Both capitalise words, but title case is the same here; some style guides lowercase small words like "of" and "the", which this tool does not, so it capitalises every word.
Does camelCase handle a whole sentence?
Yes. It splits on spaces and punctuation and joins the words, lowercasing the first, per line.
Are accented characters preserved?
Yes. Café stays café, with the case changed appropriately.