How to use it
- Type or paste your text into Your text, or press Clear to remove the example first.
- Choose a case. The result updates straight away, and keeps updating as you edit.
- Press Copy to put the result on your clipboard, or Download .txt to save it as a file.
What each case does
| Case | Example |
|---|---|
| Sentence case | The cat sat on the mat. It was happy. |
| Title Case | The Cat Sat on the Mat |
| Capitalized Each Word | The Cat Sat On The Mat |
| camelCase | theCatSatOnTheMat |
| snake_case | the_cat_sat_on_the_mat |
| kebab-case | the-cat-sat-on-the-mat |
| CONSTANT_CASE | THE_CAT_SAT_ON_THE_MAT |
camelCase, snake_case, kebab-case and CONSTANT_CASE work line by line, so you can paste a list of names and convert them all at once. Existing camelCase is split correctly: parseJSONData becomes parse_json_data.
Title Case is not the same as capitalizing every word
Proper title case, as used by publishers and newspapers, leaves short words in lowercase: articles (a, an, the), the conjunctions and, but, or, nor, for, so, yet, and short prepositions such as of, in, on, at, to, by, with. The first and last words are always capitalized, and so is the first word after a colon. So you get The Lord of the Rings and Star Wars: A New Hope.
Words that already have capitals inside them, such as iPhone or NASA, are left as you typed them.