Convert text between cases

Paste text and switch it to any of nine cases, from ordinary Title Case for headings to the naming conventions used in code. Prose cases keep your punctuation and line breaks; programmer cases work line by line, so you can convert a whole column of field names in one paste. Everything updates as you type.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Case Converter

  1. Paste or type your text.
  2. Choose the target case from the dropdown.
  3. For headings, leave the smart-title option on so minor words stay lowercase.
  4. Copy the result, or download it as a text file.

Prose cases

Title Case capitalises the first letter of each significant word. With the smart option on, the tool follows the style used by the Chicago Manual of Style and most newsrooms: articles (a, an, the), coordinating conjunctions (and, but, or, nor) and short prepositions (of, in, on, to, for, by, at) stay lowercase unless they are the first or last word of the line. Hyphenated compounds are capitalised on both sides, so "state-of-the-art" becomes "State-of-the-Art". Turn the option off for the simpler style where every word is capitalised, which some brand guidelines require.

Sentence case lowercases everything, then capitalises the first letter of each sentence and of each line, restoring the standalone pronoun "I" and contractions such as "I'm". It is the fastest way to repair text that arrived in ALL CAPS. Because it cannot know that "london" or "nasa" are proper nouns, check names afterwards.

Programmer cases

The four identifier styles all start by splitting the input into words. The splitter understands existing conventions, so getUserID, get_user_id, get-user-id and Get User ID all produce the same word list and convert cleanly between each other. Digits stay attached to the word they follow, and any punctuation is dropped.

CaseExampleWhere it is the convention
camelCaseuserFirstNameJavaScript and Java variables, JSON keys, Swift
PascalCaseUserFirstNameClass and type names almost everywhere; C# members
snake_caseuser_first_namePython, Ruby, SQL columns, Rust functions
kebab-caseuser-first-nameURLs, CSS classes, HTML attributes, npm packages
CONSTANT_CASEUSER_FIRST_NAMEEnvironment variables, compile-time constants

Working with lists

Every programmer case is applied to one line at a time, which makes bulk renaming practical: paste a column of column headings copied from a spreadsheet, choose snake_case, and you have a set of database-safe names. Prose cases preserve blank lines and indentation, so a pasted document keeps its shape.

Accents and other scripts

Word splitting uses Unicode letter and number classes rather than A–Z, so French, German, Turkish, Greek and Cyrillic text is handled correctly and accented letters are never stripped. Note that uppercasing is locale-dependent in a couple of languages — Turkish dotless ı is the well-known case — and the browser applies your own locale's rules.

Frequently asked questions

Which words stay lowercase in Title Case?

Articles, coordinating conjunctions and short prepositions — a, an, the, and, but, or, nor, of, in, on, to, for, by, at, with — unless they open or close the line. Turn the option off to capitalise every word.

Can I convert a list of names all at once?

Yes. camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE are applied per line, so a pasted column converts in one go.

Will Sentence case fix proper nouns?

No. It cannot tell a name from an ordinary word, so check names, places and brands after converting from ALL CAPS.

Does it work with accented or non-Latin text?

Yes. Word boundaries use Unicode character classes, so accents are preserved and Greek or Cyrillic text converts correctly.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.