Camel Case Converter

Convert to camelCase or PascalCase.

Open tool

Overview

Convert any text — sentences, kebab-case strings, snake_case identifiers, or random user input — into camelCase or PascalCase. camelCase starts with a lowercase letter and capitalizes each subsequent word (userName), while PascalCase capitalizes every word including the first (UserName).

Developers use this constantly when renaming JavaScript variables, generating C# class names from database columns, or normalizing identifiers across codebases. It's also useful for spreadsheet column wrangling, API field name conversions, and code-generation pipelines.

How it works

The converter splits your input on word boundaries: whitespace, hyphens, underscores, dots, and case transitions (so userID correctly becomes two words, "user" and "ID"). It then lowercases the first word (camelCase) or capitalizes it (PascalCase), and capitalizes the first letter of every subsequent word while joining them without separators. Numbers stay where they are, and any non-alphanumeric leftovers are dropped.

Examples

Input:  hello world
Output: helloWorld     (camelCase)
Output: HelloWorld     (PascalCase)
Input:  user-profile-image
Output: userProfileImage
Input:  SCREAMING_SNAKE_CASE
Output: screamingSnakeCase

FAQ

What's the difference between camelCase and PascalCase?

camelCase lowercases the first letter (firstName); PascalCase capitalizes it (FirstName). Most languages use PascalCase for types and classes, and camelCase for variables and method-locals.

Does it preserve numbers?

Yes. Numbers stay attached to whichever word they belong to: user2Profile stays as user2Profile.

What about consecutive capitals like "URL" or "HTTP"?

The tool treats runs of capitals as a single word boundary, so parseHTMLString round-trips correctly. The exact behavior depends on the mode you pick — strict camelCase normalizes "URL" to "Url".

Try Camel Case Converter

An unhandled error has occurred. Reload ×