camelCase Converter

Type or paste words, a title or a list of names and get camelCase as you type: the first word in lower case, every following word starting with a capital, no spaces. It also converts from snake_case, kebab-case, PascalCase and CONSTANT_CASE, so "total_amount_inr" becomes "totalAmountInr".

Enter your text
Result (camelCase)

Features

  • Converts to camelCase as you type

  • Example: "customer phone number" becomes customerPhoneNumber

  • Understands spaces, hyphens, underscores, dots and existing camelCase humps

  • Converts a list line by line

  • Switch to any of the other 12 cases with one click

  • Copy the result

  • Runs in your browser: your text is never uploaded. Free, no signup

Where camelCase is used

JavaScript and TypeScript

Variable, function and property names: getUserProfile, isLoggedIn.

JSON and API fields

Many APIs use camelCase keys such as orderId and createdAt.

Java, Kotlin and Swift

Method and variable names follow lower camelCase.

camelCase rules

How text becomes camelCase

  • The first word is all lower case.
  • Every later word starts with a capital and the rest of it is lower case.
  • Spaces, hyphens, underscores and punctuation are removed.
  • Acronyms become words: "HTTP status" becomes httpStatus.

How words are split

Words are found at spaces, punctuation, and at the humps of existing camelCase or PascalCase (parseHTTPResponse becomes parse, HTTP, Response), so you can convert between any of the programming cases and back. Each line is converted on its own, so a list of names converts in one go. Letters and digits in Hindi and other scripts are kept.

Other cases and tools

camelCase Converter - FAQ