Skip to main content
TOP free online tools Your Workbench
English

Change Text Case

Convert text instantly across UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and Alternating cAsE.

Local browser processing — zero server uploads
0 chars
0 chars

How to Use

  1. Select your target format from the 10 case buttons at the top of the Change Text Case workbench.
  2. Paste or type text into the Input text box (or click Sample to try a multi-line example).
  3. Switch freely between case modes while keeping your text and active mode synchronized in real time.
  4. Click Copy to copy the converted text or Reset to clear the input box.

What is Change Text Case?

A text case converter switches strings between editorial capitalization rules (UPPERCASE, lowercase, Title Case, Sentence case, Alternating cAsE) and software naming conventions (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE). Writers, students, and programmers use it to fix accidental caps-lock text, format headings, and normalize variable or URL slug names in seconds.

How It Works

When you type or paste text and click any mode button, `transformTextCase` preserves your active mode across edits and recalculates the output live. Editorial modes handle apostrophes (keeping "Don't" intact in Title Case) and sentence boundaries after periods, exclamation marks, question marks, or newlines; identifier modes use `splitCaseWords` to split camelCase acronyms and punctuation per line before joining.

Common Use Cases

  • Fixing accidental Caps Lock paragraphs — restore normal Sentence case or Title Case capitalization without retyping
  • Converting API and database identifiers — transform camelCase properties into snake_case SQL columns or CONSTANT_CASE env vars
  • Creating clean URL slugs and CSS classes — turn multi-word headings into lowercase kebab-case tokens line by line
  • Formatting stylistic titles and social copy — toggle instantly between UPPERCASE, Title Case, and Alternating cAsE
Technical Details

Pure TypeScript string converter (`transformTextCase`, `splitCaseWords`) supporting 10 `TextCaseMode` styles, acronym-aware camel/Pascal boundary splitting, per-line identifier conversion, sticky `activeMode` state across edits and Reset, live split-pane preview, Sample preset, CopyButton, and ResetButton.

FAQ

Which text case formats are supported?

You can convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and Alternating cAsE.

Does the converter preserve my active case mode as I edit text?

Yes. Your selected mode stays active across edits and even after clearing the input with Reset, updating the converted output live on every keystroke.

How does it handle multi-line identifier lists?

For developer formats such as camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE, each line is converted independently so multi-line field lists keep their line breaks.

Is any text sent to a server?

No. Every transformation executes synchronously in your browser with zero uploads.