Text toolsSmart cleaner

Smart cleaner

A safe all-purpose cleanup for text copied from documents, websites, emails, and chat apps.

Ready to clean
Your text never leaves this device
0 characters · 0 words
0 characters · 0 words
A focused cleanup

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.

  1. 1
    Paste 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.

  2. 2
    Decide 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.

  3. 3
    Clean, 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

Cleaning text before an email
Preparing notes for a document
Removing paste artifacts from websites

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.

Good to know

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.