Different languages and contexts use different naming conventions. This tool converts any text or identifier between the common cases — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, sentence case, and UPPER/lower — instantly, in your browser.
How to use it
- Type or paste your text.
- Every case variant updates live.
- Click Copy next to the one you need.
About Case Converter
Naming conventions vary across ecosystems: JavaScript favours camelCase, Python uses snake_case, CSS classes use kebab-case, constants are CONSTANT_CASE, and React components are PascalCase. Converting between them by hand is tedious and error-prone, especially for multi-word identifiers. This converter parses your input into words and reassembles it in every common convention at once, so you can grab the exact form you need. Everything runs locally.
FAQ
How does it split words?
It detects boundaries from spaces, hyphens, underscores and capital letters, then reassembles the words in the chosen case.
Does it handle acronyms?
It handles common cases well, but unusual acronym sequences may need a manual check.
What is the difference between camelCase, snake_case and kebab-case?
camelCase joins words with capitals (myVariableName) and is common in JavaScript; snake_case uses underscores (my_variable_name) and is common in Python and databases; kebab-case uses hyphens (my-variable-name) and is common in URLs and CSS classes.