Which case to use
| Case | Looks like | Used for |
|---|
| Sentence case | A tale of two cities. | Normal writing, emails, subtitles |
| Title Case | A Tale of Two Cities | Headlines, book and article titles |
| Capitalize Each Word | A Tale Of Two Cities | Names, labels, product listings |
| UPPER CASE | A TALE OF TWO CITIES | Short labels, warnings, acronyms |
| lower case | a tale of two cities | Tags, email addresses, cleaning up text |
| camelCase | aTaleOfTwoCities | JavaScript and Java variable names |
| PascalCase | ATaleOfTwoCities | Class and component names |
| snake_case | a_tale_of_two_cities | Python, databases, file names |
| kebab-case | a-tale-of-two-cities | Web addresses (URLs) and CSS classes |
| CONSTANT_CASE | A_TALE_OF_TWO_CITIES | Constants and environment variables |
How Title Case works here
Title Case capitalises the main words and keeps short words such as a, an, the, and, but, or, of, in, on, to and for in lower case, unless they are the first or last word or follow a colon. Style guides such as AP and Chicago differ slightly on which short words to lowercase, so give important headlines a quick read afterwards. If you want every word capitalised, use Capitalize Each Word.
Fixing text typed with Caps Lock on
Paste the text and choose Sentence case. It lowercases everything, then capitalises the first letter of each sentence and the word “I”. Names and places will need capitals added back by hand.
Undo is there if you need it
Converting to lower or upper case throws away the original capitals. Press Undo to step back through up to 30 earlier versions of your text.