Text Case Converter

Capitalization rules differ between a headline, a database key and a line of code. Pick the format you need and the converted text appears in the second box, ready to copy.

Text Case ConverterRuns in your browser

How to Use

  1. Type or paste your text in the upper box.
  2. Click one of the six format buttons. The result appears in the Converted text box below.
  3. Copy the result from the lower box; conversion does not run automatically as you type.
  4. Use Clear to empty both boxes and try a different source.

Practical Examples

  • Title Case turns 'the lord of the rings' into 'The Lord of the Rings' — short words such as 'of' and 'the' stay lowercase except at the start.
  • camelCase turns 'user profile settings' into 'userProfileSettings', the shape used for JavaScript variable names.
  • Sentence case fixes 'hello world. second sentence' into 'Hello world. Second sentence'.

Understanding the Result

Each button applies a single pass over the text and writes the result to the lower box. The original text is left untouched, so you can compare the two or try another format without retyping.

Title Case capitalizes the first letter of every word except a short list of common words (a, an, and, the, of, to, in and similar) when they appear after the first word. Sentence case capitalizes the first letter of the text and the first letter after a period followed by a space.

Limitations and Useful Notes

  • Case conversion is mechanical. Proper nouns and acronyms lose their original capitalization: 'NASA' becomes 'Nasa' in Title Case and 'nasa' in lowercase, and 'iPhone' becomes 'Iphone'. Proofread names before publishing.
  • camelCase removes spaces and punctuation and is built for Latin letters and digits. Accented characters and non-Latin scripts may not convert as expected.
  • Sentence case only capitalizes after a period followed by a space, so an abbreviation such as 'e.g.' or a line break may not start a new sentence.
  • Alternating case toggles case by character position, including the spaces in between, and is intended for playful text rather than formal writing.
  • Nothing is copied to the clipboard automatically — you take the text from the result box yourself.
Privacy: Conversion happens in your browser; the text is never uploaded or stored.

Common Questions

Will it preserve acronyms like API or NASA?

No. Each format works word by word or character by character without knowing which words are names, so acronyms are lowercased or title-cased like ordinary words. Restore them manually after conversion.

Is the result copied automatically?

No. The converted text appears in the lower box and stays there until you copy it or click Clear, which empties both boxes.

Can I undo a conversion?

Your original text remains in the upper box, so you can click a different format at any time. There is no separate undo step.