Camel Case Converter

Paste words, snake_case or kebab-case and copy them as camelCase, or as PascalCase with the first capital too.

A sample. Type or paste your own.

Sample camelCase 14 characters

totalPageCount

The same text, 1 more way

  • PascalCase 14 characters TotalPageCount
More options language rules
Settings
Language rules

All 2 case styles

Words joined by capitals 2

  • camelCase A name that is already in camelCase is read apart and put back the same, and accents are kept, so café menu becomes caféMenu.
  • PascalCase Every word starts with a capital, the first one too: user id becomes UserId. PEP 8 names the style CapWords and uses it for class names.
How this list was compiled

Own work. The 2 styles are the ones this page shows, with the camel case style first. Every example in a note is kept with its style as a test pair and was produced by the converter this page runs on 2026-10-08; one went in only when the result matched. Lowering every word, acronyms included, before the first letters are raised, with upper camel case and lower camel case as the two results and XmlHttpRequest as a correct example, follows the Google Java Style Guide, section 5.3, Camel case: defined (https://google.github.io/styleguide/javaguide.html#s5.3-camel-case), read 2026-10-08. CapWords as the name of the style in class names, and all the letters of an acronym in capitals with HTTPServerError as the example, follow PEP 8, the style guide for Python code (https://peps.python.org/pep-0008/), read 2026-10-08; so does the remark that camel case is named for the bumpy look of its letters. Lower camel case, dromedary case, upper camel case and Pascal case as names follow the Wikipedia article on letter case (https://en.wikipedia.org/wiki/Letter_case, CC BY-SA 4.0), read 2026-10-08. None of the publishers named is connected with this site. Licence: own work

How it works

This camel case converter joins your words into camelCase as you type: no spaces, and a capital at the start of every word but the first. Each line becomes a name of its own.

Read the full guide

camelCase and PascalCase

total page count becomes totalPageCount in camelCase, also called lower camel case, and TotalPageCount in PascalCase, or upper camel case. The first letter is the whole difference.

Acronyms and capitals already there

Every word is made small before its first letter is raised, so userID becomes userId and parse HTML becomes parseHtml. Text typed in upper case converts the same way: TOTAL PAGE COUNT becomes totalPageCount.

Digits

A digit takes no capital, and the word after it does: top 10 list becomes top10List.

  • Apostrophes go without a trace: don't stop becomes dontStop.
  • Going the other way? The snake case converter turns totalPageCount into total_page_count or total-page-count.

Questions and answers

What is camel case?

Camel case writes several words as one name, with a capital at the start of each word after the first: totalPageCount. PEP 8 says the style is named for the bumpy look of its letters. Other names are lower camel case and dromedary case.

How do I convert snake case to camel case?

Paste it. An underscore, a hyphen or a space each ends a word, so total_page_count and total-page-count both become totalPageCount. The mark goes and the letter after it is raised.

How do I convert camel case to Pascal case?

Copy the PascalCase row. It reads the words out of the name you paste and capitalizes the first one too: totalPageCount becomes TotalPageCount.

Does camel case keep acronyms in capitals?

Style guides disagree. The Google Java Style Guide lowers them and gives XmlHttpRequest as correct. PEP 8 asks for all the letters of an acronym in capitals, as in HTTPServerError. This page always lowers.