◆ Online Dev Kit

Case Converter

camelCase, snake_case, kebab-case, and more — live.

About this tool

Paste any text or identifier and instantly see it in every common programming and writing case: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, sentence case, and plain upper/lower. It intelligently splits existing camelCase and snake_case input into words first. Runs in your browser.

Common use cases

How it works

Case conversion detects word boundaries using capital letters, underscores, hyphens, and spaces, then reformats according to the target style. camelCase starts lowercase and capitalizes subsequent words. snake_case uses underscores between lowercase words. PascalCase capitalizes every word. Title Case capitalizes the first letter of major words. The converter preserves original word meanings while changing only the formatting.

FAQ

Does it split existing camelCase?

Yes — input like myVariableName is split into words before reformatting, so you can convert between any two cases.

What is CONSTANT_CASE?

Uppercase words joined by underscores, commonly used for constants and environment variables.

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (myVariableName), while PascalCase starts with an uppercase letter (MyVariableName). camelCase is common for variables/functions, PascalCase for classes/types.

When should I use snake_case vs kebab-case?

snake_case (my_variable) is common in Python, Ruby, and database columns. kebab-case (my-variable) is used in CSS classes, HTML attributes, and URLs.