Text Cleaner

Line breaks from PDFs, double spaces, blank lines, duplicate lines: one button each. Feed the result back in to keep cleaning.

Lines Spaces Lists More

Text copied from a PDF

PDFs place each line separately, so copying brings a line break at every line end. Join lines within paragraphs keeps paragraphs separated by blank lines and joins only the lines inside them; Remove line breaks makes one paragraph of everything.

Lists and spreadsheets

Remove duplicate lines treats lines that differ only by surrounding spaces as the same. Sort A–Z orders numbered lines as 1, 2, 10 rather than as strings.

Several steps

Each button does one thing. Use result as input moves the result up so you can apply the next operation.

Frequently asked

Is my text uploaded?

No. Everything runs in your browser; the last input is kept only in this browser.

What are full-width characters?

Characters such as A, 1 and the ideographic space that occupy a full CJK cell. They arrive from Japanese and Chinese sources and older documents; the button converts them to ordinary ASCII.

Does it work with Word text?

Paste the body text. Formatting (bold, tables) is dropped; only the characters remain.