Text Cleaner

Fix text that arrived out of a PDF, an email or a spreadsheet. Pick what to strip and the cleaned version appears underneath, ready to copy.

0 words · 0 characters

What to clean

Cleaned text

Your cleaned text appears here.
0 words0 characters0 lines

Runs in your browser. Your text is never uploaded.

The usual repairs

Text from a PDF. Remove line breaks, then remove extra spaces. You will get one long paragraph, which is easier to re-break than text broken in the wrong places.

Text from an email chain. Remove extra spaces and collapse blank lines. If the quote markers survived, find and replace “> ” with nothing in theeditor.

A list from a spreadsheet. Remove empty lines, thenremove duplicates andsort.

Text destined for code or a CSV. Convert smart quotes and remove non-ASCII characters. This is the fix for “it worked in Word and broke in the import”.

What the cleaner will not do

It does not fix spelling, grammar or capitalisation — usecase converter for the last of those. It does not restore paragraph breaks it cannot see, because the information was already lost when the text was copied. And it never changes your original: the box at the top keeps what you pasted until you press “Use as input”.

Frequently asked questions

What does the text cleaner actually remove?
Only what you tick. Each option is a separate, named transformation — extra spaces, blank lines, duplicate lines, line breaks, smart quotes, URLs, numbers, punctuation and non-ASCII characters — and they are applied in the order they are listed so the result is predictable.
Why does text pasted from a PDF look broken?
PDFs store a line break at the end of every visual line, not at the end of every paragraph. Pasting gives you text that wraps in the wrong places. Tick “Remove line breaks” to rejoin it into one paragraph, then put the paragraph breaks back where they belong.
What are smart quotes and why remove them?
Word processors replace straight quotes with curly typographic ones (“ ” ‘ ’) and hyphens with en and em dashes. They look better in print but break code, CSV files, some form validation and older systems. Converting them back to straight equivalents avoids that.
Is my text uploaded to be cleaned?
No. Every transformation runs in your browser. That matters for exactly the kind of text people paste into a cleaner — client documents, contracts, exported customer data.