Case Converter
Convert text between camelCase, snake_case, kebab-case, and more — instantly.
Naming conventions explained
camelCase— first word lowercase, later words capitalized. Common for JavaScript variables.PascalCase— every word capitalized. Common for class and component names.snake_case— lowercase words joined by underscores. Common in Python and databases.kebab-case— lowercase words joined by hyphens. Common in URLs and CSS.CONSTANT_CASE— uppercase with underscores. Common for constants and env vars.
When to use which
Different languages and ecosystems have different conventions. JavaScript favors camelCase for variables and PascalCase for classes; Python uses snake_case; CSS and URLs use kebab-case; environment variables use CONSTANT_CASE. Converting quickly between them saves time when porting names across contexts.
How it works
The tool splits your input into words — handling spaces, underscores, hyphens, and camelCase boundaries — then rejoins them in each target convention.
Is my data safe?
Conversion runs entirely in your browser.
Common case conversions
Frequently asked questions
What's the difference between camelCase and PascalCase?
Both join words without separators, but camelCase keeps the first word lowercase (myVariable) while PascalCase capitalizes every word (MyClass). camelCase is typical for variables; PascalCase for classes and components.
Does it handle accented or non-English text?
It splits on spaces, underscores, hyphens, and case boundaries. Accented Latin letters are preserved, and scripts without letter case (such as CJK) are left unchanged.
Is it free and private?
Yes — it's free and unlimited, and all conversion runs in your browser, so your text is never uploaded.