Camel Case Converter
Convert text to camelCase.
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
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?
Can it convert snake_case to camelCase?
Why did helloWorld become helloworld?
Does it handle multiple lines?
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 YouTubeLearn 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.