About the Case Converter
This case converter shows your text in 13 different cases at the same time. Use it to fix text typed with Caps Lock on, to format a headline in proper title case, or to turn a phrase into a variable or file name in camelCase, snake_case or kebab-case.
Writers and editors use it to clean up headlines and email subject lines, students to format essay and reference titles, and developers to rename a list of fields from a spec sheet into code-ready identifiers or database columns. Because every style appears at once, you can compare them side by side instead of retyping. Numbers, symbols and scripts without letter case (such as Chinese or Japanese) are left unchanged.
How to use
- Paste or type your text in the box.
- Every converted version appears in the list below and updates as you type.
- Tap the line you want to copy it to the clipboard.
Worked examples
A book title in title case
- Input
- the lord of the rings: the return of the king
- Result
- Title Case: The Lord of the Rings: The Return of the King
Capitalize each word: The Lord Of The Rings: The Return Of The King
Short words like of and the stay lowercase, but the first word after the colon is capitalized. Compare it with the capitalize-each-word line to see the difference.
Undoing Caps Lock
- Input
- WHY IS MY CAPS LOCK ON? i didn't notice.
- Result
- Sentence case: Why is my caps lock on? I didn't notice.
The first letter after a question mark or period is capitalized and the pronoun i becomes I. Proper nouns such as London or Netflix come out lowercase, so fix those by hand.
Renaming a list of identifiers
- Input
- parseHTMLString
get-user-id
MAX_retry count - Result
- camelCase: parseHtmlString / getUserId / maxRetryCount
snake_case: parse_html_string / get_user_id / max_retry_count
Each line is converted on its own, and acronyms like HTML are treated as one word. Contractions stay one word with the apostrophe dropped, so "didn't" becomes didnt (I didn't notice โ iDidntNotice).
Text cases at a glance
| Case | Example | Typical use |
|---|---|---|
| Sentence case | Hello world. Nice day | Normal prose |
| Title Case | The Lord of the Rings | Headlines, book and song titles |
| camelCase | userName | JavaScript and Java variables |
| PascalCase | UserName | Class and component names |
| snake_case | user_name | Python variables, database columns |
| kebab-case | user-name | URLs, CSS classes, file names |
| CONSTANT_CASE | MAX_COUNT | Constants, environment variables |
Title case rules
In title case the major words start with a capital letter, while articles (a, an, the), short prepositions (of, in, on, at, to, by, for) and coordinating conjunctions (and, but, or) stay lowercase. The first and last word (of the title and of each sentence in it, as in "What Is It For?"), and the word right after a colon, are always capitalized. Style guides such as AP, APA and Chicago differ in the details (AP capitalizes prepositions of four letters or more, for example), so check the guide your publication follows.
FAQ
How are words split for camelCase or snake_case?
Words are split at spaces, hyphens, underscores, dots and other symbols, and at existing case boundaries. Even with acronyms, parseHTMLString becomes parse, html and string.
What happens with several lines?
Line breaks are kept, and programming styles such as camelCase are applied to each line separately, so you can convert a whole list of names at once.
What is the difference between Capitalize each word and Title case?
Capitalize each word capitalizes every word, including a, of and the. Title case leaves those short words lowercase unless they come first, last (also at the end of a sentence) or after a colon.
Are acronyms like URL kept in title case?
Yes. Words written entirely in capitals, such as URL or NASA, are kept as they are in title case and capitalize each word, unless most of the line is in capitals (typed with Caps Lock on), in which case everything is converted. Mixed-case brand names such as iPhone still become Iphone, so check those after converting. The code styles (camelCase, snake_case โฆ) always turn acronyms into normal words: URL โ Url / url.
Is my text uploaded?
No. Everything runs in your browser, and the text is only saved locally so it is still there when you come back.