Forgly

snake_case to camelCase Converter

Convert snake_case identifiers to camelCase.

Try an example:

Converting snake_case to camelCase

snake_case joins lowercase words with underscores; camelCase drops the separators and capitalizes each word after the first. Handy when porting names from Python or SQL to JavaScript.

How to convert snake_case to camelCase by hand

  1. Split the string at each underscore.
  2. Lowercase the first word and capitalize the first letter of the rest.
  3. Join the words with no separator.

Worked example

snake_case_textsnakeCaseText

More converters

Frequently asked questions

How do I convert snake_case to camelCase?

Split the string at each underscore. Lowercase the first word and capitalize the first letter of the rest. Join the words with no separator. Or just use the converter on this page — it does it instantly. Example: snake_case_text becomes snakeCaseText.

What is snake_case_text in camelcase?

snake_case_text converts to snakeCaseText.

Is this converter free and private?

Yes — it is free and unlimited, and the conversion runs entirely in your browser, so nothing is uploaded to a server.