๐ค Case Converter
Convert text between different letter cases instantly
UPPERCASE
e.g., HELLO WORLD
lowercase
e.g., hello world
Title Case
e.g., Hello World
Sentence case
e.g., Hello world. This is great.
camelCase
e.g., helloWorld
PascalCase
e.g., HelloWorld
snake_case
e.g., hello_world
kebab-case
e.g., hello-world
CONSTANT_CASE
e.g., HELLO_WORLD
aLtErNaTiNg CaSe
e.g., hElLo WoRlD
InVeRsE CaSe
e.g., hELLO wORLD
๐ก Usage Tips
โข camelCase: Common in JavaScript variables and functions
โข PascalCase: Used for class names and components
โข snake_case: Popular in Python and database fields
โข kebab-case: Common in URLs and CSS classes
โข CONSTANT_CASE: Used for constants and environment variables
Convert text between camelCase, snake_case, kebab-case, PascalCase, UPPERCASE, lowercase, Title Case and more in one click. Handy for renaming variables, cleaning up headings or converting identifiers between language conventions โ all in your browser.
Frequently asked questions
When is each case style used?
camelCase is standard for JavaScript variables, PascalCase for class and component names, snake_case for Python and databases, kebab-case for URLs and CSS classes, and SCREAMING_SNAKE_CASE for constants. Conventions vary by language, so converting between them is a common chore.
How does it split words to convert between cases?
Word boundaries are detected from spaces, hyphens, underscores and capital letters. So "userAccountId", "user_account_id" and "user-account-id" are all recognized as the same three words and can be converted to any style.
What is the difference between Title Case and Sentence case?
Title Case Capitalizes Most Words, as in headlines. Sentence case capitalizes only the first word and proper nouns, like a normal sentence. Style guides differ on which small words stay lowercase in titles, so review the output for headlines.