Smart cleaner
A safe all-purpose cleanup for text copied from documents, websites, emails, and chat apps.
How to use smart cleaner
The smart cleaner is for when you can see the text is messy but do not want to diagnose why. It runs the three fixes that solve most pasted text at once — stray blank lines, uneven spacing, and invisible characters — and each one can be switched off.
- 1Paste the text as it came
Put the raw paste in the left editor without tidying it first; the artifacts are what the tool works on. Try example loads a typically messy paste if you want to watch the behaviour before trusting it with your own text.
- 2Decide which of the three fixes apply
Remove empty lines deletes blank rows entirely, so leave it off if your paragraph spacing is intentional. Fix extra spaces collapses runs of spaces and tabs and pulls stray spaces back off punctuation. Remove hidden characters strips the zero-width marks a paste picks up from web pages and chat windows.
- 3Clean, compare, and take the result
Select Clean text and read the right panel against the left — the word counters under each panel are a quick check that nothing substantial disappeared. Copy puts the result on your clipboard, and Undo steps back if a setting was wrong.
When this tool is useful
What the one-click cleanup actually does
Each pass is a narrow rule rather than a general rewrite. The spacing fix collapses any run of spaces and tabs into a single space, trims the ends of every line, and removes the space that justified layouts often leave stranded in front of punctuation — so "grew by 18% ." comes out as "grew by 18%.".
The hidden-character pass removes zero-width spaces, stray zero-width joiners, word joiners, and byte-order marks: characters that occupy no width on screen but break searches, form validation, and comparisons. Visible Unicode is deliberately left alone — accented letters, symbols, and emoji are content, not debris — and so is a joiner doing real work, such as the one that holds 👩💻 together.
One behaviour is worth knowing in advance: Remove empty lines removes all blank rows, including the ones separating paragraphs. That is usually right for text headed to an email or chat message, where the destination manages its own spacing. If your blank lines are structure you mean to keep, switch that option off and the line layout survives untouched.
Smart cleaner questions
The artifacts it targets are blank rows left by pasting, runs of spaces or tabs where one space belongs, spaces stranded in front of punctuation, and invisible zero-width characters. Anything outside those rules passes through unchanged.
No. It never touches words, word order, or the punctuation marks themselves — only the whitespace and invisible characters around them. If the output reads differently, the difference was hiding in the source all along.
Remove empty lines is on by default and deletes blank rows, which suits text going somewhere that applies its own spacing. Untick it and the blank lines between paragraphs are kept.
Only where it is part of a gap. With Fix extra spaces on, a non-breaking space next to another space collapses into a single ordinary space, and one sitting directly before punctuation is removed. A lone one between two words — as in "10 km" — is usually deliberate and stays. To convert every one, use the invisible character remover.
When you know the problem. Mid-sentence line breaks from a PDF need the PDF text cleaner’s joining logic, and Markdown symbols need the AI formatting cleaner. The smart cleaner attempts neither, because both need context to do safely.