Velora
Text tools

camelCase Converter

Convert words or phrases to camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE for code variables and file names.

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

CaseExample
UPPERCASETHE QUICK BROWN FOX
lowercasethe quick brown fox
Title CaseThe Quick Brown Fox
Sentence caseThe quick brown fox
camelCasetheQuickBrownFox
PascalCaseTheQuickBrownFox
snake_casethe_quick_brown_fox
kebab-casethe-quick-brown-fox
CONSTANT_CASETHE_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.