AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I convert text to different cases online?

Type or paste your text into AnyTool Text Case Converter. It instantly previews every case — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case and more — each with its own Copy button. Everything runs in your browser, so your text is never uploaded.

  • Live preview of 15+ cases as you type — no convert button needed
  • Programmer cases: camelCase, PascalCase, snake_case, kebab-case, dot.case, path/case, CONSTANT_CASE, Train-Case
  • Smart Title Case with APA, AP and Chicago small-word rules
  • Per-case Copy button plus word and character counts
  • 100% client-side — no upload, no signup, works offline

What is

Text Case Converter

A text case converter changes the capitalization of text between formats such as uppercase, lowercase, title case, sentence case and programmer cases like camelCase, snake_case and kebab-case, using a tokenizer that understands word boundaries, acronyms and Unicode.

Text Tools

Related terms

Title CasecamelCasesnake_caseCapitalize Text

Frequently Asked Questions

No upload happens. All conversion runs in your browser, so your text never leaves your device and it works offline.

Every case transformation is computed locally in your browser using JavaScript. Nothing is sent to a server, there is no tracking, and the page works offline after the first load — so you can safely convert confidential text, code identifiers or drafts.

Title Case capitalizes the principal words; Sentence case capitalizes only the first word of each sentence.

Title Case capitalizes the first letter of each major word, which suits headlines and titles. Sentence case capitalizes only the first letter of each sentence and lowercases the rest, which reads like ordinary prose. AnyTool also offers a smart Title Case that keeps small words like a, an, the, of and to lowercase following APA, AP or Chicago rules.

Yes. A Unicode tokenizer splits words on spaces, punctuation and camelCase humps, so identifiers convert cleanly.

The converter tokenizes your text on whitespace, punctuation, camelCase humps and acronym runs before rebuilding it, so XMLHttpRequest, user_id and "hello world" all convert correctly into camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case, path/case or Train-Case.

Yes. Upload a .txt file and the converter previews every case instantly, then copy whichever one you need.

You can load a plain-text file from your device or paste text directly. The tool reads it in the browser, shows a live grid of every case with word and character counts, and lets you copy any single case with one click — the file is never uploaded.

Detailed Explanation

Methodology

How the Text Case Converter Works

AnyTool Text Case Converter transforms text entirely in the browser. Natural cases (UPPERCASE, lowercase, Title and Sentence case) operate on the original string, while programmer cases first run a Unicode-aware tokenizer that splits text on whitespace, punctuation, camelCase humps and acronym runs, then rejoins the words with the target delimiter and capitalization. Every case is recomputed live as you type.

  • A single tokenizer feeds camelCase, PascalCase, snake_case, kebab-case, dot.case, path/case, CONSTANT_CASE and Train-Case
  • Acronym runs are split intelligently, so HTTPServer becomes HTTP and Server
  • Sentence case capitalizes the first letter after each terminator (. ! ?)
  • Alternating and inverse cases operate per letter, leaving symbols untouched
  • All conversion is client-side JavaScript — no server round-trip
How It Works

Smart, Style-Aware Title Case

Beyond a naive capitalize-every-word Title Case, the tool offers a smart Title Case that keeps minor words lowercase according to recognised style guides. It always capitalizes the first and last word and the word after a colon, and follows the small-word lists for APA, AP and Chicago — for example keeping a, an, the, of, to and short conjunctions lowercase in the middle of a title.

  • Selectable APA, AP and Chicago small-word rules
  • First word, last word and the word after a colon are always capitalized
  • Existing acronyms and MixedCase identifiers like iPhone are preserved
  • Hyphenated compounds are capitalized part by part
Privacy & Security

Privacy and Offline Use

Because all conversion runs in the browser, the text never reaches a server, there is no account or tracking, and the page works offline after first load. A live grid shows every case with its own Copy button alongside word and character counts, and very large inputs are debounced so typing stays smooth.

Case conversion: in-browser (AnyTool) vs typical online converters
CapabilityAnyToolTypical online converters
Text handlingProcessed in your browserOften posted to a server
PrivacyText never leaves deviceMay log or store submitted text
Live previewAll 15+ cases at onceUsually one case per click
Programmer casescamel, snake, kebab, dot, path, TrainOften missing or partial
Smart Title CaseAPA / AP / Chicago rulesRarely style-aware
Works offlineYes (PWA)No
Cost / signupFree, no signupOften ad-heavy or gated

Server-based converters can retain pasted text in logs; AnyTool computes every case locally and uploads nothing.