Text & String Utilities100% Client-Side

Invert Uppercase and Lowercase

Paste mixed-case text to flip its capitalization one character at a time. Uppercase letters become lowercase and lowercase letters become uppercase, while digits, punctuation, and spacing remain in place. This is useful for creating a predictable variant of a label or examining a string that was typed with inverted casing. Review Unicode letters carefully when the result needs to preserve the original length or be reversible.

Input
12 chars•1 lines
Output

How to Use the Invert Text Case Online

  1. 1Paste the text, including any spaces or line breaks you want to keep.
  2. 2Compare the original and output to see how each letter switched case.
  3. 3Review accented letters and unusual capitals when their case mappings may produce different lengths.
  4. 4Copy the result once it fits the test case, display, or text field where you need it.

Input & Output Examples

The capitals and lowercase letters trade case, with the separators and digits kept in place.

Input Sample
Order-ID_42
Expected Output
oRDER-id_42

The accented letters change case along with the plain letters, and the newline remains.

Input Sample
Été
API
Expected Output
éTÉ
api

Practical Developer Workflows

  • Generate an alternate spelling for a test of case-insensitive matching while keeping the original punctuation.
  • Inspect a short phrase that appears to have been typed with caps lock and shift reversed.
  • Build a predictable mixed-case sample for comparing casing tools or testing a text display.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Case inversion uses a fixed rule for each character, so the same input produces the same result. Random Case makes a new choice between uppercase and lowercase and can produce a different result on later runs.

Explore Other Tools

12 suggested tools

View all tools