Skip to content
🔡

First Caps Generator

Capitalize the first letter of every word in your text. Also known as title case.

Runs in your browser

Updated

The rule behind each letter

One textarea in, one read only textarea out, and the conversion runs as you type with the Convert button as a manual trigger. It works on tokens rather than dictionary words: every run beginning with a character in the range 0 to 9, A to Z, a to z or underscore, and continuing with non space characters, has its first character uppercased and the rest lowercased. Spaces and line breaks survive untouched.

A worked example

Pasting the quick BROWN fox produces The Quick Brown Fox. A second sample shows the trade off: HTML5 and CSS3 on iPhone comes back as Html5 And Css3 On Iphone, because folding the tail of each token is not optional. Leading digits are unchanged since capitalising a digit returns the digit, so 2 apples becomes 2 Apples.

Tokens, punctuation and accents

An apostrophe or hyphen inside a token belongs to that token, so a name written O-Brien keeps its shape while the tail folds down. Underscore is a word character too, which is why snake_case yields Snake_case. Because the class is ASCII only, a word opening with an accented letter is capitalised at the next position instead: école prints éCole.

Where it stops

  • Acronyms and camel case names lose their internal capitals, so brand marks need repairing afterwards.
  • Short words such as of, the and a are capitalized too, which is not the convention most house styles call title case.
  • Non Latin scripts pass through, including Greek, Cyrillic and Chinese.
  • Copy Result needs clipboard permission and reads Copied in its label for one and a half seconds.
  • Nothing counts characters or lines, and there is no undo beyond your own selection.

Questions people ask

How does this differ from title case

It is the capitalise-the-first-letter behaviour, without the small word exceptions style guides usually add.

Can it keep existing capitals intact

No. The lowercase pass always runs, so paste first and fix the handful of acronyms by hand.

Which tool covers other casings

Case Converter handles upper, lower and sentence modes, and Small Caps builds the decorative variant.