Text & social — free, no signup
Text cleaner.
Text copied from a PDF or Word arrives full of damage you cannot see. This removes it.
Runs in your browser · Nothing uploaded · Nothing stored
Loading…
Copy a paragraph out of a PDF and paste it into your CMS. It arrives with a line break at the end of every printed line, so the text wraps in the wrong places on every screen width. Copy from Word and you inherit curly quotes, en dashes and non-breaking spaces that break your search function and occasionally your JSON. Copy from a website and you may collect zero-width characters that make two identical-looking strings fail to match.
Each of those is a separate toggle here, all on by default. The most useful is removing single line breaks while keeping paragraph breaks intact — that is what turns PDF text back into flowing paragraphs without collapsing the whole thing into one block.
The invisible character option is the one that saves the most debugging time. Zero-width spaces, soft hyphens and byte-order marks survive copy and paste, show up nowhere, and cause bugs that look impossible until you find them.
Worth knowing
- Run pasted text through this before it goes into a CMS, not after you notice the layout is wrong.
- Keep smart quotes for body copy meant for reading; straighten them for code, CSV and data fields.
- If two strings look identical but do not match, an invisible character is almost always the reason.
Questions
Frequently asked
Why does PDF text wrap strangely when I paste it?
PDFs store a line break at the end of each printed line. On a screen those breaks land in the middle of sentences. Removing single line breaks while keeping paragraph breaks fixes it.
What are invisible characters?
Zero-width spaces, soft hyphens and byte-order marks. They render as nothing, survive copy and paste, and break string comparisons and search.
Should I always straighten smart quotes?
No. Curly quotes are correct in body copy. Straighten them for code, CSV files, and anywhere a system will parse the text.
Beyond the tools
Want to know what else is holding your site back?
Our free website audit runs 26 checks across SEO, speed, content and security, and tells you in plain English what to fix first.
Run a free audit