Camel Case Converter — Free Online Tool
Last updated: January 2025
What is Camel Case Converter?
CamelCase joins words together and capitalizes the first letter of each word except the first — like thisIsAnExample.
When to use Camel Case Converter?
Use camelCase for JavaScript variable names, JSON keys, Java method names, and API response fields.
How to use this tool
- 1Paste your text or phrase
- 2Click 'Convert' to get camelCase output
- 3Copy and use in your code
Examples
| Input | Output |
|---|---|
| hello world | helloWorld |
| first name | firstName |
| background-color | backgroundColor |
| user_id | userId |
| THE QUICK BROWN FOX | theQuickBrownFox |
Rules & Behavior
- First word is all lowercase
- Each subsequent word starts with a capital letter
- Spaces, hyphens, underscores, and dots are removed
Related Tools
Frequently Asked Questions
What is camelCase?
camelCase is a naming convention where words are joined without spaces, and each word (except the first) begins with a capital letter. It resembles a camel's humps.
When is camelCase used in programming?
camelCase is the standard in JavaScript (variables, functions), Java (methods, fields), JSON keys, and many APIs.
What's the difference between camelCase and PascalCase?
In camelCase, the first letter is lowercase (myVariable). In PascalCase, the first letter is uppercase (MyVariable). PascalCase is used for class names.
Can I convert snake_case to camelCase?
Yes! Paste snake_case text and our tool will convert it to camelCase instantly.
Does it handle numbers?
Yes, numbers are preserved in the output as-is.