camelCase converter
Join words into a single camelCase name, ready for variables and functions in code.
Advertisement
0 characters, 0 words
0 characters, 0 words
Drop your text file to load it
Advertisement
About this tool
camelCase removes spaces and punctuation, writes the first word in lowercase and starts every following word with a capital. The capitals in the middle look like the humps of a camel.
It is the usual style for variables and functions in JavaScript, Java, Swift and many other languages.
Example
Before
convert this textAfter
convertThisTextWhen to use it
- Naming variables and functions
- JSON keys and API fields
- Turning labels or column headings into code names
- Converting snake_case or kebab-case names
Advertisement
Questions
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariable). PascalCase starts with a capital (MyClass).
Does it handle snake_case and kebab-case input?
Yes. Underscores, hyphens and spaces are all treated as word breaks, and existing camelCase words are split at their capitals.
What happens to symbols?
Punctuation and symbols are removed. Letters and numbers are kept.
Other case converters
- UPPERCASE
- lowercase
- Title Case
- Sentence case
- PascalCase
- snake_case
- kebab-case
- CONSTANT_CASE
- tOGGLE cASE
- aLtErNaTiNg