Text

Case Converter

Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and sentence case. Great for renaming variables, keys, and slugs.

input
camelCase—
PascalCase—
snake_case—
CONSTANT_CASE—
kebab-case—
Train-Case—
dot.case—
Title Case—
Sentence case—
lower case—
UPPER CASE—

About Case Converter

Different languages and file conventions want different casing — camelCase for JS variables, snake_case for Python and SQL, kebab-case for URLs and CSS, CONSTANT_CASE for env vars. This converter takes any text or identifier, splits it into words intelligently, and re-joins it in whichever convention you need, all at once.

Frequently asked questions

How does it split words?+

It detects boundaries from spaces, hyphens, underscores, and camelCase humps, so 'getUserID', 'get_user_id', and 'get user id' all normalise to the same words.

What's the difference between camelCase and PascalCase?+

camelCase lowercases the first word (myVariable); PascalCase capitalises every word including the first (MyVariable), typically used for class and type names.

Can I use this to make URL slugs?+

Yes — kebab-case lowercases everything and joins words with hyphens, which is the standard slug format for clean URLs.

Related tools