Twelve conversions, one specimen line
The fastest way to see what each button does is to run one sentence through all of them. Every cell below is real output from the tool on this page — the table is generated at build time by calling the same functions the buttons call, so it cannot drift out of step with the converter.
| Conversion | Output |
|---|---|
| UPPERCASE | SEARCH THE API LOG FILE |
| lowercase | search the api log file |
| Sentence case | Search the API log file |
| Title Case | Search the API Log File |
| aLtErNaTiNg | sEaRcH tHe ApI lOg FiLe |
| iNVERSE | SEARCH THE api LOG FILE |
| camelCase | searchTheApiLogFile |
| PascalCase | SearchTheApiLogFile |
| snake_case | search_the_api_log_file |
| SCREAMING_SNAKE | SEARCH_THE_API_LOG_FILE |
| kebab-case | search-the-api-log-file |
| dot.case | search.the.api.log.file |
Two of those deserve a note. Sentence case keeps API because the word
was already deliberately capitalised, and it re-capitalises the pronoun “I” and its contractions —
the one English word that always takes a capital wherever it lands. iNVERSE is not
the opposite of UPPERCASE; it swaps each letter individually, which is why a normally-typed sentence
comes back looking like a stuck Caps Lock.
Title Case is four different things
“Title Case” sounds like one rule. It is four, and they disagree in public. Every guide agrees on the uncontroversial part — capitalise nouns, verbs, adjectives, adverbs and pronouns, lowercase the articles a, an and the in the middle of a title. The fight is about prepositions, and it comes down to a single question:
Does a word get a capital because of how long it is, or because of what it does?
AP and APA answer “how long”. Four letters or more gets a capital, whatever the word class. That is why AP writes Gone With the Wind — “with” is four letters, so up it goes, while the three-letter “the” stays down.
Chicago and MLA answer “what it does”. A preposition is a minor word and stays lowercase. MLA applies that with no exceptions at all, at any length. Chicago used to as well — and then, in its 18th edition, it moved halfway to the other camp and began capitalising prepositions of five letters or more, which is the single most consequential change on this page.
The other difference is quieter and catches people out constantly: APA has no “capitalise the last word” rule. AP, Chicago and MLA all say the final word of a title takes a capital no matter what it is. APA’s published rule list simply does not contain that clause, so a title that ends on a short preposition ends on a lowercase letter.
The disagreement, measured
Eight headlines, chosen so that each one isolates a specific point of divergence. 5 of the eight produce more than one answer; 1 produces three different answers on its own. Every cell was produced by running the input through this site’s converter — nothing was typed by hand.
| Input & what it tests | AP | Chicago 18 | APA 7 | MLA 9 |
|---|---|---|---|---|
gone with the wind “with” is a four-letter preposition. The length guides capitalise it; the word-class guides do not. | Gone With the Wind | Gone with the Wind | Gone With the Wind | Gone with the Wind |
notes from the bridge between two worlds A four-letter preposition and a seven-letter one in the same line — the only sentence here that produces three different answers. | Notes From the Bridge Between Two Worlds | Notes from the Bridge Between Two Worlds | Notes From the Bridge Between Two Worlds | Notes from the Bridge between Two Worlds |
songs about people i have known “about” is five letters, so only MLA lowercases it. Also shows that the one-letter pronoun “I” is a major word everywhere. | Songs About People I Have Known | Songs About People I Have Known | Songs About People I Have Known | Songs about People I Have Known |
what are you waiting for The title ends on a three-letter preposition. Three guides have a “capitalise the last word” rule; APA does not. | What Are You Waiting For | What Are You Waiting For | What Are You Waiting for | What Are You Waiting For |
what it is like to be a bat Two-letter verbs (“is”, “be”) and a pronoun stay capitalised everywhere, while the four-letter preposition “like” splits the guides. | What It Is Like to Be a Bat | What It Is like to Be a Bat | What It Is Like to Be a Bat | What It Is like to Be a Bat |
remote work: the case for a four-day week A subtitle after a colon and a hyphenated compound. All four agree — a control line proving the table is not just noise. | Remote Work: The Case for a Four-Day Week | Remote Work: The Case for a Four-Day Week | Remote Work: The Case for a Four-Day Week | Remote Work: The Case for a Four-Day Week |
the man in the high castle A mid-title article and a two-letter preposition. Under three letters, every guide agrees. | The Man in the High Castle | The Man in the High Castle | The Man in the High Castle | The Man in the High Castle |
a step-by-step guide to backing up your laptop A hyphenated compound whose middle element is a preposition, plus the phrasal verb “backing up”. ⚠ Every guide would print “Backing Up”, because “up” is the adverbial particle of a phrasal verb, not a preposition. No converter can tell the two apart without parsing the sentence, so CaseConv prints “up” and flags it. Fix it by hand. | A Step-by-Step Guide to Backing up Your Laptop | A Step-by-Step Guide to Backing up Your Laptop | A Step-by-Step Guide to Backing up Your Laptop | A Step-by-Step Guide to Backing up Your Laptop |
Read the fourth line carefully. What Are You Waiting For under AP, Chicago and MLA; What Are You Waiting for under APA. Nothing is broken — that lowercase “for” is what APA’s rule list produces, because the rule that would have rescued it does not exist in APA.
What Chicago’s 18th edition changed
The 18th edition, published in 2024, kept the word-class approach but added a length floor: prepositions of five letters or more now take a capital. Most title case tools still ship the 17th edition behaviour. Run the same eight headlines through both and only 2 change — but they change in the direction most editors will notice first.
| Input | CMOS 17 preposition rule | CMOS 18 (current) |
|---|---|---|
notes from the bridge between two worlds | Notes from the Bridge between Two Worlds | Notes from the Bridge Between Two Worlds |
songs about people i have known | Songs about People I Have Known | Songs About People I Have Known |
If you are working to a house style that has not been rewritten since 2024, tick Use the superseded CMOS 17 preposition rule under the Chicago button and the converter reverts to lowercasing every preposition regardless of length. It is scoped to that one rule, which is why the label names the rule and not the edition.
The four rule sets, stated plainly
| Guide | Decides by | Preposition rule | Last word | Published in |
|---|---|---|---|---|
| AP | length | Capitalise prepositions and conjunctions of four letters or more. | Always capitalised | AP Stylebook, “composition titles” entry (wording of the 54th ed., 2019, onward); read from archived copies of the entry, never from a live subscription |
| Chicago 18 | word class | Lowercase prepositions of four letters or fewer, except when used adverbially or adjectivally; capitalise prepositions of five letters or more. | Always capitalised | CMOS 18th ed. §8.160 — the section text is paywalled; encoded from the publisher’s own online guidance (Chicago Manual of Style Online Q&A, “Capitalization, Titles”) and the most consistent secondary reproductions |
| APA 7 | length | Capitalise every word of four letters or more, prepositions included. | No special rule | APA Style, “Title case capitalization”, apastyle.apa.org — the publisher’s own free guidance page, read directly |
| MLA 9 | word class | Lowercase every preposition regardless of length. | Always capitalised | MLA Handbook 9th ed. §2.90 — the section text is paywalled; encoded from the publisher’s own online guidance and the most consistent secondary reproductions |
What no converter can decide for you
Some of these rules turn on grammar, and grammar needs a parser that spelling alone cannot stand in for. Guessing here would be quietly wrong, so CaseConv applies the conservative reading and tells you which words it was unsure about — the amber “Judgment calls” panel appears under the style-guide buttons whenever the output contains one. Here is the complete list of what it will not decide:
- Is "up" in “Backing Up Your Laptop” a preposition or the adverbial particle of a phrasal verb? All four guides capitalise an adverbial particle. Deciding which one it is needs a parser, so CaseConv applies the preposition reading (lowercase) and flags the word under “Judgment calls” for you to fix.
- Does AP capitalise “to” when it marks an infinitive — “How To Win” or “How to Win”? It does, and this one is not in dispute: AP’s composition-titles entry explicitly capitalises “to” in infinitives — “What I Want To Be When I Grow Up.” Telling an infinitive marker from a preposition still needs a parser, so CaseConv lowercases mid-title “to” under every guide and flags it for you to fix. Chicago and MLA lowercase it either way.
- Does Chicago lowercase “so” and “yet”? Chicago’s rule names exactly five coordinating conjunctions — and, but, for, or, nor — and “so” and “yet” are not among them, so CaseConv capitalises them under Chicago. MLA names all seven FANBOYS, so MLA lowercases them. Secondary summaries of Chicago disagree with each other here; we follow the wording the manual’s publisher and the most consistent secondary reproductions give, and flag both words whichever guide you pick.
- Does AP capitalise the first word of a subtitle after a colon? AP publishes no rule for subtitles inside a composition title, so there is no AP text to follow. APA, Chicago and MLA all capitalise it, and AP’s own published copy does the same, so CaseConv extends that shared behaviour to AP and invents no AP-specific exception.
The clearest case is the last headline in the comparison table. “Backing up your laptop” contains a phrasal verb, and in every one of the four guides the particle of a phrasal verb is capitalised — the correct output is Backing Up Your Laptop. But “up” is also an ordinary preposition, and the two are spelled identically. The converter prints the preposition reading, flags the word, and leaves the last five per cent to you. Any tool that silently picks one is guessing on your behalf.
The six programmer cases
The bottom row of buttons rewrites text as an identifier. All six start the same way: the input is
broken into words — on spaces, on punctuation, and on the internal capitals of an existing
identifier, so getUserName and get user name both yield the same three
words — and then rejoined with a different separator and capitalisation.
| Case | Output |
|---|---|
| camelCase | getUserIdFromApiResponse |
| PascalCase | GetUserIdFromApiResponse |
| snake_case | get_user_id_from_api_response |
| SCREAMING_SNAKE | GET_USER_ID_FROM_API_RESPONSE |
| kebab-case | get-user-id-from-api-response |
| dot.case | get.user.id.from.api.response |
Folding ID to Id is deliberate and it follows the Google Java Style Guide,
which spells the procedure out: divide the phrase into words, “lowercase everything (including
acronyms), then uppercase only the first character” of each word. The guide’s own examples are
XmlHttpRequest and newCustomerId; the capital runs of
XMLHTTPRequest and newCustomerID are exactly what it drops. The payoff is
that the boundary between words never disappears into a run of capitals.
One known limit follows from the same rule: a word that legitimately contains an internal capital —
IPv6, iOS — is split at that capital, because nothing distinguishes it
from a real word boundary without a dictionary. Type them lowercase (ipv6) and they
survive intact.
Which convention belongs where
Picking the right case is not taste; in most ecosystems it is written down, and linters enforce it. The last column says how much weight each row carries: spec means a first-party specification, style guide or documentation page states the rule, and convention means near-universal practice that no first-party document actually mandates. 3 of the 17 rows are convention, and the last column says so on every one of them.
| Where | What | Convention | Stated in | Basis |
|---|---|---|---|---|
| Python | functions, variables, modules | snake_case | PEP 8, “Naming Conventions” | spec |
| Python | classes | PascalCase (PEP 8 calls it CapWords) | PEP 8, “Naming Conventions” | spec |
| Python | module-level constants | SCREAMING_SNAKE | PEP 8, “Constants” | spec |
| Java | methods and non-constant fields | camelCase | Google Java Style Guide §5.2 | spec |
| Java | classes | PascalCase | Google Java Style Guide §5.2 | spec |
| Java | constants | SCREAMING_SNAKE | Google Java Style Guide §5.2 | spec |
| Go | everything — exported vs unexported is the initial capital | PascalCase / camelCase, never underscores | Effective Go, “MixedCaps” | spec |
| Rust | functions, variables, modules | snake_case | Rust API Guidelines / RFC 430 | spec |
| Rust | types, traits, enum variants | PascalCase (UpperCamelCase) | Rust API Guidelines / RFC 430 | spec |
| C# | methods, properties, types | PascalCase | .NET naming guidelines, Microsoft Learn | spec |
| C# | parameters and local variables | camelCase | .NET naming guidelines, Microsoft Learn | spec |
| CSS | custom properties and class names | kebab-case | No spec: CSS mandates only the leading “--” on a custom property (<dashed-ident>) and is case-sensitive; kebab-case is near-universal practice | convention |
| HTML | data-* attributes | kebab-case (exposed to JS as camelCase via dataset) | HTML Living Standard, “dataset” | spec |
| URLs | path slugs | kebab-case | Google Search Central: use hyphens, not underscores, in URLs | spec |
| Shell / CI | environment variables | SCREAMING_SNAKE | POSIX reserves all-uppercase names for the standard’s own variables and suggests lowercase for application-private ones; SCREAMING_SNAKE for project config is practice | convention |
| Kubernetes | object names | kebab-case (RFC 1123 label: lowercase, digits, hyphen) | Kubernetes docs, “Object Names and IDs” | spec |
| Java properties / logging | config keys and logger names | dot.case | java.util.logging documents dot-separated hierarchical logger names; java.util.Properties documents no key convention, so config keys are practice | convention |
Where case conversion changes the character count
Uppercasing is usually a one-for-one swap, so the character count holds steady. Usually. A handful of lowercase characters have no single-character capital, and uppercasing them makes the string longer — which matters the moment you are working to a field limit, a meta description budget or a database column width.
The German sharp s is the one you will actually hit. Uppercasing ß produces
SS: two characters where there was one. Here is the measurement, taken by running the
string through this page’s own counter:
| Stage | Text | Characters |
|---|---|---|
| Before | Die Straße war groß. Der Fußball war weiß. | 42 |
| After UPPERCASE | DIE STRASSE WAR GROSS. DER FUSSBALL WAR WEISS. | 46 |
| Change | four ß, each becoming SS | +4 |
The expansion is also a one-way door. Lowercasing STRASSE gives back
strasse, not straße — the information was destroyed, not hidden. Unicode
does define a capital sharp s, ẞ, and lowercasing that one does return
ß; but the default uppercase mapping produces SS, which is what browsers and this tool
do. Typographic ligatures behave identically: fi is a single character that uppercases
to the two characters FI.
The Turkish dotted and dotless i
Turkish and Azeri treat i and ı as different letters, and their capitals are
İ and I respectively. That makes uppercasing locale-dependent: the same lowercase
istanbul becomes ISTANBUL under English rules and İSTANBUL
under Turkish rules. Going the other way, IZMIR lowercases to izmir in
English and ızmır in Turkish.
Neither is a bug; each is correct for its language. The Turkish i rules checkbox switches the tool between them. If you have ever seen a Turkish login break because a username was upper-cased on one server and lower-cased on another, this is the reason.
Three mistakes worth avoiding
1. Typing in caps instead of styling in caps
If you want a heading to look uppercase on a web page, use CSS
text-transform: uppercase and leave the text itself alone. Converted text is read out
letter-by-letter by some screen readers, breaks search matching, and cannot be un-shouted later.
Convert when the stored value must change; style when only the appearance must.
2. Round-tripping to “fix” a mistake
Converting to lowercase and back to Title Case does not recover the original — proper nouns, acronyms and brand casing are gone the moment you fold them down. Use Undo, which restores the exact text from before the conversion, rather than a second conversion.
3. Mixing two title case guides in one document
A reader will not notice that you followed Chicago. A reader will absolutely notice that heading two says Notes From the Bridge and heading five says Notes from the Bridge. Pick a guide, run every heading through it in one paste, and the inconsistency cannot survive.
Every converter on this site
- Title case converter — the four style guides, with the rule differences laid out.
- Uppercase converter — including what expands and what cannot be reversed.
- Lowercase converter — for normalising shouted text and stray Caps Lock.
- Sentence case converter — sentence boundaries, the pronoun “I”, and acronyms.
- Alternating case converter — aLtErNaTiNg and iNVERSE, and why the rhythm skips spaces.
- Camel case converter — camelCase, PascalCase, snake_case, SCREAMING_SNAKE, kebab-case and dot.case for developers.