Capitalisation is more than aesthetics — in writing it follows style guides, and in code it signals what a name represents. This converter handles both worlds: editorial cases like Title and Sentence case, and identifier cases like camelCase and snake_case. Here is how each one is built and where it belongs.
Editorial cases: Title vs. Sentence
Title Case capitalises the major words in a heading while leaving short articles, conjunctions, and prepositions lowercase — that is why “The Lord of the Rings” keeps “of” and “the” small. Our Smart Title Case option follows this rule and still capitalises a small word when it falls first or last. Turn the option off for a simpler style that capitalises every word. Sentence case, by contrast, mirrors ordinary prose: lowercase everything, then capitalise the first letter of each sentence. Use Title Case for headlines and Sentence case for body copy, captions, and UI labels — many modern style guides now prefer Sentence case for buttons and menu items.
Identifier cases: naming things in code
Programming languages encode meaning in capitalisation. JavaScript and Java use camelCase for variables and functions and PascalCase for classes and types; Python and SQL favour snake_case for variables and columns; CSS, URLs, and npm packages use kebab-case; and constants across many languages use CONSTANT_CASE. The converter tokenises your text by splitting on spaces, hyphens, underscores, periods, and the boundary between a lowercase and an uppercase letter — so it can re-case an existing identifier (e.g. turn alreadyCamelCased into already_camel_cased) just as easily as a plain phrase. Matching your project's convention keeps linters quiet and code reviews short.
Counts, edge cases, and Unicode
The Counts & Stats tab gives live word, character, sentence, line, and paragraph totals plus a 200-words-per-minute reading estimate — useful for tweets, meta descriptions, SMS, and essay limits. Conversions are locale-aware, so accented and non-Latin letters change case correctly, and existing acronyms such as HTML or NASA survive a trip through Title Case. Everything runs locally in your browser; your text is never sent to a server, which makes the tool safe for sensitive copy and code.