ConvertCaseTool

Accidentally typed your text in the wrong case?

Simply drop your text below to quickly convert it into uppercase, lowercase, title case, sentence case, and other text formats using our free online case converter.

0 chars·0 words·0 lines

What is a camelCase converter?

A camelCase converter transforms plain text or other naming formats into camelCase — the naming convention used for variables and functions in JavaScript, TypeScript, Java, and most API schemas. It strips spaces and separators, lowercases the first word, and capitalises the start of every subsequent word.

Before & After

Before

get user profile by id

After

getUserProfileById

Before

background-color

After

backgroundColor

Before

user_first_name

After

userFirstName

Where camelCase is used

  • JavaScript & TypeScript

    Variables, function names, object properties, and React hooks — all follow camelCase by convention.

  • JSON & REST APIs

    The dominant naming convention for JSON keys and REST API request/response fields.

  • Java & C#

    Method names and local variable names in Java and C# follow camelCase.

  • React props & state

    Component props (onClick, onChange, isLoading) and useState variables use camelCase throughout.

  • GraphQL fields

    GraphQL schema fields and query arguments are written in camelCase.

Frequently asked questions

What is camelCase?

camelCase is a naming convention where the first word is all lowercase and every subsequent word starts with a capital letter, with no spaces or separators. Example: "get user profile" becomes "getUserProfile".

When should I use camelCase?

camelCase is the standard for: JavaScript and TypeScript variable and function names, Java method and variable names, JSON property keys, React props and state variables, and most API request/response field names.

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (myVariableName). PascalCase (also called UpperCamelCase) starts with an uppercase letter (MyVariableName). Use camelCase for variables and functions; PascalCase for classes and components.

What is the difference between camelCase and snake_case?

camelCase uses no separator and capitalises internal words. snake_case uses underscores between all lowercase words. JavaScript prefers camelCase; Python and databases prefer snake_case.

Does the converter handle special characters and punctuation?

Yes. Punctuation, hyphens, underscores, and spaces are all treated as word separators and stripped from the output. Only alphanumeric characters are kept.

Can I convert snake_case or kebab-case to camelCase?

Yes. Paste snake_case, kebab-case, or plain text — the converter handles all separator styles and outputs clean camelCase.

Related tools