Case converter
Convert between camelCase, snake_case, kebab-case, PascalCase and more
Enter English words, acronyms or an existing name to compare styles at once. Choose the form required by your language and coding conventions.
| camelCase | |
|---|---|
| PascalCase | |
| snake_case | |
| SCREAMING_SNAKE_CASE | |
| kebab-case | |
| Train-Case | |
| Title Case | |
| UPPER CASE | |
| lower case |
Example
Input
HTTP server response
Example result
httpServerResponse HttpServerResponse http_server_response http-server-response
The lines show camelCase, PascalCase, snake_case and kebab-case.
Technical details & limits
Identifier styles tokenize ASCII letters and digits, separators and camel boundaries, including acronyms such as HTTPServer. Non-ASCII segments are omitted in naming styles; whole-text case uses JavaScript Unicode casing. Reserved words, leading-character rules and language syntax are not validated.
About this tool
Convert names or phrases into camelCase, PascalCase, snake_case, kebab-case and related styles, with whole-text upper and lower case. Standardize identifiers, configuration keys and path names.
Use cases
- Turn a backend snake_case field into the camelCase your frontend expects.
- Produce constant names (SCREAMING_SNAKE_CASE).
- Name a CLI flag or environment variable.
Notes
Split rules: non-alphanumeric characters are separators; a run of uppercase followed by lowercase is split (`URLPath` → `URL Path`).
FAQ
- Do “Hello World” and “hello_world” produce the same output?
- Yes. Everything is first split into lowercase words, then rejoined per style.
- Can every result be used as a variable name?
- No. A leading digit or reserved word can make a name invalid, and kebab-case is not a variable syntax in many languages. Check the target language.
- How is HTTPServer split?
- It becomes HTTP and Server before reconstruction, for example http_server.
- Is every converted result a valid variable name?
- Not necessarily. Reserved words, leading digits and permitted characters depend on the language. This changes naming style; it does not replace identifier validation.
Related tools