Case Converter
Paste text and choose a case. Fix text typed with Caps Lock on, format headings in title case, or turn phrases into programming identifiers.
The cases explained
| Case | Result | Typical use |
|---|---|---|
| Sentence case | A tale of two cities: the best of times | Normal writing, many modern headings and UI text |
| lowercase | a tale of two cities: the best of times | Tags, e-mail addresses, fixing Caps Lock text |
| UPPERCASE | A TALE OF TWO CITIES: THE BEST OF TIMES | Short labels, acronyms; avoid for long text (harder to read) |
| Title Case | A Tale of Two Cities: The Best of Times | Titles of books, articles and headings in headline style |
| Capitalized Each Word | A Tale Of Two Cities: The Best Of Times | Names, labels where every word should start with a capital |
| camelCase | userAccountId | Variable names in JavaScript, Java and many other languages |
| PascalCase | UserAccountId | Class and type names |
| snake_case | user_account_id | Variables in Python and Ruby, database columns |
| kebab-case | user-account-id | Web addresses (URL slugs), CSS class names, file names |
| CONSTANT_CASE | USER_ACCOUNT_ID | Constants and environment variables |
How title case is applied
Title case follows the common headline style: every word starts with a capital letter except short articles, conjunctions and prepositions (a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, off, on, per, to, up, via), which stay lowercase unless they are the first or last word or follow a colon or dash. That is why “a tale of two cities” becomes “A Tale of Two Cities”.
Style guides disagree on the details. Some capitalize all prepositions of four or more letters (With, From); others lowercase them. Check the result against the style guide you are following, especially for names.
Words with their own capitals are kept
Words that already contain a capital letter after the first letter, such as iPhone, NASA or McDonald, are left as they are in title case and capitalized case, so brand names and acronyms survive. If your whole text is in capitals, everything is converted, because there is no way to tell acronyms apart.
Sentence case
Sentence case lowercases everything and then capitalizes the first letter of each sentence and of each new line. It cannot know which words are names, so check names, places and acronyms afterwards (“paris” and “nasa” will be lowercase).
Common questions
Does it work with accented letters and other alphabets?
Yes. Upper- and lowercase conversion follows Unicode rules, so é→É, ß→SS and Greek or Cyrillic letters all convert. Scripts without letter case, such as Chinese or Arabic, are left unchanged.
Can I undo a conversion?
Yes, the Undo button restores the text as it was before the last conversion. Your text stays in your browser and is not uploaded.