Case Converter

Convert between different text case styles

UPPERCASE
-
lowercase
-
Title Case
-
Sentence case
-
camelCase
-
PascalCase
-
snake_case
-
kebab-case
-
CONSTANT_CASE
-
Last updated:

About this tool

A case converter transforms text between programming naming conventions: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and more. Different languages and frameworks expect different conventions — JavaScript favors camelCase, Python favors snake_case, CSS classes use kebab-case, environment variables use CONSTANT_CASE — and converting by hand is tedious and error-prone.

How to use

  1. Type or paste the text you want to convert into the input box.
  2. All conversion variants render simultaneously in the results grid.
  3. Find the case style you need (camelCase, kebab-case, etc.) in the appropriate card.
  4. Click Copy on that card to put the result on your clipboard.
  5. Paste it into your IDE, terminal, config file, or commit message.

Common use cases

  • Renaming a database column (snake_case) into a TypeScript field (camelCase).
  • Generating CSS class names (kebab-case) from a design token name.
  • Converting JSON keys to match a different language convention during API integration.
  • Producing CONSTANT_CASE keys for .env files from a human-readable label.
  • Quickly producing a PascalCase class name from a feature description in a ticket.
  • Normalizing inconsistent variable names during a refactor.

Frequently asked questions

Q. What is the difference between camelCase and PascalCase?

A. Both join words without separators, but camelCase keeps the first letter lowercase (myVariable) while PascalCase capitalizes it (MyClass). PascalCase is conventionally reserved for classes, types, and components.

Q. How do you handle acronyms like URL or ID?

A. Modern style guides (Google, Microsoft) treat acronyms as single words: parseUrl, userId. The converter follows that rule for predictable round-trip conversions.

Q. Will the tool guess word boundaries from a CONSTANT_CASE input?

A. Yes. It splits on underscores, hyphens, spaces, and case transitions, so HELLO_WORLD, helloWorld, and hello-world all produce the same canonical word list before re-joining.

Q. Does conversion work with non-English characters?

A. Yes for case-insensitive scripts. Languages without case (Korean, Japanese, Chinese) keep their characters intact and only the separators are adjusted.