Text Tools · 5 min read · Updated 2026-11-20
AP Style Title Case & Clean Diacritic-Free URL Slugs Explained
Consistent headline casing and readable URL slugs improve scannability across editorial pages, APIs, and multilingual websites.
1. AP Style Title Case Rules in Practice
Associated Press (AP) Title Case capitalizes the first word, the last word, every word with four or more letters, and all principal words (nouns, pronouns, verbs, adjectives, adverbs, and subordinating conjunctions).
Short articles (a, an, the), coordinating conjunctions (and, but, for, nor, or, so, yet), and prepositions of three letters or fewer remain lowercase unless they begin or end the headline or follow a colon.
Example: "How to Build a Fast Tool for Text and Data" -> AP Title Case keeps "to", "a", "for", "and" lowercase.2. Stripping Diacritics & Handling đ / Đ for Clean Slugs
Unicode NFD decomposition separates base Latin letters from combining diacritics, allowing regex removal of [\u0300-\u036f]. Because Vietnamese "đ" and "Đ" are distinct precomposed letters rather than base "d" plus combining mark, they must be explicitly mapped before collapsing separators into hyphens.
Try the Interactive Browser Tool
Convert text across AP Style Title Case, sentence case, camel/snake/kebab cases, and strip Vietnamese diacritics.
Related Guides & Utilities
Word, Character & SEO Counter
How Word, Grapheme & SEO Character Counting Works in Modern Browsers
URL Encoder / Decoder & Query Parser
encodeURI vs. encodeURIComponent vs. Form + Encoding & Query Parsing
Reading & Speaking Time Calculator
How Reading Speed (WPM) & Speaking Pace Shape Article and Script Length