Skip to content
AVEROPDF

Clean Up Text

Remove extra spaces, blank lines and duplicates, rejoin lines broken by a PDF, sort lines.

Processed in your browserFree

About this tool

Clean up a text pasted from a PDF, an email or a web page: trim spaces at the start and end of lines, collapse multiple spaces, remove blank or duplicate lines, repair words split by a hyphen, rejoin broken lines, natural alphabetical sorting and quote normalization. Each option can be enabled separately and the result updates live.

How to use this tool

  1. 1Paste the text to clean up.
  2. 2Tick the operations you want; the result updates live.
  3. 3Copy or download the cleaned text.

Limits to know

  • Rejoining lines keeps paragraphs that are separated by a blank line; a text with no blank lines will be rejoined into a single paragraph.
  • Sorting uses French natural order (item2 before item10, accents ignored).
Accepted formats
Text
Maximum size
2 MB

Privacy and file processing

The text is processed instantly in your browser: nothing is sent to a server, nothing is kept.

Read our privacy policy

Frequently asked questions

A PDF stores positioned lines, not paragraphs. When you copy, each visual line becomes a line break. The "Rejoin broken lines" option rebuilds the paragraphs, and "Repair split words" removes hyphenation dashes.