Case Converter (camelCase, PascalCase, snake_case, kebab-case)
Convert text between common code naming conventions. Runs entirely in your browser.
How it works
The input is split into words at spaces, underscores, hyphens, and camelCase/PascalCase
boundaries (including acronyms, e.g. XMLParser → XML +
Parser), then rejoined in the target convention. Accented Unicode letters
(é, ö, ü, ...) are preserved rather than dropped.
Examples
| Input | camelCase | snake_case | kebab-case |
|---|---|---|---|
hello world | helloWorld | hello_world | hello-world |
XMLHttpRequest | xmlHttpRequest | xml_http_request | xml-http-request |
FAQ
What happens with numbers? Digits attach to the preceding word
(e.g. user2Name → words user2, Name).
What about symbols or emoji in the input? Only letters and digits form words; everything else acts as a separator and is dropped from the output.