Toolman

Case Converter

Paste text and pick a case. Programming cases handle word boundaries properly, so myVariableName and my variable name both convert cleanly.

Naming conventions in code

CaseExampleWhere it is used
camelCaseuserAccountIdVariables and functions in JavaScript, Java, Swift, Kotlin
PascalCaseUserAccountIdClasses, types and React components
snake_caseuser_account_idPython, Ruby, Rust, SQL column names
CONSTANT_CASEUSER_ACCOUNT_IDConstants and environment variables
kebab-caseuser-account-idURLs, CSS classes, HTML attributes, npm package names
dot.caseuser.account.idConfig keys, i18n message paths, package namespaces

Title case is not just capitalising everything

In English title case, short words — articles (a, an, the), coordinating conjunctions (and, but, or) and short prepositions (in, on, of, to) — stay lowercase unless they are the first or last word. This tool applies that rule, so "the lord of the rings" becomes "The Lord of the Rings" rather than "The Lord Of The Rings".

Why case conversion is trickier than it looks

Uppercasing is language-dependent. In Turkish, the uppercase of i is İ, not I. German ß uppercases to SS, which changes the string length. This tool uses the browser's Unicode-aware case mapping, which handles accented characters and non-Latin scripts correctly.

Frequently asked questions

How do I convert a whole document without retyping it?

Paste it here, click the case you want and copy the result. There is no length limit beyond your browser’s memory, and the text is never uploaded.

Does it handle accented and non-Latin characters?

Yes. Conversion uses the browser’s built-in Unicode case mapping, so café becomes CAFÉ and Cyrillic, Greek and Turkish text convert correctly.

What is the difference between title case and sentence case?

Title case capitalises every significant word ("The Quick Brown Fox"). Sentence case capitalises only the first word of each sentence and proper nouns ("The quick brown fox").

Can it convert camelCase to snake_case?

Yes. Word boundaries are detected from case changes as well as spaces, underscores and hyphens, so userAccountId converts to user_account_id in one step.

Why would I need alternating or inverse case?

Mostly for memes and stylised social posts. Inverse case is also occasionally handy for fixing text typed with caps lock on by mistake.

Related tools