camelCase Converter
Convert words or phrases to camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE for code variables and file names.
Result
Naming conventions in code
JavaScript and Java use camelCase for variables and functions and PascalCase for classes. Python uses snake_case for variables and functions and PascalCase for classes. Constants are usually CONSTANT_CASE. CSS classes and URLs typically use kebab-case.
Pick one convention per project and stick to it; consistency matters more than which style you choose.
What each case looks like
| Case | Example |
|---|---|
| UPPERCASE | THE QUICK BROWN FOX |
| lowercase | the quick brown fox |
| Title Case | The Quick Brown Fox |
| Sentence case | The quick brown fox |
| camelCase | theQuickBrownFox |
| PascalCase | TheQuickBrownFox |
| snake_case | the_quick_brown_fox |
| kebab-case | the-quick-brown-fox |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX |
More text tools
Questions
Which words stay lowercase in Title Case?
Short articles, conjunctions and prepositions (a, an, the, and, but, or, of, in, on, at, to, for, by) unless they are the first or last word.
Is my text sent anywhere?
No. Conversion happens in your browser.