camelCase Converter
About this tool
About camelCase Converter
camelCase writes words together with no separator, starting lowercase and capitalising every following word: userAccountId, fetchOrderHistory, isLoggedIn. It is the standard for variables, functions and object properties in JavaScript, TypeScript, Java, Kotlin, Swift and C#, and the default key style in most JSON APIs. Paste plain words, a snake_case column name from a database, a kebab-case CSS class or a SHOUTING_CONSTANT and get the camelCase form immediately. Acronyms are split sensibly, so XML_HTTP_REQUEST becomes xmlHttpRequest and user_ID becomes userId, and apostrophes are dropped rather than turned into breaks. Paste a whole list, such as the columns of a table you are mapping to a TypeScript interface, and each line converts separately. The other thirteen cases are shown alongside, so you can grab PascalCase for the type name in the same step. Everything runs in your browser.
Built and maintained by Abhi JainUpdated
How to Convert Text to camelCase
- 1
Paste names
Paste words or identifiers into the Text box, one per line for a list.
- 2
Read the camelCase result
camelCase is selected, so the converted text shows under the Text box as you type.
- 3
Copy
Click Copy or Download, or copy another case from the All cases list.
camelCase Converter: questions and answers
What is camelCase?
A naming style where words are joined without spaces, the first word is lowercase and each following word starts with a capital, like totalPrice. The capitals in the middle look like a camel's humps.
Which languages use camelCase?
JavaScript, TypeScript, Java, Kotlin, Swift, Dart and C# use it for variables, functions and properties. Go uses it for unexported names. Python and Ruby prefer snake_case instead.
How should acronyms look in camelCase?
Most style guides (Google's Java and JavaScript guides, Microsoft's .NET guidelines for longer acronyms) treat an acronym as a word: xmlHttpRequest, userId, parseHtml. This tool follows that convention.
Is camelCase the same as lowerCamelCase?
Yes. lowerCamelCase is a more explicit name for it. UpperCamelCase is another name for PascalCase.
More Case Converter presets
Related tools
- Slug GeneratorTurn titles into clean URL slugs with accent transliteration and length limits.
- Whitespace Visualizer & CleanerReveal tabs, NBSP, zero-width characters and mixed line endings, then clean them.
- Regex TesterTest JavaScript regular expressions live with highlighted matches, capture groups, replace preview and plain-English errors.
- JSON FormatterBeautify, minify and validate JSON with exact error locations, without changing a single value.