Paste in any text and get every case style — camelCase, snake_case, kebab-case, proper title case with your choice of style guide, URL slugs, and more — all at once.
I built this because every text-case converter I found online does two or three formats and calls it done. Most of the time I’m switching between a slug for a URL, a constant for some JavaScript, and a title for a blog post — all in the same session. Having to visit three tools for that was annoying, so I made one that does all sixteen formats at once.
The part that actually required some thought was title case. Most tools just capitalise the first letter of every word. That’s fine for informal writing, but if you’re formatting a headline for publication you probably have a style guide to follow. AP, Chicago, APA, MLA, and the New York Times all have specific, conflicting rules about which words stay lowercase — and they handle prepositions, conjunctions, and hyphenated words differently. I’ve implemented all of them properly, including edge cases like preserving ALL-CAPS acronyms (so “BBC” doesn’t become “Bbc”) and words with internal capitals like “iPhone” or “macOS”.
The slug converter is also slightly smarter than average: it strips diacritics properly using Unicode normalisation (so “café résumé” becomes “cafe-resume”), and when you set a max length it truncates at the nearest word boundary rather than mid-word.
Title case is more complicated than it looks because the major style guides disagree with each other. Here’s a quick reference for what each option does:
The standard for journalism and press releases. Lowercase: a, an, and, as, at, but, by, for, in, nor, of, on, or, so, the, to, up, yet — unless they’re the first or last word. Any word of four or more letters is always capitalised.
Common in book publishing and academic writing. Lowercase all articles, all prepositions regardless of length (so “without” and “between” stay lowercase), and coordinating conjunctions.
Used in psychology and social sciences. Capitalise any word of four or more letters, including longer prepositions and conjunctions.
Like Chicago, but capitalises both parts of hyphenated words — “Well-Known” rather than “Well-known”.
Like AP, but also capitalises short verbs like “Is,” “Be,” “Are,” “Was,” and “Were.”
Wikipedia’s house style for article titles is sentence case — only the first word and proper nouns capitalised. Selecting this applies sentence case.
Capitalises every word regardless of what it is. Good for display headings.
Everything runs entirely in your browser. The text you type is never sent anywhere — there’s no server involved, no analytics on what you put in, and nothing stored anywhere except your preferences (style guide choice, slug settings, toggles) which are kept locally via localStorage.