camelCase Converter for Variables and Identifiers

Paste plain text, snake_case or kebab-case below and click camelCase. Words are joined with no separators and each word after the first gets a capital. Each line is converted separately, so you can paste a whole list of names.

0 characters0 without spaces0 words0 sentences0 lines

Examples

user first name

userFirstName

created_at_date

createdAtDate

background-color

backgroundColor

Parse HTMLResponse

parseHtmlResponse

Where camelCase Is the Convention

  • Variables and functions in JavaScript and TypeScript
  • Variables and methods in Java and Kotlin
  • Local variables and parameters in C#
  • Property names in many JSON APIs

camelCase vs PascalCase vs snake_case

FormatExample
camelCaseuserFirstName
PascalCaseUserFirstName
snake_caseuser_first_name
kebab-caseuser-first-name
SCREAMING_SNAKE_CASEUSER_FIRST_NAME

How Acronyms Are Handled

Acronyms are treated as normal words, so “HTMLResponse” becomes “htmlResponse” when it starts a name and “parseHtmlResponse” after another word. Most modern style guides prefer this form because the word boundaries stay clear. If your codebase writes “parseHTMLResponse”, adjust the result by hand.

Other Case Converters

Frequently Asked Questions