caselabnow

“first read the docs. second write tests.” — Uppercase, Lowercase, Title Case and Sentence Case

7 words · 40 characters · four conversions, no sign-up

Enter this string in the converter and these are the four outputs it returns. Nothing here is stored or guessed: the same regular expressions that run in your browser were run at build time, so the page and the tool agree character for character.

Where each form belongs

FormResultTypical use
UPPERCASEFIRST READ THE DOCS. SECOND WRITE TESTS.Loud labels, ticker codes, shouting about a deadline
lowercasefirst read the docs. second write tests.Email addresses, URL slugs, file names
Title CaseFirst Read The Docs. Second Write Tests.Headlines, button labels, menu items
Sentence caseFirst read the docs. Second write tests.Body copy, descriptions, help text
Characters407 words
Letters32rest is punctuation or digits
Capitals in Title Case7one per word

How the rules behave on this string

Every conversion starts from the same tidy-up: runs of spaces collapse to one and the ends are trimmed, while line breaks are preserved. Uppercase and lowercase then apply directly. Sentence case lowercases everything and re-capitalises the first letter after a full stop, question mark, exclamation mark or line break. Title case lowercases everything and re-capitalises the letter that follows the start of a line, a space, a quote, a bracket or an apostrophe.

Title Case here is a blanket rule: every word gets a capital, including the short ones. Writers who follow AP or Chicago style would leave of, the and and lowercase in a headline, so the Title Case line above is a starting point rather than a finished house style.

Counted rather than eyeballed, the string runs 40 characters across 7 words, of which 32 are letters and 8 are punctuation, digits or spaces. Average word length works out to 4.6 letters, the longest word is “second” at 6 characters and the shortest is “the” at 3. Title Case puts in 7 capitals, 22% of the letter count. This is entry 45 of 76 in the reference.

Similar strings

Frequently asked questions

What does each of the four results mean?
They are four separate passes over the same 40-character string. UPPERCASE and lowercase are the obvious ones. Title Case capitalises the first letter of every word, and Sentence case capitalises only the first letter of each sentence while forcing everything else down. The converter on the homepage builds them with the identical rules.

Which one should I paste into my document?
Body text should stay in Sentence case: capital at the start of each sentence, lowercase everywhere else. That is the form that survives editing and screen readers alike, and it is the one this page puts in the fourth field.

Converting a whole paragraph, a JSON key list or a batch of headlines? The CaseLabNow case converter takes free text up to several thousand characters, and the case reference library has a page for every string listed here.