Remove line breaks from copied PDF text

Quick answer: Paste text copied from a PDF to join single line breaks into readable paragraphs. Blank-line paragraph boundaries and hyphens are preserved by default; review optional changes before copying.

Updated

Up to 200,000 UTF-16 units. Lists/tables without blank lines will be joined.

Your text is processed entirely in this browser and is never sent to a server.

Clean copied text in three steps

  1. Paste the text you copied from your PDF.
  2. Keep paragraph breaks or flatten all lines; enable hyphen joining only when appropriate.
  3. Check the preview against the source, then copy or download a TXT file.

Try these examples

Preserve paragraphs (default)

Before

Copied
PDF text.

Next paragraph.

After

Copied PDF text.

Next paragraph.
With hyphen joining enabled

Before

inter-
national

After

international

Useful for

  • Preparing PDF excerpts for email or a word processor.
  • Repairing narrow-column wrapping while keeping blank-line paragraphs.
  • Preparing plain text for a before-and-after comparison.

Method and limitations

CRLF and CR become LF. Leading and trailing whitespace on each line is trimmed; joined lines get one separating space. Blank-line paragraph boundaries become two LF characters. Accents and Unicode normalization are unchanged.

Optional hyphen joining removes an ASCII - between a word ending a line and a letter starting the next line. It cannot know whether that hyphen is meaningful: well-known may need its hyphen. Compare with the original and leave this option off unless needed.

Lists, tables and headings without a blank-line separator will join into the same paragraph. This tool does not infer page layout, fix column order, read PDF files or run OCR. Copy a small region at a time for reliable review.

Processing stays in browser memory with no text upload or history. The input accepts up to 200,000 UTF-16 units. Split longer documents into sections; the original input remains available for comparison.

Frequently asked questions

Can I keep paragraph breaks?

Yes, if paragraphs are separated by a blank line. A single line break becomes a space; indentation alone does not identify a paragraph.

Does it work on scanned PDFs?

Run OCR first to obtain text. This tool cleans text already copied from a document; it does not extract characters from images.

Will accents or hyphens disappear?

Accents remain unchanged. End-of-line hyphens are removed only when you explicitly enable hyphen joining. Always review that result.

Practical guides and limitations