Text Case Converter

Naming conventions vary across programming languages and style guides. This converter handles all common cases: snake_case (Python), camelCase (JavaScript), PascalCase (C#/TypeScript), kebab-case (CSS/HTML), and more.

Built by Bob Article by Lace QA by Ben Shipped
snake_case
hello_world_foo_bar
kebab-case
hello-world-foo-bar
camelCase
helloWorldFooBar
PascalCase
HelloWorldFooBar
SCREAMING_SNAKE
HELLO_WORLD_FOO_BAR
dot.case
hello.world.foo.bar
Title Case
Hello World Foo Bar
UPPER CASE
HELLO WORLD FOO BAR
lower case
hello world foo bar

Frequently asked questions

Ratings & Reviews

Rate this tool

Sign in to rate and review this tool.

Loading reviews…

What does the Text Case Converter do?

The Text Case Converter rewrites any block of text into a different capitalization style with one click. Paste in "the quick brown fox jumps over the lazy dog" and you can get back THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG, the quick brown fox jumps over the lazy dog, The Quick Brown Fox Jumps Over The Lazy Dog, or The quick brown fox jumps over the lazy dog — UPPER, lower, Title, or Sentence case — depending on which button you press.

This article covers the four standard cases that show up in everyday writing: UPPERCASE, lowercase, Title Case, and Sentence case. If you're a developer who needs camelCase, snake_case, PascalCase, or kebab-case for variable names or URL slugs, head over to Case Converter — same family of tools, more conversions, code-flavored UI. Both run entirely in your browser, both are instant, neither sends your text anywhere.

Most case-conversion tools online either bury the feature inside a fifteen-tool toolbar with autoplaying video ads or push you toward a "Pro" tier. This one converts cases. Paste, click, copy, get on with your day.

When you'll reach for it

Case conversion sounds trivial until you've done it by hand twenty times in a row. The cases below come up most often:

  • Writers and editors fixing a headline pasted from a press release in all caps, or normalizing chapter titles across a manuscript
  • Students reformatting citation titles for a bibliography, where some style guides require Title Case and others require Sentence case for paper titles
  • Marketers and copywriters moving copy between platforms — a tweet draft written in lowercase needs Title Case for the LinkedIn version
  • Anyone who's accidentally typed a paragraph with caps lock on and doesn't want to retype the whole thing
  • Email and chat moderators rewriting ALL-CAPS shouting into a calm Sentence-case reply
  • Teachers preparing worksheets and quizzes where the same question needs to appear in different cases for different exercises
  • SEO specialists normalizing meta titles and headings across a site audit

The other audience is anyone who's pasted text out of a PDF, a presentation, or a Google Doc and ended up with weird mixed-case output. PDFs in particular have a habit of pulling titles in as full uppercase and body copy in mixed case, so a quick run through the converter cleans the whole block in one pass.

The four cases, with a worked example

Let's run the same input through all four conversions. Starting text:

the quick brown fox jumps over the lazy dog

Each button rewrites it differently:

  • UPPERCASETHE QUICK BROWN FOX JUMPS OVER THE LAZY DOG — every letter capitalized. Used for emphasis, signage, legal warnings, acronyms.
  • lowercasethe quick brown fox jumps over the lazy dog — every letter dropped to lowercase. Used for casual writing, modern brand voices, and URL-style normalization.
  • Title CaseThe Quick Brown Fox Jumps Over The Lazy Dog — first letter of every word capitalized. Used for headlines, article titles, book chapters, table headers.
  • Sentence caseThe quick brown fox jumps over the lazy dog — first letter of the first word only, plus proper nouns. The default capitalization for normal prose.

The same logic applies to longer text. Paste in three paragraphs of an article and the conversion runs on every word at once. Sentence case is especially useful here because it's the only conversion that respects sentence boundaries — every ., ?, or ! resets the rule, so the second sentence also gets a capital first letter.

What about Title Case rules for small words like the, of, and, in? Different style guides treat these differently. AP style lowercases articles, prepositions, and conjunctions under four letters. Chicago Manual capitalizes all prepositions under five letters depending on usage. APA capitalizes most words longer than three letters. The Title Case button on this tool applies the most common rule — capitalize the first letter of every word — which works for the majority of casual headline and titling needs. If you're writing for a specific publication, double-check their style sheet and tweak any small-word edge cases by hand.

Picking the right case for the job

Knowing how to convert is one thing. Knowing which case actually belongs is the harder skill. Here's a quick map of the most common cases to the moments they're right.

Use case Recommended case Why
Body of an email, a chat message, a blog post paragraph Sentence case Default prose. Anything else reads as either shouting (UPPER) or casual-only (lower).
Headlines, page titles, chapter names, table column headers Title Case Standard for English-language headings. AP, Chicago, and APA all use a Title Case variant.
Modern brand wordmarks, casual social posts, indie newsletter taglines lowercase Reads as low-key, modern, intentional. Brands like glossier, shopify (originally), and many indie publications use this.
Legal warnings, contract clauses, signage, single-word emphasis UPPERCASE Standard convention for "this matters." Reading uppercase prose for paragraphs is hard on the eye, so keep it short.
Acronyms (NASA, IBM, FBI, NATO) UPPERCASE Universal convention. Even when the surrounding text is lowercase or sentence case, acronyms stay all caps.
Book titles, film titles, song titles in body copy Title Case (often italicized) Style-guide standard for referencing published works.
Subject lines of formal emails Sentence case Reads as human and approachable. Title Case in subject lines often pings as marketing or auto-generated.
Push notifications and short UI messages Sentence case Apple's and Google's interface guidelines both default to Sentence case for system text.
Variable names, function names, code identifiers camelCase, snake_case, PascalCase Code style depends on language. See Case Converter for these.

One pattern in there worth pulling out: Sentence case beats Title Case for almost every UI moment. Push notifications, button labels, navigation items, page subheads — all read better in Sentence case because they sound like a person speaking, not a department writing a press release. The big tech companies switched their guidelines to Sentence case for UI text years ago, and the writing reads warmer for it. If you're not sure which to use, Sentence case is the safer default for anything that talks to a user directly.

How the converter works

The Text Case Converter runs entirely in your browser. There's no server call, no upload, no copy of your text saved anywhere. The moment you close the tab, both the input and the output are gone — safe for confidential drafts, internal docs, or unpublished work.

Each conversion is a few lines of JavaScript:

  • UPPERCASE calls toUpperCase() on every character. Diacritics and special characters are preserved correctly — café becomes CAFÉ.
  • lowercase calls toLowerCase() on every character. Same rules in reverse.
  • Title Case splits the text on whitespace, capitalizes the first letter of each chunk, and joins them back. The conversion does not try to be clever about small words — it capitalizes everything. If you need AP or Chicago title-casing with small-word exceptions, expect to do a final pass by hand.
  • Sentence case finds sentence boundaries (text ending in ., ?, or !) and capitalizes the first letter after each. Existing capitalization elsewhere is preserved if it looks like a proper noun (a single capital letter in the middle of a word — iPhone, McDonald's, eBay — is left alone).

The conversion runs instantly even on long documents. Pasting a 50,000-character article is no slower than pasting a 50-character sentence; everything completes in well under a millisecond.

A few edge cases worth knowing

Most case conversions are straightforward. A handful of gotchas catch people:

  • Proper nouns in Sentence case. The conversion doesn't have a dictionary of every proper noun, so a name like john smith won't auto-capitalize to John Smith. You'll get John smith if it's the first word of a sentence, but the second name stays lowercase. Fix proper nouns by hand after conversion.
  • Acronyms in lowercase. Running NASA through lowercase gives you nasa. That's what the function does — and it's almost never what you want. Decide whether to keep acronyms uppercase before you run the conversion, or restore them by find-and-replace afterward.
  • Hyphenated words in Title Case. well-known becomes Well-known, not Well-Known. Most style guides actually agree with that — the second half of a hyphenated word stays lowercase unless it's a proper noun. If you specifically need both halves capitalized, edit after.
  • Smart quotes and special punctuation. Curly quotes ("like these") and em-dashes are preserved exactly. The case conversion only touches letters, never punctuation.
  • Numbers and special characters. Numbers, symbols, and spaces pass through unchanged. Only the alphabetic characters are converted.

A small writing rule. When you have to convert a paragraph from UPPERCASE to something readable, go to lowercase first, then convert that to Sentence case. Going straight from UPPER to Sentence case sometimes leaves middle-of-sentence words inconsistently capitalized depending on how the original text was written. Two clicks is fine.

If you're working with code identifiers — variable names, function names, file names — this tool is the wrong stop. Head to Case Converter for camelCase, snake_case, PascalCase, and kebab-case conversions. The math is similar, but the splitting rules and output format are different enough that they live in a separate tool.

Related text tools

The Text Case Converter sits in a small family of text-cleanup tools, all built for the same idea: paste text, get the cleaned-up version, no signup.

  • Case Converter — same idea, but for code styles: camelCase, snake_case, PascalCase, kebab-case. Use it for variable names, URL slugs, and file names.
  • Word Counter — when you need to know how much text you have before reformatting it. Works hand-in-hand with case conversion for length-capped formats.
  • Character Counter — for the moments when character count matters more than word count, like meta descriptions or tweet drafts.
  • Text Diff Checker — after converting cases, this is the fastest way to verify that nothing else changed in your paragraph.
  • Remove Duplicate Lines — useful when normalizing case across a list of items where duplicates appear under different capitalizations.

Frequently asked questions

Is my text stored anywhere?

No. Every conversion happens in your browser using JavaScript. Your text never reaches any Microapp server. Closing the tab removes the input and the output from memory.

What's the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word: The Quick Brown Fox. Sentence case capitalizes only the first letter of each sentence plus any proper nouns: The quick brown fox. Title Case is for headlines, book titles, and table headers. Sentence case is for everything else — body copy, UI text, subject lines.

Does Title Case follow AP or Chicago style?

Neither, strictly. The Title Case button capitalizes the first letter of every word, no exceptions for short prepositions or articles. AP lowercases articles, prepositions, and conjunctions under four letters; Chicago has slightly different rules. For published-style accuracy, run the conversion and then drop the small words back to lowercase by hand. For everyday use — internal docs, email headers, table titles — the simple rule is fine.

How do I convert variable names to camelCase or snake_case?

Use Case Converter instead. This tool handles English-language cases (UPPER, lower, Title, Sentence). Code-style cases — camelCase, snake_case, PascalCase, kebab-case — live in the other tool because the splitting rules and output formats are different.

Why does NASA become "nasa" when I run lowercase?

Because lowercase doesn't know what an acronym is — it just lowercases every letter. If you want to preserve acronyms, decide which ones matter before converting, find-and-replace them with placeholders, run the conversion, and swap the placeholders back. For most cases, restoring acronyms by hand after the conversion is faster than the workaround.

Does the converter work for languages other than English?

Yes for any language that uses a Latin-script alphabet — Spanish, French, German, Portuguese, Italian, Polish, and so on. Diacritics are preserved correctly (café becomes CAFÉ, ñ becomes Ñ). For Cyrillic, Greek, Arabic, Hebrew, and CJK scripts, casing rules are either nonexistent or different from English, so the conversion may not do what you expect. Latin-script languages are the safe range.

Is there a maximum text length?

Practically, no. The converter has handled documents over a million characters with no slowdown. Whatever your browser can hold in memory will work.

Can I undo a conversion if I picked the wrong case?

The browser keeps both the input field and the output. If you converted to UPPERCASE by mistake, you can re-run lowercase or Sentence case on the result — most of the time, that gets you what you wanted. The one tricky case is going from UPPERCASE back to Title Case, which can lose information about which words were originally capitalized. If accuracy matters, keep a copy of the original before converting.