Title Case Converter — Convert Text to Title Case Online
Title case capitalizes the first letter of most words in a title. Different style guides have different rules for which words to capitalize. Here's how to convert text to title...
Title case capitalizes the first letter of major words in a title. “the quick brown fox” becomes “The Quick Brown Fox” — but the rules about which words get capitalized vary by style guide.
Use the Case Converter to convert text to title case, sentence case, uppercase, lowercase, and other formats.
Title case rules by style guide
Different style guides capitalize different words. The main ones:
AP Style (Associated Press)
Capitalize: all words except articles, prepositions, and coordinating conjunctions.
- Capitalize: verbs, nouns, adjectives, adverbs
- Lowercase:
a,an,the(articles) - Lowercase:
at,by,for,in,of,off,on,to,up(short prepositions) - Lowercase:
and,but,or,nor,for,so,yet(coordinating conjunctions)
Exception: Always capitalize the first and last word regardless of type.
"A Tale of Two Cities" ✓ (A capitalized — first word)
"And Then There Were None" ✓ (And capitalized — first word)
"The Lord of the Rings" ✓
"Up and Away" ✓ (Up capitalized — first word)
APA Style (American Psychological Association)
Capitalize all “major words” (4+ letters typically). Lowercase “minor words” (articles, short prepositions, short conjunctions) unless they’re the first word.
More aggressive than AP — capitalizes more words because of the 4-letter rule:
"On the Nature of Consciousness" (AP)
"On the Nature of Consciousness" (APA — same here)
"Into the Wild" (AP: lowercase "the")
"Into the Wild" (APA — same)
Chicago Style
Most commonly used for books and publishing. Rules are similar to AP but more detailed about specific prepositions and conjunctions.
Lowercase: articles, prepositions (regardless of length), coordinating conjunctions, to in infinitives.
"Getting Things Done: The Art of Stress-Free Productivity" ✓
"The Elements of Style" ✓
MLA Style (Modern Language Association)
Capitalize the first and last word, and all words except articles, prepositions, and coordinating conjunctions.
What all styles agree on
Despite the differences, all major style guides agree on:
- Always capitalize the first word regardless of part of speech
- Always capitalize the last word regardless of part of speech
- Capitalize proper nouns (
Paris,JavaScript,Amazon) even when they’d normally be lowercase by the rules - Capitalize after a colon or dash (the first word of a subtitle)
Sentence case vs title case
These are the two most common capitalization modes:
Title case: Most words capitalized
"The Quick Brown Fox Jumps Over the Lazy Dog"
Sentence case: Only the first word and proper nouns capitalized
"The quick brown fox jumps over the lazy dog"
Blog posts and article titles differ by publication: some use title case (traditional news/journalism), some use sentence case (more modern/conversational).
SEO-wise, neither has an advantage. Consistency matters more than the choice.
Title case in code
// Simple title case (capitalizes every word):
function simpleTitle(str) {
return str.toLowerCase().replace(/\b\w/g, c => c.toUpperCase());
}
// AP-style (lowercase minor words):
const minor = new Set(['a','an','the','and','but','or','nor','for','so','yet','at','by','for','in','of','off','on','to','up']);
function apTitle(str) {
const words = str.toLowerCase().split(' ');
return words.map((word, i) => {
if (i === 0 || i === words.length - 1) {
return word.charAt(0).toUpperCase() + word.slice(1);
}
return minor.has(word) ? word : word.charAt(0).toUpperCase() + word.slice(1);
}).join(' ');
}
console.log(apTitle('the art of war'));
// "The Art of War"
console.log(apTitle('into the wild'));
// "Into the Wild"
# Python — basic (capitalizes every word):
text = "the quick brown fox"
title = text.title() # "The Quick Brown Fox"
# title() has edge cases: it capitalizes after apostrophes
"it's alive".title() # "It'S Alive" — wrong!
# Better approach:
import re
def title_case(text):
return re.sub(r"[A-Za-z]+('[A-Za-z]+)?", lambda m: m.group(0).capitalize(), text)
print(title_case("it's alive")) # "It's Alive"
Title case for blog posts and SEO
Use title case for:
- Blog post headlines
- H1 and H2 headings (in publications that follow title case)
- Article titles in metadata
Use sentence case for:
- Conversational content (many modern blogs and developer docs)
- Product copy that aims for a casual tone
- Navigation labels (most style guides recommend sentence case)
For meta title tags: use the same case as your article’s H1. Google may rewrite your title in SERPs anyway, but consistent title + meta title improves click-through rate.
Case types supported by the converter
The Case Converter handles:
- Title Case — smart title case following common rules
- UPPER CASE — all letters uppercase
- lower case — all letters lowercase
- Sentence case — first letter of each sentence capitalized
- camelCase — no spaces, each word capitalized except first
- PascalCase — no spaces, each word capitalized
- snake_case — lowercase with underscores
- kebab-case — lowercase with hyphens
Related tools
- Case Converter — convert between all case formats
- Uppercase Converter — uppercase and lowercase explained
- Word Counter — count words in your converted text
Related posts
- camelCase — What It Is and Where to Use It in Programming — camelCase capitalizes the first letter of each word except the first: helloWorld…
- camelCase vs snake_case — Which Naming Convention to Use and When — camelCase and snake_case are the two dominant naming conventions in programming.…
- Kebab Case — What It Is and Where to Use kebab-case — Kebab case uses hyphens between lowercase words: hello-world, user-first-name. I…
- Uppercase and Lowercase Converter — When to Use Each Case — Uppercase converter, lowercase converter, title case, sentence case — each has a…
- Word Count Checker — Count Words in Any Text Instantly — A word count checker counts words, characters, sentences, and paragraphs in real…
Related tool
Convert text between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_CASE, Title Case, sentence case, and more. Bulk mode.
Written by Mian Ali Khalid. Part of the Dev Productivity pillar.