Title Case vs Sentence Case (and camelCase, snake_case…): When to Use Each
Capitalization looks like a small detail until a document mixes three styles. Here's what each one is for.
Title Case
Capitalize the major words; keep short articles, conjunctions and prepositions lowercase unless they're first or last: How to Write a Headline That Gets Read. Common in English book titles, news headlines and many US publications.
Sentence case
Capitalize only the first word and proper nouns: How to write a headline that gets read. Easier to read for long headings and the default in many style guides and most user interfaces. Whichever you pick, be consistent across a document.
Programming cases
| Style | Example | Typical use |
|---|---|---|
| camelCase | userAccountId | Variables and functions in JavaScript, Java |
| PascalCase | UserAccount | Class and type names |
| snake_case | user_account_id | Python, database columns |
| kebab-case | user-account-id | URLs, CSS classes, file names |
Converting text
Paste text into the case converter and click the style you need. It also fixes text typed with Caps Lock on, and can remove accents (café → cafe) for URL slugs and systems that don't handle them.
Cleaning up first
Text copied from PDFs often arrives with broken lines and double spaces. Run it through Remove Line Breaks before converting.