Text Cleaner
Strip formatting, HTML, smart quotes and invisible characters.
Text Cleaner
Instant online text processing
What does Text Cleaner do?
A single pass that fixes everything wrong with pasted text: HTML tags, smart quotes, em dashes, invisible Unicode, double spaces, stray line breaks and non-ASCII characters. Each fix is a separate toggle so you keep control.
How to Use Text Cleaner
- 1Paste your textFrom a website, Word document or anywhere else.
- 2Choose the fixesToggle only the ones you want.
- 3Copy the clean versionReady to paste anywhere.
Key Features
- Strip HTML and XML tags, keeping the text content
- Convert smart quotes, em dashes and ellipses to plain ASCII
- Remove zero-width and other invisible characters
- Optionally remove punctuation, numbers or all non-ASCII characters
- Whitespace and line-break tidying in the same pass
- Character count before and after so you can see what changed
Frequently Asked Questions
Why does text pasted from Word cause problems?
Word substitutes typographic characters automatically: curly quotes, em dashes, ellipsis characters and non-breaking spaces. They look fine but break code, CSV files, search matching and some older systems.
What are invisible characters?
Zero-width spaces, joiners, byte order marks and directional marks. They have no visible width but count as characters, break string comparisons, and can be used to hide watermarks in shared text.
Does removing HTML keep the readable text?
Yes. Tags are removed and their content kept, and entities such as & and are decoded to real characters.
Is it safe to remove all non-ASCII characters?
Only for English text. It would strip accented letters, currency symbols and every non-Latin script. Use the smart-quote and invisible-character options instead unless you specifically need pure ASCII.
Everything you paste stays in this page. Text tools run as JavaScript in your browser, so nothing is uploaded, logged or stored.
Related Tools
Remove Extra Spaces
Collapse double spaces, strip trailing whitespace and tidy text.
Remove Line Breaks
Join broken lines back into flowing paragraphs.
HTML Decoder
Convert HTML entities back into normal characters.
Text Case Converter
Convert text between sentence, title, upper, lower and code cases.
