Case Converter
Switch a name between camelCase, snake_case and eight other styles with one click.
Paste text and pick one of ten styles. The tool splits the text into words, then joins them in the chosen style, all inside the page. Korean has no letter case, so only the separators change.
This is what each button gives for getUserName.
| Button | Result |
|---|---|
| UPPERCASE | GETUSERNAME |
| lowercase | getusername |
| Title Case, Sentence case | Getusername |
| camelCase | getUserName |
| PascalCase | GetUserName |
| snake_case | get_user_name |
| kebab-case | get-user-name |
| CONSTANT_CASE | GET_USER_NAME |
| dot.case | get.user.name |
The programming styles split at spaces, line breaks, _, -, ., and wherever a capital follows a lowercase letter. Runs of capitals are not split, so parseHTTPRequest becomes parse_httprequest. Writing acronyms as parseHttpRequest converts cleanly in every direction.
Title Case and Sentence case do not split words; they lowercase everything first. That is why iPhone turns into Iphone, and why they do nothing useful for a joined name. Several lines fed to camelCase through dot.case merge into one name, so convert one line at a time. After you press a style, edits to the input update the result at once.