camelCase Converter

Convert any text to camelCase — the standard variable-naming convention in JavaScript, Java, Swift, and most modern languages.

Input
Output

What is camelCase?

camelCase is a programming naming convention where the first word is lowercase and every subsequent word starts with an uppercase letter, with no separators between them. The name comes from the "humps" the capitals form, like a camel's back.

It's the de facto standard for variable and function names in JavaScript, Java, C#, Swift, Kotlin, Objective-C, and most other curly-brace languages with an OOP heritage.

When to use camelCase

  • JavaScript / TypeScript variables and functionsuserName, getUserById.
  • Java methods and local variables.
  • JSON object keys in most modern APIs.
  • C#, Swift, Kotlin, Objective-C instance variables.
  • CSS-in-JS property names (since CSS hyphens become camelCase in JS objects).
  • GraphQL field names.

How camelCase conversion works

  1. The input is tokenized into individual words. Separators (spaces, underscores, hyphens, dots, slashes) are split points. Internal camelCase humps and ALLCAPS acronym runs are also recognized — so HTMLParser tokenizes to HTML + Parser, not as one word.
  2. Each word is lowercased.
  3. The first letter of every word except the first is capitalized.
  4. All words are concatenated with no separator.

Worked examples

Input camelCase
user name userName
XMLHttpRequest xmlHttpRequest
parse HTML document parseHtmlDocument
user_full_name userFullName

Related case formats

Need more conversion options?

Open the full converter →