Text Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case and more, instantly and entirely client-side.
When to use each case
Seven conventions cover almost everything you'll touch as a developer.
How auto-detection works
The converter parses any input format into a sequence of words, then re-formats them into every target case. It splits on spaces, underscores, hyphens, dots, slashes, and colons.
For camelCase and PascalCase input, it inserts a split point before each uppercase letter following a lowercase one (e.g. "myVariableName" → ["my", "variable", "name"]) and handles acronyms (e.g. "parseHTMLString" splits into "parse", "html", "string" — each case then re-applies its own capitalization). Mixed inputs like "my-Variable_name" are fully supported.
Case conventions by language
The same case can carry different meaning depending on the ecosystem.
Frequently asked questions
Every word is lowercased during splitting, then only its first letter is capitalized when rebuilding a case that needs it, so parseHTMLString correctly splits before and after the acronym but rejoins as ParseHtmlString, not ParseHTMLString. The split point is right, the original all-caps styling of the acronym itself isn't carried through to camelCase, PascalCase, or Title Case output.