Camel Case Converter

Convert text to camelCase.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Paste a phrase or identifier and press Run to get camelCase: first word lowercase, each following word capitalised, no separators.

How to use

1
Step 1
Paste the phrase into Input.
2
Step 2
Press Run.
3
Step 3
Copy the camelCase result into your code.

How it works

The text is split into words at spaces, hyphens, underscores, punctuation and camelCase boundaries; letters with accents and non-Latin letters are kept. The first word is lowercased and every later word gets a capital first letter with the rest lowercase. Spaces, hyphens, underscores and punctuation all act as separators and are removed.

Worked example

Mixed separators

Input
user first-name_field
Output
userFirstNameField
Walkthrough
The three words are split on the space, hyphen and underscore, then joined with capitals.

Limitations

  • Existing camelCase is not split: helloWorld Test becomes helloworldTest.
  • Letters outside A to Z, such as é or ß, are treated as separators and dropped.
  • Converts the whole input into one identifier, not line by line.

Questions

What is camelCase?
A naming style where the first word is lowercase and each later word starts with a capital, as in userFirstName.
Can it convert snake_case to camelCase?
Yes. Underscores are treated as separators, so first_name becomes firstName.
Why did helloWorld become helloworld?
The tool does not detect capital letters inside a word as boundaries.
Does it handle multiple lines?
It merges all words into a single identifier. Convert one name at a time.

Features

  • Splits on spaces, hyphens, underscores
  • Single-identifier output
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • HTML in 100 Seconds

    Fireship

    Quick HTML mental model next to text transform tools.

    Watch on YouTube
  • Learn JSON - Full Crash Course

    freeCodeCamp.org

    Structured text formats often sit next to plain-text tools.

    Watch on YouTube
  • UTF-8 and BOM

    W3C

    Encoding gotchas when cleaning pasted text.

  • Accessibility

    MDN

    Readable text and case choices matter for inclusive copy.