Text Cleaner & Formatter
Strip hidden formatting, smart quotes, and invisible characters from pasted text.
Your pasted text never leaves this tabRemove hidden formatting and invisible characters from pasted text
Why pasted text carries invisible junk — and how to strip it
Copy text from Word, Outlook, a PDF, or a web page and paste it somewhere else. It looks clean — but it is not. Hidden characters ride along: non-breaking spaces that break search-and-replace, zero-width joiners that silently corrupt data fields, smart quotes that crash parsers expecting ASCII, and invisible Unicode direction markers that reverse characters in unexpected places. You do not see any of this until something downstream fails.
This tool strips all of it in one pass. Paste your text, choose which cleaning operations to apply, and get back plain, predictable text. Seven operations cover the most common problems: collapsing extra whitespace, removing blank lines, trimming indentation, replacing non-breaking spaces and zero-width characters, normalizing line endings from Windows to Unix format, and converting curly smart quotes to straight ASCII quotes.
The most insidious invisible characters are zero-width ones: U+200B (zero-width space), U+200C (zero-width non-joiner), U+200D (zero-width joiner), and U+FEFF (byte order mark). They have zero display width, so you cannot see them in any text editor. But they are real characters — they affect string length, break exact-match comparisons, corrupt CSV fields, and cause "identical" strings to fail equality checks in code. Word processors and web browsers insert them routinely and never tell you.
Everything runs locally in your browser. The text you paste is never sent to a server — there is no upload, no account, and no tracking. That makes it safe for work documents, legal text, medical records, or anything containing confidential information. The tool processes text of any length instantly because it uses simple string operations, not AI or remote processing.
FAQ
What invisible characters does this remove?
It removes non-breaking spaces (U+00A0), zero-width spaces (U+200B), zero-width non-joiners (U+200C), zero-width joiners (U+200D), and byte order marks (U+FEFF). These are the most common invisible characters inserted by Word, Outlook, web browsers, and PDF copy-paste.
Will this change the actual words in my text?
No. The tool only removes invisible formatting characters and normalizes whitespace. Your visible words, punctuation, and line structure stay intact. The one visible change is the smart-quotes option, which converts curly quotes (" ") to straight ones (" ") — and you can turn that off.
Is my text uploaded anywhere?
No. Everything runs entirely in your browser using JavaScript. No text is transmitted to any server.