Skip to main content

Case Converter — Title, Sentence, camelCase & More

Paste text once and switch between nine cases with a click. Prose cases (Title, Sentence, UPPER, lower, aLtErNaTiNg) keep your punctuation and spacing — Title Case alone also unpacks camelCase and snake_case identifiers into words — while identifier cases (snake_case, kebab-case, camelCase, PascalCase) re-tokenize the words the way code expects, including splitting existing camelCase apart.

Result

The converted text appears here.

Put the headline on a design in Moda

Drop your freshly title-cased headline into a social post, slide, or banner and style it properly.

Try Moda free →

Why Title Case keeps "of" lowercase

Title Case is not "capitalize every word" — style guides lowercase short function words: articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, so, yet), and short prepositions (of, in, on, to, at, by, via, and similar). This converter follows that convention, with the two universal exceptions: the first and last words of a title are always capitalized, whatever they are. So "the lord of the rings" becomes "The Lord of the Rings", not "The Lord Of The Rings". Style guides differ at the margins — AP capitalizes prepositions of four letters or more, Chicago lowercases them by length differently — so spot-check against the guide your publication uses.

How words are found for snake, kebab, camel, and Pascal

Identifier cases first split your text into words, and the splitter understands more than spaces: punctuation, underscores, and hyphens all separate words, and existing camelCase boundaries are detected too — "parseJSONResponse" splits into parse, JSON, Response (acronym runs stay together until a lowercase letter follows). That means you can convert between identifier styles directly: paste kebab-case and click camelCase, or paste PascalCase and get snake_case, without detouring through plain words.

Sentence case works per sentence, not per line

Sentence case lowercases everything and then capitalizes the first letter of the text, of each new line, and of each sentence following a period, question mark, exclamation point, or ellipsis. One honest limitation: it cannot know which lowercased words were proper nouns, so "visit paris in april" stays lowercase after conversion. Re-capitalize names by hand afterwards.

Frequently asked questions

What is the difference between camelCase and PascalCase?

Both remove separators and capitalize word boundaries; camelCase starts with a lowercase letter (userName) and PascalCase with an uppercase one (UserName). Convention in most languages: camelCase for variables and functions, PascalCase for classes and types.

Can I convert camelCase back into normal words?

Yes — paste the identifier and pick Title Case, the one prose case that splits identifiers: camelCase and snake_case tokens become words, so "annualReportDraft" title-cased becomes "Annual Report Draft". Words with deliberate internal capitals ("JavaScript", "iPhone") and hyphenated text stay whole, and the other prose cases transform your text strictly in place.

Which small words stay lowercase in Title Case?

Articles, coordinating conjunctions, and short prepositions: a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, off, on, per, to, up, via — unless they are the first or last word, which are always capitalized.

What happens to numbers and punctuation?

Prose cases leave them untouched. Identifier cases treat punctuation as a word separator and drop it, while numbers survive attached to their words — "Version 2.0 beta" in snake_case is "version_2_0_beta".

Does aLtErNaTiNg case skip spaces?

It alternates on letters only, starting lowercase, and skips spaces, digits, and punctuation without resetting — so the pattern stays strict across word boundaries.

Related tools

← All tools