Case Converter
Paste text and change its capitals: fix a heading typed in capitals, write a title, or turn a list of labels into names for code. The result updates as you type.
Type or paste text, up to 5 MB. It stays on this page: nothing is sent anywhere or saved.
Type or paste text above to change its case.
Everything happens on this page, on your device: your text is never sent anywhere or saved.
Change the capitals in any text
A heading typed with Caps Lock on, a title that needs the right capitals, or a list of labels that has to become names in code: retyping them is slow and easy to get wrong. Paste the text here, pick a case, and copy the result.
How to use it
- Type or paste your text, up to 5 MB.
- Choose a case. The result updates as you type.
- If the text has words such as USA, PhD or McDonald that must stay as they are, tick Keep words with capitals inside them.
- Copy the result, or download it as a .txt file.
The cases for writing
- UPPERCASE and lowercase change every letter.
- Sentence case lowercases everything, then gives a capital to the first word of each sentence and each line, and to the word I.
- Capitalize Each Word gives every word a capital first letter and lowercases the rest, so “well-known” becomes “Well-Known”.
- Title Case does the same, except for these short words, which stay lowercase unless they’re the first or last word of a line or sit next to a colon: a, an, the, and, but, or, for, nor, of, on, in, at, to, by.
The cases for code
camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE turn each line into one name: “first name” becomes firstName, FirstName, first_name, first-name or FIRST_NAME. Words are found at spaces, punctuation and changes of case, so XMLHttpRequest splits into XML, Http and Request. Apostrophes are dropped.
Good to know
- Every alphabet with capitals works: “élan” becomes “Élan”, and ß becomes SS in capitals. Letters follow Unicode’s standard rules, the same for every language, so Turkish dotted and dotless i get no special treatment.
- Read the result through. Sentence case can’t tell a name from an ordinary word, so names end up lowercase, and an abbreviation such as “e.g.” counts as the end of a sentence.
- Style guides disagree on which short words a title keeps in lowercase. Check the one your publisher or school follows.
- In code names, accented letters are kept. Check that your programming language accepts them.
- Want counts, not changes? The Word and Character Counter counts words, characters, sentences and paragraphs without changing your text.
- Nothing leaves your device. The text is never sent anywhere or saved.