AbraCalc

CamelCase Converter

Convert text, snake_case, or kebab-case to camelCase instantly.

Embed this tool on your site
Cite this tool

APA

AbraCalc. (2026). CamelCase Converter [Online calculator]. Retrieved from https://abracalc.com/text/camel-case-converter/

BibTeX

@misc{abracalc-camel-case-converter, author = {AbraCalc}, title = {CamelCase Converter}, year = {2026}, howpublished = {\url{https://abracalc.com/text/camel-case-converter/}} }

Did this tool answer your question?

How to use this tool

  1. Enter text in the fields above.
  2. Results update instantly as you type — or click Calculate.
  3. Read your camelcase and the full breakdown beneath it.

Convert text, snake_case, or kebab-case to camelCase instantly.

How it works

CamelCase is a naming convention where each word (after the first) starts with a capital letter and no separators are used, like getUserName or maxRetryCount. It is the standard style for variables and methods in JavaScript, Java, Swift, and many other languages.

This converter accepts plain English phrases, snake_case identifiers, and kebab-case strings, splitting on underscores, hyphens, and spaces, then joining the words so that the first letter of every word after the first is capitalized. The first character of the entire result is kept lowercase (lowerCamelCase).

Simply paste your input, and the camelCase result appears immediately. Use it when adopting a new codebase convention, renaming fields coming from a Python or database source, or quickly formatting identifiers without the risk of manual typos.

If you need PascalCase (UpperCamelCase), where even the first letter is capitalized -- common for class names -- capitalize the first letter of the output manually or check if the tool offers a PascalCase toggle.

Worked example

Convert a snake_case database column to a JavaScript variable

  1. Paste: 'user_first_name'
  2. The tool splits on underscores: ['user', 'first', 'name']
  3. First segment stays lowercase; subsequent segments are capitalized.
  4. Output: 'userFirstName'

userFirstName -- ready to use as a JS variable.

Common mistakes to avoid

  • Pasting full sentences with punctuation -- periods and commas end up embedded in the output identifier.
  • Assuming the output is PascalCase -- it is lowerCamelCase; class names need the first letter manually uppercased.
  • Not checking acronyms -- 'parse_xml' becomes 'parseXml' not 'parseXML', which may not match your team's style guide.

Key terms

lowerCamelCase
CamelCase where the very first letter is lowercase, e.g. myVariable. Standard for variable and method names.
PascalCase (UpperCamelCase)
CamelCase where the first letter is also capitalized, e.g. MyClass. Standard for class and component names.
Delimiter
A character used to separate words in an identifier, such as an underscore in snake_case or a hyphen in kebab-case.

Frequently asked questions

What separators does it recognise?
Spaces, underscores, and hyphens are all treated as word separators.

References & sources