SnapTools

๐Ÿ”ค 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

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.

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.

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.