Typography Cleaner
Fix copy-paste artifacts: double spaces, wrong dashes, broken quotes.
What gets fixed
The cleaner runs eight substitutions in a fixed order. The Windows-1252 encoding fixes address a specific corruption pattern that occurs when text encoded in Windows code page 1252 is incorrectly interpreted as UTF-8 — common in copied Word documents and legacy email content.
| Problem | Fix applied |
|---|---|
| “...†(mangled smart quotes) | Replaced with correct " and " |
| ‘...’ (mangled single quotes) | Replaced with correct ' and ' |
| Three or more consecutive spaces | Collapsed to one space |
| Double spaces | Collapsed to one space |
| ... (three periods) | Replaced with ellipsis character (…) |
| Space before punctuation ( , . ; ) | Space removed |
| Spaces inside parentheses | Removed |
| \r\n or \r line endings | Normalised to \n |
What the cleaner does not fix
The cleaner does not convert straight quotes to smart quotes (use the Smart Quotes tool for that). It does not fix all encoding artifacts — only the specific Windows-1252 smart quote and apostrophe sequences. Other mangled characters require manual correction.
Note: The Windows-1252 encoding fix is applied to specific byte sequences only. If your document has other corruption artifacts (e.g. mangled em dashes appearing as â€"), those are different sequences that this tool does not currently address.
Frequently Asked Questions
Your files stay on your computer. Dad promised.