Case converter
Paste your text and press the case you want. The converted text appears below, ready to copy. Nothing is uploaded.
What each case does
| Case | Example | Typical use |
|---|---|---|
| UPPER CASE | THE QUICK BROWN FOX | Headings, labels, emphasis |
| lower case | the quick brown fox | Tidying text typed with caps lock on |
| Title Case | The Quick Brown Fox Jumps over the Lazy Dog | Headlines, book and article titles |
| Sentence case | The quick brown fox. It jumps. | Normal writing, many modern headlines |
| camelCase | quickBrownFox | Variable names in JavaScript and Java |
| PascalCase | QuickBrownFox | Class and component names |
| snake_case | quick_brown_fox | Python, databases, file names |
| CONSTANT_CASE | QUICK_BROWN_FOX | Constants and environment variables |
| kebab-case | quick-brown-fox | Web addresses (URLs), CSS class names |
| dot.case | quick.brown.fox | Config keys, some file names |
How Title Case is decided
Every word is capitalised except short "minor" words: articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, so, yet) and short prepositions such as at, by, in, of, on, to, up, from, into, over and with. Minor words are still capitalised when they are the first or last word, or come straight after a colon or full stop. Words with capitals already inside them, such as iPhone or NASA, are left as typed. Each part of a hyphenated word is treated separately: "state-of-the-art design" becomes "State-of-the-Art Design".
Style guides differ on the details. AP style capitalises every word of four letters or more, so it would write "From" and "With". Chicago style lowercases prepositions of any length. If you follow a specific guide, check words like "from", "with", "over" and "into" after converting.
How code cases split words
For camelCase, snake_case and the other code styles, text is split into words at spaces, punctuation and existing case changes. So "userFirstName", "user first name" and "user-first-name" all become user_first_name in snake_case, and "parseHTTPResponse" becomes parse-http-response in kebab-case. Punctuation is dropped in these styles.
FAQ
Why are names lower case after Sentence case?
Sentence case lowers everything and then capitalises the first letter of each sentence and the word "I". It cannot tell which words are names, so recapitalise proper nouns such as "Dubai" or "Monday" yourself.
Does it work with accents and other alphabets?
Yes, for alphabets that have upper and lower case, such as Latin with accents, Greek and Cyrillic. Scripts without case, such as Arabic or Chinese, are left unchanged.
Is my text stored?
No. It stays in this browser tab only.