Dev Hub Solutions

Product studio

Get in touch
Text & writingLive

Case Converter

Convert between camel, snake, kebab, Pascal, title.

About Case Converter

All the common case conversions in one place.

How to use

  1. 1Paste your text.
  2. 2See every case variant computed live.
  3. 3Click any variant to copy it.

Renaming variables, slugifying titles, normalising CSV headers, fixing inconsistent naming in a legacy codebase — case conversion is one of those small operations you do all day. This converter shows every common case variant simultaneously: camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, lower, UPPER. Paste once, click the variant you want.

When each case is the right one

camelCase: variables and functions in JavaScript, Java, Swift. PascalCase: classes, types, React components, file names in many TS/JS projects. snake_case: variables in Python, Ruby, Rust; database columns; YAML keys. kebab-case: URL slugs, CSS classes, HTML attributes, npm package names. SCREAMING_SNAKE_CASE: constants in most languages, environment variables. Title Case: headings and titles in English. Consistency within a codebase matters more than which one you pick — pick the convention the project already uses and stick to it.

Frequently asked questions

Quick answers to the questions people actually ask about Case Converter.

Which cases are supported?

camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, Title Case, lower case, UPPER CASE. Every variant is computed in parallel and shown live as you type.

How does it split words?

On any combination of: whitespace, underscores, hyphens, or case transitions (lowercase → uppercase). So `XMLHttpRequest` splits to `XML`, `Http`, `Request`. So does `xml_http_request`. So does `xml-http-request`. Each split list then renders into every target case.

Does it handle acronyms correctly?

Mostly. `XMLHttpRequest` → `xml_http_request` works as expected. Edge cases (where multiple consecutive caps could be an acronym or a sequence of single-letter words) follow standard heuristics. If you have a specific convention that we get wrong, paste an example and we'll add a rule.