Free text tool

Change the capitalisation of any text and know exactly what changes

For headings pasted from a caps-lock email, lists typed in lower case and subject lines that need sentence case. Conversion happens in the text box in your browser; nothing is sent or saved.

Four conversions, original keptCopy or download as converted-text.txtPunctuation and line breaks are kept
Case Converter

Paste text on the left and pick a case. The converted copy appears on the right and your original stays as it is.

Runs on your device
Result
The converted text appears here as you type.

What the Case Converter does

The Case Converter is two panes, your text on the left and the result on the right, with a four-way switch beneath them: UPPER CASE, lower case, Title Case and Sentence case. The result updates as you type and whenever you change the case, and the text on the left is never altered. Copy puts the result on your clipboard and Download TXT saves it as a plain text file named converted-text.txt.

Upper and lower case use the browser's built-in string functions, which follow the Unicode default case mapping and therefore handle accented letters and most alphabets correctly. Title Case and Sentence case are implemented with short regular expressions, which are fast and predictable but have specific blind spots that you should know about before pasting the result into anything public.

Spaces, line breaks, digits and punctuation are never added or removed. Only the letters change, which is why you can convert a whole list or a block of code comments without the structure moving.

How to use it

Paste your text

Type or paste into the left box. It stays exactly as you entered it, so you can switch between cases as often as you like.

Choose a case

UPPER CASE and lower case affect every letter. Title Case capitalises the first letter of each word; Sentence case capitalises the first letter after a sentence end.

Copy or download

Use Copy above the result to put it on the clipboard, or Download TXT to save converted-text.txt. Both buttons stay disabled while there is no result.

What each case does, precisely

Because Title Case and Sentence case lowercase everything first, any capitals that were already correct, such as NASA, iPhone or a surname in the middle of a sentence, are lost and must be restored by hand.

  • UPPER CASE: every letter to its uppercase form using String.toUpperCase; the German sharp s becomes SS, so the text can grow by a character
  • lower case: every letter to its lowercase form using String.toLowerCase
  • Title Case: the whole text is lowercased first, then the first word character after every word boundary is uppercased
  • Sentence case: the whole text is lowercased, then the first word character of the text, and the first word character after a full stop, exclamation mark or question mark plus whitespace, is uppercased

Known quirks of Title Case

The word boundary used by the regular expression is JavaScript's \b, and the word character class is \w, which covers only the ASCII letters, digits and underscore. Two consequences follow. An apostrophe counts as a boundary, so don't becomes Don'T. Accented letters are not word characters, so émile becomes éMile: the é is skipped and the l after it is treated as the start of a word.

Hyphenated compounds get a capital on both parts, so well-known becomes Well-Known, which many style guides accept. Small words are not exempted: the lord of the rings becomes The Lord Of The Rings, with Of and The capitalised. If you follow a style that lowercases articles and prepositions, fix those by hand afterwards.

Known quirks of Sentence case

A new sentence is recognised only after a full stop, exclamation mark or question mark followed by whitespace. A line that starts after a line break without preceding punctuation, such as a heading or a list item, stays lowercase. A sentence that ends inside quotation marks is missed, because the closing quote sits between the full stop and the space, so the next sentence is not capitalised.

Abbreviations trigger a capital: e.g. this becomes E.g. This. The pronoun I is lowercased along with everything else and comes out as i. Proper nouns, acronyms and product names all lose their capitals. Sentence case is best used on short, plain text where you can scan the result in a few seconds.

Limits to know before you rely on it

  • Title Case and Sentence case lowercase everything first, so existing correct capitals in names and acronyms are lost.
  • Title Case treats apostrophes and accented letters as word boundaries, producing Don'T and éMile.
  • Sentence case does not capitalise a line that begins after a line break without a sentence-ending mark.
  • The result pane cannot be edited; change the text on the left, or copy the result out and edit it elsewhere.
  • No locale option: casing follows the Unicode default rules, which are wrong for Turkish dotted and dotless i.

Questions people ask about the Case Converter

Why did don't become Don'T in Title Case?

The regular expression capitalises the first word character after every boundary, and an apostrophe is not a word character, so the t after it is treated as the start of a new word. Fix contractions by hand, or convert to lower case and capitalise the few words you need manually.

Does Title Case follow a style guide?

No. It capitalises every word including articles, conjunctions and prepositions, and it capitalises both halves of a hyphenated word. Style guides such as AP and Chicago lowercase some short words, so adjust those by hand after conversion.

Will it keep my line breaks and paragraph spacing?

Yes. Only letters are changed. Spaces, tabs, line breaks, digits and punctuation stay exactly where they were, so lists, addresses and code comments keep their shape.

Can I undo a conversion?

You do not need to. The original stays in the left box and only the result pane changes, so pick another case or clear the box to start again. Every conversion starts from your original text rather than from the previous result, so choosing lower case and then UPPER CASE loses nothing.

Why did my text get longer after UPPER CASE?

Some characters have multi-letter uppercase forms under Unicode rules. The German sharp s, ß, becomes SS, so straße becomes STRASSE and gains a character. This is standard behaviour of String.toUpperCase, not a fault in the text.

Is the text I paste stored anywhere?

No. The text lives in the page's memory until you clear it or leave. Copy uses the browser clipboard API and Download TXT creates the file on your device through a temporary browser URL; neither sends anything to a server.

Sources and further reading