Invert Text Case Online (Swap Case)
Swap uppercase to lowercase and lowercase to uppercase in every letter.
Example: "Hello World" → "hELLO wORLD"
What is Invert Text Case?
Flips the case of every alphabetic character: uppercase becomes lowercase and lowercase becomes uppercase. Numbers, spaces, and symbols are unaffected. Also known as "swap case" or "toggle case".
Common Use Cases
Inverting text for visual effects, fixing accidentally CAPS-LOCKED text, creative social media styling, testing case-insensitive parsers, and playing around with text aesthetics.
How It Works
Iterates over each character and applies toUpperCase() on lowercase letters and toLowerCase() on uppercase letters using a simple ternary or character code comparison.
Frequently Asked Questions
What is the difference between invert case and alternating case?
Invert case flips the existing case of each letter (a→A, B→b). Alternating case applies a strict pattern regardless of the original case.
Does it handle Unicode letters?
Yes — it handles all Unicode letters that have case variants.
Related Tools
Uppercase Converter
Convert any text to UPPERCASE instantly.
Lowercase Converter
Convert any text to lowercase instantly.
Alternating Case Converter
Convert text to aLtErNaTiNg CaSe — Spongebob Mocking text generator.
Sentence Case Converter
Convert text to sentence case — first letter capitalised, rest lowercase.