Global · Tier-1 optimized
camel case generator · string to camelCase FREE

camelCase Converter: Turn Text Into camelCase Paste a phrase, a column name or an existing identifier and get clean camelCase back — in the browser, in one click.

A camelcase converter turns a human phrase into the identifier style JavaScript, Java and Swift expect. user profile photo becomes userProfilePhoto, and an input that is already user_profile_photo or user-profile-photo is understood rather than mangled.

Your text never leaves the browser Works offline after load No ads, no signup, no uploads
camelCase Converter — live, in your browser
0 Characters
0 Words
0 Sentences
0 Lines
0 min Read time
Instant answer

How do you convert text or a string to camelCase?

ToolGuest camelCase Converter is a free, zero-ad, 100% client-side tool that rewrites a phrase or an existing identifier into camelCase in one click, in under 50 ms. It splits spaces, hyphens, underscores and capitals into words, then rejoins them with a lowercase first word and never uploads your code.

How to

How to convert a string to camelCase in three steps

The converter understands input that is already an identifier, so you do not have to clean it up first.

  1. STEP 01

    Paste the phrase or identifier

    A sentence, a database column such as user_profile_photo, a kebab-case CSS class or a run of capitals. Mixed input is fine: the engine splits it into words before rebuilding it.

  2. STEP 02

    Click camelCase

    The first word stays lowercase and every following word is capitalised, with the separators removed. PascalCase sits next to it when you need an upper-camel identifier for a class or a type instead.

  3. STEP 03

    Copy the identifier

    Copy to clipboard or download the result. For a whole table of columns, switch on Convert line-by-line first so each field name is converted on its own line.

Why camelCase

Where camelCase is the convention

camelCase is the default identifier style of the JavaScript, Java and Swift ecosystems. Following the ecosystem convention makes code review faster and keeps generated code consistent.

JavaScript and TypeScript

Variables, functions, object properties and React props are camelCase by convention, including the built-in DOM APIs such as getElementById.

Java and Swift

Methods and local variables are lower camel case, while classes and types are PascalCase, which is why both buttons sit next to each other.

JSON payloads

Many public APIs return camelCase keys, so converting a database column before it becomes a JSON field keeps the payload consistent with the client.

Format & benchmark reference

Every case format, with an exact example

These are the exact strings the engine returns for one sentence. Copy the row that matches the casing you need, or paste your own text and pick the same format above.

Case styleExample output Primary use case
Sentence caseConvert text and code in your browser.Body copy, emails and descriptions — the default for prose.
Title CaseConvert Text and Code in Your Browser.Headlines, H1s and article titles that follow editorial style.
UPPERCASECONVERT TEXT AND CODE IN YOUR BROWSER.Labels, warnings, acronyms and emphasis in captions.
lowercaseconvert text and code in your browser.Tags, email addresses and text that must be normalised.
Capitalized CaseConvert Text And Code In Your Browser.Buttons, short labels and poster text with every word capitalised.
aLtErNaTiNg cAsEcOnVeRt TeXt AnD cOdE iN yOuR bRoWsEr.Meme and social captions — the mocking SpongeBob style.
InVeRsE cAsEcONVERT TEXT AND CODE IN YOUR BROWSER.Flipping existing capitalisation without retyping.
camelCaseconvertTextAndCodeInYourBrowserJavaScript and Java variables, functions and object keys.
PascalCaseConvertTextAndCodeInYourBrowserClass, component and type names in C#, Java and TypeScript.
snake_caseconvert_text_and_code_in_your_browserPython variables, SQL columns and JSON keys in APIs.
kebab-caseconvert-text-and-code-in-your-browserURL slugs, CSS class names and file names.
CONSTANT_CASECONVERT_TEXT_AND_CODE_IN_YOUR_BROWSERConstants, environment variables and config keys.
dot.caseconvert.text.and.code.in.your.browserProperty paths, package names and settings keys.
  • <50 ms execution — a single pass over the text, in the browser tab.
  • 100% client-side — no upload, no server round-trip, no logging.
  • 0 ads, 0 signups — nothing between you and the converted text.
  • Works offline after the page loads, because no conversion step calls the network.
