“five rules for cleaner documentation” — Uppercase, Lowercase, Title Case and Sentence Case
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
| Form | Result | Typical use |
|---|---|---|
| UPPERCASE | FIVE RULES FOR CLEANER DOCUMENTATION | Loud labels, ticker codes, shouting about a deadline |
| lowercase | five rules for cleaner documentation | Email addresses, URL slugs, file names |
| Title Case | Five Rules For Cleaner Documentation | Headlines, button labels, menu items |
| Sentence case | Five rules for cleaner documentation | Body copy, descriptions, help text |
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.
Before any conversion runs, the string measures 36 characters and 5 words; the letter-to-punctuation split is 32 to 4, and the vowels number 14, or 44% of the letters. The longest token, “documentation”, carries 13 characters against 3 in “for”, against an average of 6.4. Entry 41 of 76, it produces 5 capitals in Title Case — 16% of its letters.
Similar strings
Frequently asked questions
What does each of the four results mean?
They are four separate passes over the same 36-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?
For a headline or a section title, Title Case is the conventional choice in English web copy, with the caveat that style guides keep short articles and prepositions lowercase. Sentence case reads more naturally in product interfaces and is what most design systems now ask for.
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.