Advertisement

Camel case converter

Convert any text to camelCase, the naming style used for variables and functions in JavaScript, Java, and many other languages.

Camel Case

Paste text below and get camelCase output instantly.

Advertisement

How camelCase works

camelCase joins words into one identifier with no spaces: the first word stays lowercase and every following word starts with a capital letter. So hello world example becomes helloWorldExample. It is the standard style for variable and function names in JavaScript and Java.

Handles any input format

The converter detects word boundaries in snake_case, kebab-case, Title Case, and even ALLCAPS input, then rebuilds them as camelCase. Acronyms like HTML are normalized to Html mid-word, matching the conventions used by most linters.

Camel Case FAQs

What is camelCase used for?
camelCase is the naming convention for variables, functions, and methods in JavaScript, Java, PHP, and many other languages. For example, a variable holding a user name is written userName instead of user_name.
How do I convert a sentence to camelCase?
Paste the sentence into the input box. The tool splits it into words, lowercases the first word, capitalizes the rest, and joins them with no spaces. Copy the result with one click.
Does it handle snake_case or kebab-case input?
Yes. Underscores, hyphens, dots, slashes, and spaces are all treated as word separators, so user_name, user-name, and User Name all convert to userName.
What happens to numbers in the text?
Numbers stay attached to the word they belong to. For example, version 2 release becomes version2Release, which is valid in identifiers.
Is my text sent to a server?
No. The conversion runs entirely in your browser with JavaScript. Nothing you paste ever leaves your device.
Advertisement