Case Converter & Text Transform Tool

Switch text between UPPERCASE, lowercase, Title Case and Sentence case in one click, or turn it into camelCase, snake_case and clean URL slugs. Over 50 transforms, live word count and undo - all in your browser.

0 chars · 0 words
Waiting for a transform
Characters
0
No spaces
0
Words
0
Sentences
0
Lines
0
Paragraphs
0
Reading time
0 sec
Speaking time
0 sec

Pick a transform

More cases

Code & URL

Lines

Spaces & line breaks

Lists

Encode & decode

Find & Replace

Regex tips: $1 inserts a group, \n a new line. \s{2,} finds double spaces, ^\d+\.\s finds list numbers.

Chain transforms
Remember my text

How to change the case of text

  1. Add your text. Paste or type it into the Input box, or drop in a .txt file.
  2. Pick a conversion. Click a case or clean-up button. The result appears in Output and your input stays untouched.
  3. Fine-tune it. Stack conversions with Chain transforms, step back with Undo, or fix words with Find & Replace.
  4. Copy or download. Copy the result to the clipboard or save it as a .txt file.

Text stuck in a picture or a scanned page? Pull it out first with Image to Text (OCR), then clean it up here.

Which case should you use?

CaseExampleBest for
Sentence caseThe numbers tell the story.Body text, UI labels, email subjects
Title CaseThe Lord Of The RingsBook and film titles, buttons
Headline CaseThe Lord of the RingsBlog posts, news headlines (AP, Chicago)
UPPERCASEFREE SHIPPINGShort labels and warnings
lowercasehello worldTags, emails, fixing caps lock
camelCaseuserFirstNameJavaScript and Java variables
PascalCaseUserFirstNameClasses and React components
snake_caseuser_first_namePython, database columns
kebab-caseuser-first-nameCSS classes, file names
CONSTANT_CASEMAX_RETRY_COUNTConstants, environment variables
URL slugstefan-cel-mareClean, SEO-friendly page URLs

Writing for X? Check the length with the Twitter Character Counter before you post.

Title case rules, done right

Most title case converters just capitalize every word. Headline Case follows the style guides instead.

  • Small words stay small. a, an, the, and, but, or, of, in, on, to, by, at - unless they open or close the title.
  • After a colon, start fresh. "Star Wars: A New Hope".
  • Hyphens and apostrophes survive. "Well-Known", "Don't", "Rock’n’roll".
  • Accents are safe. "ȘTEFAN CEL MARE" becomes "Ștefan Cel Mare", never "șTefan".
  • Acronyms on request. Switch on Keep acronyms and NASA or iPhone keep their capitals.

Clean up messy text

Copied text often brings junk along. One click fixes the usual suspects.

  • Text from a PDF - Fix PDF Line Breaks joins wrapped lines and keeps your paragraphs.
  • Double spaces and tabs - Remove Extra Spaces, without merging your lines.
  • Lists and exports - sort, remove duplicates, count repeats. Big tables read better in the CSV Viewer.
  • HTML snippets - Strip HTML Tags, or escape code before you paste it into a page. Preview pages in the HTML Viewer.

Shipping code too? Shrink it with Minify JS/CSS, or hear your text read aloud with Text to Speech.

Frequently Asked Questions

Paste your text into the Input box and click lowercase. The converted text appears in Output, ready to copy or download.

The same works the other way round with UPPERCASE. Accented letters are handled too - "ȘTEFAN" becomes "ștefan" and "straße" becomes "STRASSE".

Title Case capitalizes every word: "The Lord Of The Rings". Headline Case follows AP and Chicago style and keeps small words lowercase: "The Lord of the Rings".

In Headline Case the first and last word, and the word after a colon, are always capitalized.

Articles (a, an, the), short conjunctions (and, but, or, nor, for, as) and short prepositions (at, by, in, of, on, per, to, via, vs). Verbs and pronouns such as "is" and "it" are capitalized.

Hyphenated words keep their hyphen: "a step-by-step guide" becomes "A Step-by-Step Guide".

It lowercases the text and capitalizes the first letter of every sentence - after a period, question mark, exclamation mark and at every new line. The pronoun "I" is capitalized too.

Abbreviations like "e.g." and decimals like "3.5" do not start a new sentence.

They are naming styles for code: camelCase (userFirstName) for JavaScript variables, PascalCase (UserFirstName) for classes, snake_case (user_first_name) for Python and databases, and kebab-case (user-first-name) for CSS classes and URLs.

The converter also splits existing names, so "XMLHttpRequest" becomes "xml_http_request". Each line is converted on its own.

Yes. Switch on Regex and use any JavaScript pattern, with $1 or $<name> for groups and \n for a new line. Whole word, Match case and Multiline are separate switches.

The live counter shows how many matches there are before you replace, and a pattern that runs too long is stopped instead of freezing the page.

Yes. Press Undo or Alt+Shift+Z to step back, and Redo or Alt+Shift+Y to step forward again. Clear and Reset can be undone too.

Switch on Chain transforms to stack several conversions on the output, for example Remove Extra Spaces, then Sentence case.

No. Every conversion runs in your browser, so the text never leaves your device. It handles a megabyte of text without freezing.

Nothing is stored unless you switch on Remember my text, which keeps it in this browser only.

Guides & Tutorials

All 14 guides
Comparison PNG vs JPG: Which Image Format Should You Actually Use? Read the guide Optimization How to Reduce Image File Size Without Losing Quality Read the guide Guide Complete ICO File Guide: Understanding, Opening & Converting Icon Files Read the guide