About this tool
This tool is for developers who need to rename a variable, function or file between naming conventions — converting a database column's snake_case name to a JavaScript camelCase variable, or a component's PascalCase name to a kebab-case URL slug, without doing it by hand.
How to use it
- Type or paste a variable name, function name or phrase into the box.
- See it instantly converted into camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and Title Case.
- Click "Copy" next to the style you need.
Frequently asked questions
How does it split words in something like "myVariableName"?
It detects word boundaries from camelCase and PascalCase capitalization, as well as from existing underscores, hyphens and spaces, so it can correctly re-split and reassemble almost any common naming style.
Does it handle numbers and acronyms well?
Numbers are kept attached to the nearest word. Acronyms (like "ID" or "URL") are treated as a single word where possible, though unusual mixed-case acronyms can occasionally split differently than you'd expect — always double-check the result for edge cases.
Is this the same as the site's regular Case Converter tool?
No — the Case Converter tool handles prose (UPPERCASE, lowercase, Title Case, Sentence case), while this tool is specifically for programming naming conventions like camelCase and snake_case.