Convert to camelCase

Generate camelCase identifiers from any phrase — perfect for JavaScript variables and JSON keys.

Convert any phrase or text to camelCase for JavaScript, JSON keys and variable names. Free developer tool.

Convert to camelCase examples

InputOutput
order total priceorderTotalPrice

How the convert to camelcase works

  1. Split into words at any separator.
  2. Lowercase the first word, capitalise the rest.
  3. Join without separators.

Rules and edge cases

  • Any separator works as input — spaces, hyphens, underscores or a mix — and the output is a single camelCase token.
  • The first word is lowercase, later words are capitalised, and separators are removed.
  • Non-ASCII letters are preserved rather than dropped.
  • Same engine as the camelCase converter page, presented as a direct paste-and-convert action.

Frequently asked questions

Can I convert a whole list of names at once?

Paste them one per line; each line is converted independently, so a column exported from a spreadsheet comes back ready to use.

What happens to text that is already camelCase?

It passes through unchanged, because the existing capital letters are read as word boundaries and rebuilt in the same positions.