Small Tools
Text utility

Case Converter

Convert text between common programming and writing case styles.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.
Output
Your result will appear here…

How to use Case Converter

  1. Enter words or an existing identifier.
  2. Select Convert.
  3. Copy the line in the style you need.

Example

Input / settings:

user_id

Output:

UPPERCASE: USER_ID
lowercase: user_id
Title Case: User Id
camelCase: userId
PascalCase: UserId
snake_case: user_id
kebab-case: user-id

The underscore is treated as a word boundary. Uppercase and lowercase keep it because they do not split words.

When to use

Overview

Case Converter shows seven versions of your text at once: UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case and kebab-case. UPPERCASE and lowercase change every letter and keep spaces and punctuation. The other five first split the text into words, then drop punctuation and join the words in the chosen style.

Supported input

text

Output details

case variations

Common mistakes

Practical tips

Privacy and security

This tool runs entirely in your browser. Your input is never uploaded to our servers. Conversion is plain local string processing. Results are not checked against any language's rules, so an identifier can still start with a digit or match a reserved word.

References

Frequently asked questions

Which case styles does Case Converter produce?

UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case and kebab-case, all in one result.

Can it convert between camelCase and snake_case?

Yes. A capital letter that follows a lowercase letter or a digit starts a new word, so backgroundColor gives background-color and user_id gives userId.

What happens with empty input?

The tool still lists the seven style labels, each followed by an empty value.

Related tools