Case Converter

Paste any text and instantly convert it to lowercase, UPPERCASE, camelCase, snake_case, and more.

10 case formatsLive conversionNo data stored

lowercase

All letters in lower case

—

UPPERCASE

All letters in upper case

—

Title Case

First letter of each word capitalised

—

Sentence case

First letter of each sentence capitalised

—

camelCase

No spaces, each word capitalised except the first

—

PascalCase

No spaces, every word capitalised

—

snake_case

Lowercase words joined by underscores

—

kebab-case

Lowercase words joined by hyphens

—

CONSTANT_CASE

Uppercase words joined by underscores

—

aLtErNaTiNg

Alternates between lower and upper case letters

—

What is a Case Converter?

A case converter transforms text between common capitalisation and naming conventions used in programming, writing, and data formatting. Common cases include camelCase (JavaScript variables), PascalCase (class names), snake_case (Python variables and database columns), kebab-case (CSS classes and URLs), SCREAMING_SNAKE_CASE (constants), and Title Case or Sentence case for headings and prose. Converting between them manually is tedious and error-prone — a converter handles word boundary detection and transformation instantly.

Common Use Cases

  • Convert database column names (snake_case) to API field names (camelCase)
  • Transform CSS class names (kebab-case) to JavaScript variable names (camelCase)
  • Normalise user-input strings before storing them as identifiers
  • Rename variables or files to match a new codebase's naming convention
  • Convert prose titles to slug-friendly URL paths (kebab-case)

How It Works

The converter first splits the input into words by detecting boundaries: spaces, underscores, hyphens, and transitions from lowercase to uppercase (for camelCase input). Each word is then lowercased, and the target format is applied — joining with the appropriate separator, capitalising the first letter of each word where needed, or uppercasing the entire string. The transformation is reversible: any supported case can be converted to any other.

Frequently Asked Questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (myVariable). PascalCase (also called UpperCamelCase) starts with an uppercase letter (MyVariable). PascalCase is typically used for class names and React components; camelCase for variables and function names.

Why do different languages use different naming conventions?

Naming conventions are driven by community style guides and historical precedent. Python's PEP 8 mandates snake_case; JavaScript conventions favour camelCase; CSS uses kebab-case. These are not enforced by the languages themselves but by linters and peer review.

Can I convert multiple lines at once?

Yes — paste multiple identifiers or words, one per line, and the converter will process each line independently, preserving the line structure in the output.

Smart word splitting: Input is automatically split into words regardless of whether it uses spaces, camelCase, snake_case, or kebab-case — so all identifier-style formats convert correctly in both directions.

All conversion happens locally in your browser. No text is sent anywhere.