How to clean text
- Paste your text into the upper box.
- Tick the clean-up steps you need. Your choice is remembered for next time.
- Copy the result from the lower box. The counter shows how many characters were removed.
Fixing text copied from PDFs
Text copied from a PDF often has a line break at the end of every printed line, so sentences arrive chopped into pieces. Join broken lines glues those lines back together while keeping real paragraphs – anything separated by an empty line – apart.
Combine it with Replace multiple spaces to remove the gaps that justified text and column layouts leave behind.
What each option does
- Multiple spaces: “two spaces” becomes “two spaces”.
- Trim: removes indentation and trailing spaces on every line.
- Empty lines: deletes blank lines, which also merges paragraphs.
- Tabs: useful when pasting tables into plain text.
- Straight quotes: replaces “ ” ‘ ’ – — … and non-breaking spaces with plain keyboard characters, handy for code and forms.
- Invisible zero-width characters are always removed.
Frequently asked questions
Is my text uploaded?
No. All cleaning happens in your browser.
Will it change my words?
No. Only spacing, line breaks and the optional punctuation conversion are touched.
Why are my paragraphs merged?
“Remove empty lines” deletes the blank lines between paragraphs. Untick it if you want to keep paragraphs apart.
Does it work with Arabic, Urdu or Persian text?
Yes. The zero-width non-joiner used in these scripts is kept, so words are not joined incorrectly.