Text to convert to camelCase

camelCase Result

How does it work?

This tool automatically converts pasted text to camelCase format, which is commonly used in programming languages like JavaScript, Java, and TypeScript. It handles various input formats including spaces, snake_case, kebab-case, PascalCase, and more.

What is camelCase?

camelCase is a naming convention where:

  • The first word is lowercase
  • Subsequent words have their first letter capitalized
  • No spaces or punctuation between words

Examples

Input FormatOriginal TextcamelCase Result
SpacesHello worldhelloWorld
snake_caseuser_first_nameuserFirstName
kebab-caseAPI-response-dataapiResponseData
SpacesConvert This TextconvertThisText
snake_casesnake_case_examplesnakeCaseExample
kebab-casekebab-case-examplekebabCaseExample
PascalCasePascalCaseExamplepascalCaseExample
SCREAMING_SNAKE_CASESCREAMING_SNAKE_CASEscreamingSnakeCase

Features

  • Auto-convert: Text is automatically converted as you type or paste (can be disabled)
  • Format handling: Properly handles various input formats including spaces, underscores, hyphens, and mixed case
  • Copy to clipboard: One-click copying of the converted result
  • Clean conversion: Removes special characters and normalizes spacing

This tool is useful for:

  • Converting variable names between different coding conventions
  • Preparing text for use in JavaScript, TypeScript, Java, or other languages that use camelCase
  • Quickly transforming database column names to code variable names
  • Converting API parameter names to camelCase format
  • Standardizing naming conventions in your codebase

Tip:

For the best results, ensure your input text has clear word boundaries (spaces, underscores, hyphens, or capitalization). The tool will handle most common formats, but very unusual formatting might require manual adjustment.

Other tools

See other tools