Case Converter — camelCase, snake_case, Title Case and 12 More

Convert text or a whole list of names between 15 cases, see every case at once, and copy the one you need.

🔒 Runs in your browser — files never uploaded ⚡ No signup 💯 Free

Paste text, a sentence or a whole column of names and convert it between 15 cases: UPPER, lower, Title Case, Capitalize Each Word (proper case) and Sentence case for writing, and camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Train-Case, dot.case and path/case for code. As you type, an "every case at once" panel shows all of them side by side, each with its own Copy button.

The code cases understand any input: spaces, hyphens, underscores, punctuation, existing camelCase and acronyms like XMLHttpRequest. And they convert line by line, so a list of spreadsheet headers or database columns becomes a list of identifiers, not one long name.

How to use Case Converter

  1. Paste your text or a list with one item per line.
  2. Click a case to get the full result in the box below, or scroll to "Every case at once" and copy the one you want straight from its row.
  3. Leave "Convert each line separately" ticked for lists; untick it to join several lines into one identifier.
  4. Copy or download the result, or use it as the new input to chain conversions.

Converting to camelCase

camelCase joins the words with no separator, lowercases the first word and capitalises the first letter of each following word: first name becomes firstName, Customer ID number becomes customerIdNumber. The converter first splits the input into words, whatever form it is in: spaces, snake_case, kebab-case, PascalCase, ALL CAPS or a sentence with punctuation. So "capital to camel case" and "snake to camel" are the same one click, and Hello, world! gives helloWorld, not hello,World!. Runs of capitals are treated as one word, so XMLHttpRequest becomes xml_http_request in snake_case.

Which case for which language?

  • camelCase: variables and functions in JavaScript, TypeScript, Java, C# locals, JSON keys.
  • PascalCase: classes and types almost everywhere; C# methods and properties; React components.
  • snake_case: Python, Ruby and Rust variables and functions; SQL tables and columns.
  • CONSTANT_CASE: constants and environment variables (MAX_RETRIES, DATABASE_URL).
  • kebab-case: URLs and slugs, CSS classes, HTML attributes, file names, CLI flags.
  • Train-Case: HTTP headers such as Content-Type.
  • dot.case and path/case: configuration keys, package and folder names.

Title Case vs Capitalize Each Word

Proper title case, as in AP and Chicago style, leaves short words lowercase unless they are first, last or follow a colon: articles (a, an, the), short conjunctions (and, but, or, nor) and short prepositions (in, on, at, to, for, of, by). So the lord of the rings becomes "The Lord of the Rings". Capitalize Each Word, sometimes called proper case, capitalises every word without exception, giving "The Lord Of The Rings"; it is what spreadsheet PROPER() functions do and what most name and address fields want. Both handle hyphenated words ("Well-Known").

Sentence case

Sentence case lowercases everything, then capitalises the first letter of each sentence and each new line, and restores the pronoun "I". It is the quickest fix for text typed with Caps Lock on. Proper nouns cannot be detected automatically, so names and places need a manual touch afterwards.

Lists and spreadsheets

With "Convert each line separately" ticked, every line is converted on its own and blank lines are kept, so you can paste a column from Excel or Google Sheets and paste the result straight back. For other bulk text edits, the find and replace tool supports regular expressions and the word counter measures the result.

Frequently asked questions

How do I convert text to camelCase?

Paste the text and click camelCase, or copy it from the camelCase row under "Every case at once". Any input works: words with spaces, snake_case, kebab-case, PascalCase or capitals. For a list, each line becomes its own identifier.

What is the difference between Title Case and Capitalize Each Word?

Title Case follows style-guide rules and keeps short words such as "of", "the" and "and" lowercase in the middle of a title. Capitalize Each Word, also called proper case, capitalises every word without exception, like the PROPER() function in Excel and Google Sheets.

Does it handle acronyms and existing camelCase correctly?

Yes. Runs of capitals are kept together as one word, so XMLHttpRequest becomes xml_http_request and getHTTPResponseCode becomes get-http-response-code. Converting back to camelCase then gives xmlHttpRequest, the style most guides recommend for acronyms.

Can I convert a whole list at once?

Yes. Put one item per line and keep "Convert each line separately" ticked: every line is converted on its own and blank lines are kept. Untick it to merge all the lines into a single identifier.

What happens to punctuation and accents?

For the code cases, punctuation and symbols act as word separators and are dropped, so the result is a valid identifier. Accented and non-Latin letters are kept (année scolaire → annéeScolaire). The writing cases (upper, lower, title, sentence) leave punctuation untouched.

Is there a length limit, and is my text uploaded?

There is no fixed limit; whole documents convert instantly. Everything runs in your browser and nothing is sent or stored. The "every case" panel previews only the first few lines, but its Copy buttons always convert the full text.