Free online text tool

Invert Case

Invert Case swaps every upper case letter to lower case and every lower case letter to upper case, so Hello World becomes hELLO wORLD. Type or paste your text below, click the button and copy the result. It is free and runs in your browser.

Invert Case Text Tool

0Character Count
0Character Count (without spaces)
0Word Count
0Sentence Count
0Paragraph Count
0Line Count

Invert Case Example

Before

Hello World, This Is Invert Case

After

hELLO wORLD, tHIS iS iNVERT cASE

Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.

Suggest a New ToolProvide Feedback on This Tool

What is invert case?

Invert case, also called swap case or toggle case, flips the case of every letter. Capital letters become small and small letters become capital, so "Hello World" becomes "hELLO wORLD".

A common use is fixing text typed with Caps Lock left on. Text such as "hELLO wORLD" turns back into "Hello World" with one click.

The tool changes only letters. Numbers, spaces and punctuation stay as typed. If you invert the text twice, you get your original text back.

Invert case examples

Each letter is flipped to the opposite case. Numbers and spaces do not change.

Your textInverted result
Hello WorldhELLO wORLD
hELLO wORLDHello World
iPhone 15 ProIpHONE 15 pRO
This Is A TesttHIS iS a tEST

How to invert the case of text

  1. 1
    Enter your text
    Type or paste text into the box, or import a text file.
  2. 2
    Click Invert Case
    Every upper case letter becomes lower case and every lower case letter becomes upper case.
  3. 3
    Check the result
    The text in the box changes at once. Use Undo if you change your mind.
  4. 4
    Copy it
    Click Copy and paste the text where you need it.

When to use invert case

Good for

Fixing text typed with Caps Lock on, flipping the style of a short phrase and quick text tricks for posts or tests.

Check first

The result depends on your original capitals. Text that was not typed with normal capitals will not turn into neat sentences. Use Sentence Case or Title Case for that.

Other case tools

For a letter-by-letter pattern use Alternate Case. For all capitals use Upper Case. For all small letters use Lower Case.

Invert case FAQ

What is invert case?

Invert case swaps the case of every letter. Upper case letters become lower case and lower case letters become upper case, so Hello World becomes hELLO wORLD. It is also called swap case or toggle case.

How do I invert the case of text?

Paste or type your text into the box and click Invert Case. Every upper case letter turns lower case and every lower case letter turns upper case. Click Copy to use the result.

How do I fix text typed with Caps Lock on?

If you typed with Caps Lock on, the text looks like hELLO wORLD. Click Invert Case and it becomes Hello World. This works best when the original text followed normal capital rules.

What is the difference between Invert Case and Alternate Case?

Invert Case flips each letter to the opposite of what it was, so your original capitals decide the result. Alternate Case ignores the original and switches between lower and upper case letter by letter.

What happens if I invert the case twice?

You get your original text back, because each letter is flipped twice. This holds for normal letters. Special letters such as the German ß stay unchanged.

Does invert case change numbers, spaces or symbols?

No. Only letters that have an upper and lower case form change. Numbers, spaces, punctuation and emoji stay as you typed them.

Does it work with accented letters and other languages?

Yes for letters that have both cases, such as é, ü or ñ. Scripts without letter case, for example Urdu, Arabic or Chinese, are left unchanged.

Is invert case the same as Upper Case or Lower Case?

No. Upper Case turns every letter into a capital and Lower Case turns every letter small. Invert Case flips each letter, so the result is a mix that depends on your original text.

Is this tool free and is my text private?

Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server. Still, avoid pasting passwords or other secrets into any web page.

Looking for more text tools?

Browse Basic Tools

Last updated: 22 October 2026