Skip to content
Toolra
Text Cleanup

Fix Broken Lines in PDF Text

Copying from a PDF leaves a line break at the end of every visual line, and splits words like "infor- mation". Paste it here to rebuild flowing paragraphs while keeping real paragraph breaks.

Runs in your browser Instant resultsFree · no sign-up

Options

Your text

0 characters · 0 lines

Result

Paste or type text on the left and the result appears here instantly.

How to use the PDF Text Line Fixer

  1. 1

    Paste text copied from a PDF.

  2. 2

    Choose how paragraphs are detected.

  3. 3

    Copy the fixed text.

Helpful examples

  • Rejoin a research paper abstract copied from a PDF
  • Fix hyphenated words split across lines in an ebook quote
  • Turn a PDF contract clause into one clean paragraph for email

How lines are rejoined

Single line breaks inside a paragraph are replaced with spaces. Blank lines are kept as paragraph breaks. Words broken with a hyphen at the end of a line are merged back together, so "docu- ment" becomes "document".

Smart paragraph detection

Some PDFs have no blank lines between paragraphs. Turn on sentence-end detection and a line that ends with a full stop, question mark or exclamation mark is treated as the end of a paragraph.

Frequently asked questions

Will real hyphenated words be broken?

Only hyphens at the very end of a line followed by a lowercase letter are merged. Hyphens in the middle of a line, like well-known, are untouched.

Can it keep bullet lists?

Yes. Lines starting with bullets, dashes or numbers like 1. are kept on their own line.

Does it work with text from scanned PDFs?

Yes, as long as you can copy the text. It also works with OCR output.