Case Converter

Convert text between camelCase, snake_case, kebab-case and six more styles.

Private by design. Your input never leaves this browser. Conversions run locally on your device.

What this tool handles

  • camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, Title Case, Sentence case, lower and UPPER.
  • Shows every style at once, or just the one you pick.
  • Each line can be converted separately, so a whole list of identifiers can be pasted in.
  • Existing casing, underscores, hyphens, dots and spaces are all read as word boundaries.

Example

Text

user_first_name

Converted

camelCase      userFirstName
PascalCase     UserFirstName
snake_case     user_first_name
kebab-case     user-first-name
CONSTANT_CASE  USER_FIRST_NAME
dot.case       user.first.name
Title Case     User First Name
Sentence case  User first name
lower case     user first name
UPPER CASE     USER FIRST NAME

Related tools

  • Regex Tester — Test a regular expression against text with highlighted matches and capture groups.
  • Diff Checker — Compare two texts or two JSON documents line by line or word by word.

Browse all 25 tools