About Text Cleaner
Text that has been copied between applications arrives dirty. A paste from a web page brings HTML entities and non-breaking spaces, a word processor substitutes smart quotes and em dashes that break code and CSV files, and merged lists collect duplicates that are impossible to spot past a few dozen rows.
This applies every clean-up you select in a single pass, in an order chosen so the operations do not fight each other — tags are stripped before whitespace is collapsed, so the gaps they occupied close up, and line breaks are removed last so the line-level operations still have lines to work with.
Each option is independent, so you can be as aggressive or as conservative as the job needs, and the result is shown next to a running count of how much was removed.
How to clean up text
Paste your text
Any length. Nothing is uploaded.
Choose the clean-up steps
Tick the operations you want. They apply together in a sensible order.
Review the result
The cleaned text appears live, with a summary of what changed.
Copy or download
Copy the result to the clipboard or save it as a text file.
Common uses
- Deduplicating an email or subscriber list before importing it.
- Stripping HTML from content pasted out of a web page or CMS.
- Fixing smart quotes and em dashes that break code, CSV files and terminal commands.
- Collapsing the ragged whitespace left by an OCR or PDF extraction.
- Joining a hard-wrapped paragraph back into a single line.