Modern Niche World MNW

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.

For writing
For names in code (one name per line)

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

  1. Type or paste your text, up to 5 MB.
  2. Choose a case. The result updates as you type.
  3. If the text has words such as USA, PhD or McDonald that must stay as they are, tick Keep words with capitals inside them.
  4. 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.

Frequently asked questions

What’s the difference between Title Case and Capitalize Each Word?
Capitalize Each Word gives every word a capital. Title Case keeps short words such as a, the, and, of and to in lowercase unless they start or end the title, the way headings are usually written: “A Guide to the Coast of Maine” rather than “A Guide To The Coast Of Maine”.
Why did USA become Usa?
Sentence case, Capitalize Each Word and Title Case lowercase every word before adding capitals, so they can fix text typed with Caps Lock on. Tick “Keep words with capitals inside them” to leave words such as USA, PhD and McDonald exactly as you typed them.
How does it turn a phrase into camelCase or snake_case?
Each line becomes one name. The line is split into words at spaces, punctuation and changes of case, apostrophes are dropped, and the words are joined again: “Last login date” becomes lastLoginDate, last_login_date or LAST_LOGIN_DATE.
Is my text sent anywhere?
No. It’s converted by this page’s own code, on your device, and nothing is sent, logged or saved. Reloading the page clears it, so copy or download the result first.