camelCase Converter
Convert text to camelCase format used in JavaScript, Java, and many programming languages.
What is camelCase?
camelCase (also called lower camel case or dromedary case) joins multiple words into one by capitalizing the first letter of each word except the first, with no spaces or separators. The resulting visual "humps" inspired the name.
hello world example→helloWorldExampleWhen to Use camelCase
Use camelCase for JavaScript/TypeScript variables, function names, object properties, JSON keys, and method names in Java, Swift, and Kotlin. It is the default convention in most object-oriented and scripted languages.
Do not use camelCase for Python code (use snake_case per PEP 8), CSS class names (use kebab-case), environment variables (use CONSTANT_CASE), or file names (use kebab-case).
Industry Standard
camelCase is mandated by the Google JavaScript Style Guide, Airbnb JavaScript Style Guide, and Oracle Java Code Conventions for variable and method names. It is the most widely adopted naming convention in web development.
How to Use This camelCase Converter
- Paste or type your text into the Input Text box on the left.
- The output is converted to camelCase instantly on the right.
- Click Copy to copy the result to your clipboard.
- Use Clear to reset and convert new text.
camelCase in Programming Languages
let userName = 'John';const firstName: string = 'John';String getUserName() { }var firstName = "John"val userName: StringFrequently Asked Questions
Is this camelCase converter free?
Yes, completely free — no signup, no account, no limits.
Does my text get stored or sent anywhere?
No. All conversions happen entirely in your browser using JavaScript. Your text never leaves your device and is never sent to any server.
When should I use camelCase?
Use camelCase for JavaScript/TypeScript variables, function names, object properties, JSON keys, and method names in Java, Swift, and Kotlin. It is the default convention in most object-oriented and scripted languages.
Expert tip
When converting acronyms to camelCase, different style guides disagree. Google style says treat acronyms as words: "xmlParser" not "XMLParser". This improves readability when multiple acronyms appear together.