Case Converter – Uppercase, Title Case, camelCase & More

Convert text case in the browser: uppercase, lowercase, title, sentence, camelCase, PascalCase, snake_case, and more. No upload.

Sample lines

About Case Converter

Each button applies one pure string transform in React state—`toUpperCase`, `toLowerCase`, regex-based title/sentence rules, or word-splitting for camel and snake. No external libraries.

How it works (technical)

UPPER / lower: native `String` methods. Title case: `toLowerCase()` then `/\b\w/g` capitalize. Sentence case: lowercases then `/^(\s*\w|[.!?]\s*\w)/g` to upper first letters after sentence breaks.

camelCase: split on whitespace, first word lower + rest Pascal. PascalCase: capitalize each word. snake_case: lower + spaces to underscores.

Alternating / InVeRsE: per-character case flip. All runs client-side only.

When to use it

  • Identifiers

    Turn a phrase into camelCase, PascalCase, or snake_case for code or APIs.

  • Headings

    Switch body text to Title Case or sentence case for drafts.

  • Caps-lock mistakes

    Fix accidental all-caps or inconsistent casing in one click.

How to Use Case Converter

  1. 1Paste or type your text into the text area.
  2. 2Click the case format you need (for example Title Case, Sentence case, or camelCase).
  3. 3Apply another conversion if you want to try a different style.
  4. 4Copy the result when you are done.

Key Features

  • Nine transforms defined in component code
  • One textarea; each button replaces text in place
  • No network

Benefits

  • Predictable string operations
  • Fast on typical paste sizes
  • Local-only text

Frequently Asked Questions

What is Title Case?

Title Case capitalizes the first letter of each word. It is commonly used for headlines, book titles, and headings.

What is Sentence case?

Sentence case capitalizes only the first letter of each sentence, like normal writing. It is the standard format for paragraphs and body text.

Can I convert text with special characters?

Yes. Numbers and punctuation are preserved; alphabetic characters follow the selected case rules.

Related Tools