Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

camelCase Converter

This tool converts words and phrases to camelCase or PascalCase, the styles used for variable, function and class names in code. It handles one name per line.

How to use camelCase Converter online

  1. Paste the names. Type phrases or paste a list.
  2. Pick camel or Pascal. Choose the style.
  3. Read the result. The converted names appear at once.
  4. Copy it. Copy or save the list.

Why use this free camelCase Converter

  • camelCase and PascalCase
  • One name per line
  • Splits existing camelCase
  • Removes spaces and symbols
  • Keeps digits
  • Share by link

What camelCase is

In camelCase the words are joined with no spaces, the first word is in lower case, and each later word starts with a capital, as in userAccountId. PascalCase is the same except that the first word is capitalised too, as in UserAccountId. Many programming languages use them for names.

How the tool splits words

It finds words as runs of letters and digits, so spaces, dashes, underscores and dots all count as breaks. It also splits words that are already in camel case, so maxRetryCount is read as max, retry and count. That makes it useful for changing the style of a list of existing names.

A worked example

Two lines, "user account id" and "max retry count", become "userAccountId" and "maxRetryCount" in camelCase. Switch to PascalCase and the same lines become UserAccountId and MaxRetryCount.

Use it on lists

With the one-line-each option on, every line is converted on its own, so you can paste a column of names from a spreadsheet or a list of database fields and get a column of code names back. Switch the option off to join all the text into a single name.

Naming habits

Each language and team has its own rule. JavaScript uses camelCase for variables and PascalCase for classes, while Python prefers snake_case for variables. The snake case and kebab case converters cover those. Check your own style guide before renaming across a project.

Using the tool

The result shows under the boxes and refreshes as you edit. Open a text file into the box, or drop one on it.

camelCase Converter: frequently asked questions

What is camelCase?
Words joined with no spaces, each later word starting with a capital.
What is the difference from PascalCase?
PascalCase also capitalises the first word.
Does it split names that are already camelCase?
Yes, at each lower to upper change.
Are digits kept?
Yes, as part of the words.
Can I convert a whole list?
Yes. Put one name on each line.
Does the camelCase Converter keep a copy of my text?
It stays in your browser tab; the camelCase Converter sends nothing anywhere.
Is there a way to reuse the camelCase Converter result?
Copy the camelCase Converter result, or save it as a text file from the result box.

Related searches for camelCase Converter

  • camelCase Converter online
  • free camelCase Converter
  • camelCase Converter online free
  • camelCase Converter for mobile
  • camelCase Converter without sign up
  • camelCase Converter – Text & Writing Tools

camelCase Converter is a free online tool on MAITBOX, in the Text & Writing Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Text & Writing Tools →

Search tools