Case Converter

Switch a name between camelCase, snake_case and eight other styles with one click.

0 characters / 0 words

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.

ButtonResult
UPPERCASEGETUSERNAME
lowercasegetusername
Title Case, Sentence caseGetusername
camelCasegetUserName
PascalCaseGetUserName
snake_caseget_user_name
kebab-caseget-user-name
CONSTANT_CASEGET_USER_NAME
dot.caseget.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.