Case Converter

Converts text between camelCase, snake_case, kebab-case and more.

Case Converter changes text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, lowercase and UPPERCASE. It splits your input into words by detecting camelCase boundaries, underscores, hyphens and whitespace, then re-joins them in the case style you pick. It is handy when renaming variables, generating identifiers, or normalizing strings across a codebase.

Common uses

  • Convert a variable name from snake_case to camelCase or PascalCase when moving code between languages
  • Turn a phrase or heading into a kebab-case slug for URLs or file names
  • Generate CONSTANT_CASE names for environment variables or enum members
  • Reformat database column names into Title Case or Sentence case labels for a UI
  • Quickly switch a block of text to all lowercase or UPPERCASE
  • Normalize mixed-style identifiers (spaces, dashes, underscores) into one consistent case

FAQ

Is my data sent to a server?

No. The conversion runs entirely in your browser with JavaScript, and nothing you type is uploaded or stored remotely.

Which case formats are supported?

camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, lowercase and UPPERCASE.

How does it decide where words begin and end?

It treats a lowercase-to-uppercase transition (like myValue), underscores, hyphens, and whitespace as word boundaries, then collapses repeated separators.

How are numbers and acronyms handled?

Numbers stay attached to the word they follow rather than starting a new word, and acronyms are not detected specially, so a run of capitals like 'JSONData' is split only at the J-to-S style boundary, which may not match your expectation for all-caps groups.

What do lowercase and UPPERCASE modes do differently?

Unlike the other styles, lowercase and UPPERCASE do not re-split into words; they simply change the case of the entire input while keeping spaces and punctuation as-is.

Related tools

  • ASCII Art (Figlet)
  • Deduplicate Lines
  • Find & Replace
  • Strip HTML Tags
  • Remove Invisible Characters
  • Leetspeak
  • Morse Code
  • Pad / Truncate Lines