Worked examples

Before and after: real conversions

Each row is a conversion this engine performs. The left column is the input, the right column is exactly what you get when you click the matching case button above.

UseInput Output
Phraseuser profile photouserProfilePhoto
snake_case inputuser_profile_photouserProfilePhoto
kebab-case inputuser-profile-photouserProfilePhoto
Acronym runHTTP response codehttpResponseCode
Common mistakes

What people get wrong, and how to avoid it

Three mistakes account for almost every casing problem. Recognising them saves a round of editing later.

Capitalising the first letter by accident

If the identifier starts with a capital it is PascalCase, not camelCase. That is correct for a class name and wrong for a variable in most JavaScript style guides, so check the first character before you paste it back.

Losing acronym casing

A run of capitals such as HTTP is split into a word and lowercased, giving httpResponseCode rather than hTTPResponseCode. That matches the common convention, but an existing codebase that keeps acronyms uppercase needs a manual review.

Converting a list without batch mode

With batch mode off, a pasted list of column names is treated as one string and fuses into a single identifier. Turn line-by-line on whenever the input has more than one line.

In depth

camelCase in practice, in depth

camelCase versus PascalCase, and when each applies

The two camel styles differ only in the first letter, but that letter carries meaning. In Java and C#, types and classes are PascalCase and members are camelCase; in JavaScript the same split applies to React components and their props. When you convert a phrase, decide first whether it names a thing or an action, because that decides the case.

Turning database columns into camelCase fields

A typical API pipeline starts with snake_case columns and ends with camelCase JSON. Converting the whole column list in one batch, with line-by-line mode, keeps the field order identical, so the model file and the migration stay in step and no field is silently dropped in the mapping.

Head to head

ToolGuest camelCase converter vs developer case tools

A developer case tool converts one identifier at a time. This page converts a list, keeps your input in the browser, and gives you the neighbouring formats for free.

CapabilityToolGuestConvertCaseDeveloper case tools
Editorial and developer identifier cases in one toolYes — 13 formatsEditorial cases onlyDeveloper identifiers only
Line-by-line batch mode for lists and columnsYes, toggle in the toolNoRarely, and only for identifiers
Ads & popups0, everDisplay ads, or a paid ad-free planVaries by tool
Privacy & execution100% client-side in your browserServer-side with trackersOften a server round-trip
Speed<50 ms, instant localPage reloads and clutterPage reloads
Offline capabilityWorks offline after loadNeeds a connectionNeeds a connection
Signup, cookies or accountNoneConsent walls and trackersSome require an account
FAQ

camelCase converter questions, answered

What is camelCase and where is it used?

camelCase joins words without separators, keeps the first word lowercase and capitalises each later word, as in userProfilePhoto. It is the standard for variables, functions and object properties in JavaScript, TypeScript, Java and Swift, and for the JSON keys many APIs return.

How do I convert a phrase to camelCase?

Paste the phrase and click camelCase. The engine splits the words on spaces, hyphens, underscores, slashes and dots, lowercases the first word and capitalises the rest. “user profile photo” becomes userProfilePhoto in a single pass, in the browser.

Does camelCase start with a capital letter?

No. Lower camel case starts lowercase, which is why it is used for variables and functions. Upper camel case, where the first letter is also capitalised, is PascalCase, and it is the convention for classes, types and components. Both are one click away on this page.

How is camelCase different from snake_case?

camelCase removes the separators and signals a word boundary with a capital letter, while snake_case keeps lowercase words joined by underscores. camelCase belongs in JavaScript and Java, snake_case in Python, SQL columns and most JSON APIs. The same words convert between them in one click.

Can I convert a list of column names to camelCase at once?

Yes. Turn on Convert line-by-line, paste one column name per line, then click camelCase. Each line is converted separately, blank lines are preserved, and the output stays aligned with the input so it can be pasted straight back into a migration or a model file.

All Case Converter & Text Formatting Tools

Every page below runs the same 13-format engine in your browser, so a conversion behaves identically wherever you land. Pick the page that matches your writing or developer task.