Skip to content
Appachi Tools

Case Converter

Convert text between cases instantly — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Paste once and copy whichever format you need.

0 chars · 0 words
UPPERCASE
lowercase
Title Case
Title Case (AP style)
Sentence case
camelCase
PascalCase
snake_case
kebab-case
CONSTANT_CASE
dot.case

About the Case Converter

Naming conventions differ everywhere: APIs use snake_case, JavaScript uses camelCase, components use PascalCase, CSS uses kebab-case, and constants use CONSTANT_CASE. Retyping a phrase into a different convention wastes time and introduces typos.

This converter transforms your text into every common case at once so you can grab the right one. It handles both ordinary sentences and code identifiers, splitting on spaces, underscores, hyphens and camel-case boundaries — all in your browser.

These conventions aren't arbitrary style choices — they trace to real constraints. snake_case and kebab-case exist because early languages and URLs couldn't use spaces in identifiers; camelCase and PascalCase emerged as a way to fake word boundaries without spaces or extra characters at all, popularized by languages like Smalltalk and later Java. CONSTANT_CASE (all-uppercase snake_case) became a convention specifically to make constants visually stand out from ordinary variables at a glance, independent of any technical requirement.

Mixing conventions within one codebase is one of the more common, easily-avoidable sources of review friction and subtle bugs (a config key expected as snake_case but written camelCase silently fails to match) — which is why most style guides and linters enforce one convention per context rather than leaving it to individual preference.

How to use it

  1. 1Paste or type your text.
  2. 2Pick the case you want from the list of results.
  3. 3Copy the converted text.

Features

  • 10+ case formats including camelCase, snake_case and kebab-case
  • Converts as you type
  • Live character and word count
  • One-click copy of any result
  • Works on code identifiers and prose alike

Frequently asked questions

What case formats are supported?

UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case.

What is the difference between camelCase and PascalCase?

Both join words without spaces; camelCase lowercases the first word (myVariable) while PascalCase capitalizes it (MyVariable).

Does it work with code identifiers?

Yes. It splits on spaces, hyphens, underscores and camel-case boundaries, so it converts existing identifiers correctly.

Is my text uploaded?

No. All conversion happens locally in your browser.

Why do different languages/platforms use different case conventions?

Largely historical: snake_case and kebab-case go back to eras when identifiers or URLs couldn't contain spaces; camelCase and PascalCase solved the same problem without underscores or hyphens at all, and different language communities (Python, JavaScript, CSS, Java) each settled on their own convention as a norm.

Which case should I use for a JSON API field?

There's no universal rule, but snake_case is the more common convention in REST API payloads (especially in Python/Ruby-influenced APIs), while camelCase is more common in JavaScript-facing APIs. Consistency within one API matters more than which one you pick.

What is CONSTANT_CASE used for?

All-uppercase snake_case, conventionally reserved for constants (fixed values that don't change at runtime) so they're visually distinguishable from regular variables at a glance — a readability convention, not a language requirement.

Related tools