Capitalize Text Converter (Title Case)
Transform your text to Title Case where each word begins with a capital letter. Our capitalize text converter is perfect for headlines, book titles, proper names, and any text requiring professional capitalization.
Title Case Capitalization Rules
| Rule | Example | Notes | First word"The quick fox"Always capitalize Nouns"Dogs and Cats"Always capitalize Verbs"Run and Jump"Always capitalize Adjectives"Big Blue Sky"Always capitalize Articles"A Day in the Life"Often lowercase Prepositions"Out of Time"Short ones lowercase | Conjunctions | "And, But, Or" | Often lowercase |
Different Title Case Styles
``javascript
function capitalizeText(text, style = 'simple') {
const lowercaseWords = ['a', 'an', 'the', 'and', 'but', 'or', 'for', 'nor',
'on', 'at', 'to', 'by', 'in', 'of'];
if (style === 'simple') {
// Simple: capitalize every word
return text.replace(/\b\w/g, char => char.toUpperCase());
}
if (style === 'ap') {
// AP Style: lowercase articles/prepositions except first/last word
return text.split(' ').map((word, index, arr) => {
if (index === 0 || index === arr.length - 1) {
return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
}
if (lowercaseWords.includes(word.toLowerCase())) {
return word.toLowerCase();
}
return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
}).join(' ');
}
return text;
}
console.log(capitalizeText("the lord of the rings", "ap"));
// Output: "The Lord of the Rings"
``
When to Use Title Case
Title case is appropriate for book titles, article headlines, movie names, song titles, and formal headings. For academic papers, check your style guide—APA, MLA, and Chicago have different capitalization rules. Email subject lines and presentation titles also benefit from title case for a professional appearance.
Headline Capitalization Tools
Our simple capitalizer capitalizes every word, which works for most informal uses. For publishing, consider AP style (lowercase short prepositions) or Chicago style (capitalize prepositions of 5+ letters). The key is consistency within your document or publication.