How to swap case
- Paste the text. Digits and punctuation can stay in the paste. They will not change.
- Click Swap case. Every letter that has an opposite case flips. The rest of the characters are copied.
- Click again and the letters flip back, as long as no letter expanded into two characters. Copy when the box is the version you want.
Hello becomes hELLO. NASA becomes nasa. A second click returns Hello and NASA. That round trip is the useful test. If the second click does not restore the paste, a letter changed length, or the exceptions list wrote a spelling back after the swap and the second swap started from that spelling instead of from the swap.
When a swap is the right tool
Use this when the whole paste is upside down and you want every letter flipped, with no guessing. The common accident is Caps Lock combined with Shift. Intended capitals were typed with Shift, so they came out lowercase, and the other letters came out uppercase. tHE qUICK swaps to The Quick. The Caps Lock page does this same swap, but only when uppercase letters outnumber lowercase letters. This page always swaps. Use it when you have already decided, including when the Caps Lock page refuses because the line is half and half.
Do not use a swap as a substitute for Sentence case or Title Case. A normal sentence swapped is not sentence case. Hello there. becomes hELLO THERE., which is not a style anyone asked for in a style guide. The home buttons lowercase first and then capitalize the places a sentence or a title needs. Swap does not lowercase first. It flips whatever is there.
Alternating case is also a different pattern. It forces every other letter into a rhythm and ignores the case you typed. Swap preserves the structure of the case you typed and only inverts it. If the joke you want is aLtErNaTiNg, use the alternating page. If the text is a photograph of a keyboard accident, swap or the Caps Lock repair is the one that matches the accident.
Edge cases
Characters with no case stay put. Digits, spaces, emoji, and most punctuation are unchanged, and they do not affect neighboring letters. A URL can be swapped, which will break it if any letter in the host was case-sensitive. Host names usually are not, but paths sometimes are. Read a swapped URL before you publish it. Better: do not swap a URL. Select the words around it on the home page instead. This page has no selection mode. It flips the whole box.
The German eszett is the length trap. JavaScript uppercases ß to SS. A swap of ß therefore becomes SS, and a second swap becomes ss, not ß. The round trip failed because the uppercase form is two characters that each have their own lowercase. Turkish dotted and dotless I can also surprise you, because this page uses the default Unicode case map, not a Turkish locale. If a name depends on that distinction, do not trust a blind swap. Change those letters yourself.
Exceptions run after the swap. A saved NASA turns a swapped nasa back into NASA, so the word looks like it did not flip. It did flip, and then the list restored it. The status behavior on this page reports the button, not a separate exceptions sentence. If a brand refused to flip, check the list. Identifier styles are not this tool either. snake_case and camelCase live on the developer case converter, and they rebuild separators instead of flipping letters.
Line breaks stay. A swap does not join lines and does not change spaces. If the paste also has double spaces or curly quotes, run space cleanup or straight quotes as their own pass. Doing them after the swap is safe, because those tools do not look at letter case except where the exceptions list writes a spelling. Doing them before is also safe. They do not invent capitals.
An all-caps paragraph becomes all lowercase. That is a correct swap and it may be what you wanted before Sentence case. It may also throw away intentional acronyms. The Caps Lock page warns you by refusing mostly-lowercase text, but it will still swap a fully uppercase paragraph, because every letter is uppercase. This page does not warn. You asked for the swap. Use the diff if you want the before and after on screen and a way to undo without keeping a second copy.
Frequently asked questions
Why is swap different from the Caps Lock button?
Swap always flips. Caps Lock flips only when most letters are already uppercase, so a normal sentence is left alone if you click it by mistake.
Will a second click restore the text?
Yes, for ordinary Latin letters. It will not restore ß, because the uppercase form is SS. Exceptions can also rewrite a word between the two clicks.
Does this lowercase the text first?
No. Sentence case and Title Case do that. Swap flips the letters that are already there.
Can I swap one word?
Not on this page. The home converter can convert a selection, but it has no swap button. Cut the word out, swap it here, and put it back, or swap the whole box and undo the words you wanted to keep by editing them.