Convert text to camelCase
camelCase is selected. Paste your words, one name per line, and copy the converted identifiers.
- Runs on your device
- No sign-up
- Works offline after a visit

Title and Sentence case keep capitals of two to five letters, such as NASA, and common acronyms such as PDF. Letters follow English rules, so i becomes I, unless the Turkish option is on: then i becomes İ and I becomes ı.
This page opens the case converter with camelCase selected. The words are joined with no spaces, the first word is lower case, and each later word starts with a capital, so user first name becomes userFirstName. Each line is converted on its own, so one line in gives one identifier out.
camelCase is common for variable names in JavaScript and Java. PascalCase, which capitalises the first word too, is the other style on this page. If your identifiers are database column names, snake_case is more common there.
How to change the case of text
- Paste or type your text in the box.
- Choose a case style above the result.
- Copy the converted text.
Questions
What is the difference between camelCase and PascalCase?
camelCase starts with a lower-case word, as in userFirstName. PascalCase capitalises the first word too, as in UserFirstName, and it is the other option on the page.
Are the spaces removed completely?
Yes. camelCase has no spaces, hyphens or underscores, so the words are joined only by the capital letters that start each new word.
Which words stay lower case in Title Case?
Short words such as a, an, the, and, but, of, in, on and to stay lower case, unless they are the first or last word of a line. Each line is treated as its own title.
Why do PDF and NASA stay in capitals?
Title and Sentence case keep words of two to five capital letters, such as NASA, as they are. A short list of common acronyms, such as PDF, HTML and API, is capitalised even when typed in lower case. Text typed entirely in capitals is treated as shouting, so only that list is kept.
How are camelCase and snake_case worked out?
Each line is split at spaces, punctuation and changes from lower to upper case, so XMLHttpRequest is read as XML, Http and Request. Each line is converted on its own, so a list of names gives one identifier per line.
Is my text sent anywhere?
No. Conversion runs in your browser, and nothing is stored after you close the tab.
Reviews
No reviews yet. Be the first.

