Worked example
Take the headline “a guide to living with less: how to declutter your home in one weekend”. In AP style it becomes “A Guide to Living With Less: How to Declutter Your Home in One Weekend”: the colon starts a new phrase, “How” gets a capital, and short words like “to” and “in” stay lower case. In Chicago style it becomes “A Guide to Living with Less: How to Declutter Your Home in One Weekend”: “with” stays lower case because Chicago lower-cases every preposition, while AP capitalizes any word of four letters or more. The same split gives “Walk Through the Park With Friends” in AP and “Walk through the Park with Friends” in Chicago.
Every case at a glance
| Case | Example |
|---|---|
| Sentence case | The quick brown fox jumps. It lands safely. |
| camelCase | monthlySalesTotal |
| PascalCase | MonthlySalesTotal |
| snake_case | monthly_sales_total |
| kebab-case | monthly-sales-total |
| CONSTANT_CASE | MONTHLY_SALES_TOTAL |
| aLtErNaTiNg | nO wAy ThAt HaPpEnEd |
Title case rules we follow
- Always capitalized: the first and last word, and the first word after a colon.
- Always lower case (unless first or last): a, an, the, and, but, or, nor, for.
- AP: prepositions and conjunctions of three letters or fewer stay lower case (at, by, in, of, off, on, out, per, to, up, via, so, yet).
- Chicago: every preposition stays lower case, including about, between, through, under and with, plus “to” and “as”.
- Hyphenated words: each part is treated as a word, so “Run-of-the-Mill”.
Different publications have house rules on top of these, and words like “up” can be part of a verb (“Set Up”), where most editors capitalize them. Read the result before you publish it.
When each case is useful
Use title case for headlines, book and film titles and headings in American English; sentence case for headings in British and most online writing, and for fixing text typed with caps lock on; upper case sparingly, for short labels and acronyms. The programming cases turn ordinary words into names for variables, files and web addresses: kebab-case is the norm in URLs, snake_case in Python and databases, camelCase in JavaScript.
Cleaning up text pasted from elsewhere
Text copied from PDFs, spreadsheets and old systems often arrives in capitals or with every word capitalized. Convert it to sentence case first, then fix names, places, brands and acronyms by hand: the converter keeps a capital only at the start of sentences and on “I”, so “paris”, “nasa” and “mcdonald” need correcting. For lists of names, title case is a quicker start. Line breaks are kept, so you can paste a whole list and convert it in one go.
Related tools
- Fancy text generator
- Text compare (diff checker)
- Word and character counter
- Citation generator
- Compare two PDFs
Sources
Checked on November 26, 2026:
- The Associated Press Stylebook: composition titles and headlines
- The Chicago Manual of Style, 17th ed., 8.159: principles of headline-style capitalization
- The Unicode Standard, ch. 3.13: default case algorithms
Frequently asked questions
What is the difference between AP and Chicago title case?
What is sentence case?
Does it keep names like iPhone or NASA?
What are camelCase, snake_case and kebab-case?
Does it work with other languages?
Is my text saved?
Last updated: 2026-11-26