Text Cleaner

Remove extra spaces, empty lines, line breaks, duplicates and HTML from pasted text.

Runs in your browser
Clean text 22 characters removed
This text was copied from a PDF and the lines are broken in the middle of sentences.

It also has "smart quotes" and extra spaces.

How to use Text Cleaner

1

Paste messy text.

2

Tick the clean-up options you need.

3

Copy the clean text.

Related workflows

Frequently asked questions

Can it fix text copied from a PDF?

Yes. Use ‘Join broken lines’ to merge lines that were split mid-sentence.

About this tool

Text copied from PDFs, emails and websites is full of broken lines and stray spaces. Pick what to clean and get tidy text instantly.

Text Cleaner runs entirely in your web browser. Your data are processed on your own device and are never uploaded to our servers, which makes it safe for personal and business files.