How to repair a Caps Lock paste
- Paste the text exactly as it came out. Do not lowercase it first. The button needs to see which letters are uppercase.
- Click Fix Caps Lock. Read the status line. It says whether the line was swapped or left alone, and why.
- If the guess was wrong, the letters are only a swap away. Use swap case to force the flip, or click Fix Caps Lock only after you have a copy, because this page does not keep an undo stack. The diff page does.
Caps Lock on a typical keyboard makes an unshifted letter come out uppercase and a shifted letter come out lowercase. People who do not notice type the whole line in capitals. People who do notice, and who hold Shift for the capitals they wanted, produce the mixed pattern: tHE qUICK for "The Quick". Both patterns have more uppercase letters than lowercase letters, or no lowercase letters at all. This button swaps case only in that situation.
The rule
The button counts uppercase letters and lowercase letters. Other characters are ignored, so digits and spaces do not vote. If there is no uppercase letter, the text is left alone and the status says so. If uppercase letters outnumber lowercase letters, every letter is swapped. If the two counts are equal, the text is left alone. A tie is not evidence. Ab is one and one, and it stays Ab.
A fully uppercase line is the "nobody touched Shift" accident. HELLO becomes hello. The status calls that out as every letter being uppercase, because the result is all lowercase and you may have meant the shouting. A headline that was intentionally all caps will be flattened. Undo it by swapping again, or do not run this button on a label that is supposed to be NEW or BETA. The uppercase mistakes guide treats those short labels as a fair use of capitals.
The mixed pattern is the one the button is best at. tHE qUICK has more uppercase letters than lowercase letters, so it swaps to The Quick. Intended capitals, which were shifted and therefore stored as lowercase, become uppercase. The unshifted letters, stored as uppercase, become lowercase. You do not mark the capitals yourself. The keyboard already marked them by holding Shift.
Acronyms and the exceptions list
Two accidents treat NASA differently. If Caps Lock was on and you typed the acronym without Shift, the letters are already uppercase and a full-line swap turns NASA into nasa. Save NASA on the exceptions list and the restore writes NASA back after the swap. If Caps Lock was on and you held Shift because you thought you needed capitals, the acronym was stored as lowercase nasa in a line that is otherwise uppercase, and the swap itself produces NASA. The list is optional in that second case and necessary in the first.
The list runs after the decision. It does not vote. A line of ordinary sentence case with one saved brand is still mostly lowercase, so the button leaves it alone and then the list may still rewrite the brand if the brand's current spelling does not match the saved one. On this page the status mentions the restore when the text changed because of the list. Read it. A "left alone" line that also says spellings were restored did not swap. It only applied the list.
iPhone and eBay are the same idea. The Caps Lock accident rarely produces those internal capitals by itself. The list is how they survive a later Sentence case or Title Case pass. This button will not invent a lowercase i. If the source is IPHONE and you swap a fully uppercase line, you get iphone, and the list can turn that into iPhone if that is the spelling you saved. That combination is worth a trial on the exceptions page before you run a long column.
Edge cases
Mostly lowercase text is protected. Hello has more lowercase letters than uppercase letters, so a misclick does nothing. That is the difference from swap case, which would turn it into hELLO immediately. Use swap when you have decided the protection is wrong. A line that is exactly half and half is also protected. Add or remove a letter if you need the vote to move, or use swap.
The count is for the whole box, not for each line. A paste that mixes one shouted paragraph with one normal paragraph can be mostly uppercase overall and swap the normal paragraph too. Split them. The bulk Caps Lock button judges each line, which is safer for a column and worse for a paragraph that was wrapped onto many lines. A wrapped all-caps paragraph is one thought. Judging it per line still swaps each line. Judging it as a whole swaps it once. Either way the result is lowercase. The danger is a mixed paste, not a uniform one.
Letters without a case do not vote and do not change. Emoji, digits, and punctuation stay. The eszett uppercases to SS under the swap, so a line that contains ß can grow. The inverse page documents that trap. This button uses the same swap once it decides to act. Turkish dotted I follows the default case map, not a Turkish locale. Do not use the button on text where that difference matters.
The button does not remove extra spaces, does not change quotes, and does not insert hyphens. Clean those on their own pages after you trust the letters. It also does not detect Caps Lock by talking to the keyboard. The key is not still down. The button only sees the text you pasted. A password field, a one-time code, and a serial number are bad inputs. A code that was typed with Caps Lock on may be wrong, and swapping it may make a different wrong code. Retype secrets. Do not paste them here.
Frequently asked questions
Why did nothing happen?
Most letters were lowercase, or upper and lower were tied, or there was no uppercase letter. The status line names which one. Use swap case if you still want the flip.
Why did my all-caps label become lowercase?
Every letter was uppercase, so the button treated it as Caps Lock with no Shift. Swap again if the capitals were intentional, or keep short labels away from this button.
Does it look at each line?
On this page, no. The whole box is one vote. Bulk mode votes per line.
Can it restore NASA?
Only if NASA is on your exceptions list, and only after the swap. The list is not a detector. It is a spelling you saved.