Fix line breaks in text copied from a PDF

PDFs and plain-text emails break every line at a fixed width. Paste the text and ClepBoard rejoins lines into proper paragraphs, fixes words split with a hyphen, and turns fi and fl ligatures back into normal letters.

Rejoins lines broken by PDFs and emails, fixes split words and fi/fl ligatures.
Paste

Paste anything.

Press Ctrl V anywhere on this page, drop a text file, or try an example:

Clean
1 Paste text on the left
2 See what’s hiding in the X-ray
3 Copy it back, clean
Fixes16 rules on · 0 changes made

Hidden characters

AI & markdown

Typography

Layout & spacing

Keyboard: Ctrl+Enter copies the clean text, Ctrl+Shift+Enter copies rich text, keys 1 to 6 switch presets, X toggles the X-ray.

What it fixes

  • Hard line breaks in the middle of sentences are joined so each paragraph flows as one line.
  • Hyphenated words split across lines (“employ-↵ees”) are rejoined as “employees”. Real hyphenated words like “well-known” are kept.
  • Ligatures like fi, fl, ff, ffi, which break spell-check and search, become normal letters.
  • Paragraph breaks are kept. Blank lines, list items and short lines that end a sentence stay where they are.
  • Soft hyphens and other invisible characters PDFs leave behind are removed.

Tips

  • If you copy from a two-column PDF, copy one column at a time; PDF viewers often interleave columns.
  • Scanned PDFs need OCR first. ClepBoard cleans text; it doesn’t read images.
  • Smart mode usually detects PDF text automatically. If it doesn’t, choose PDF above the editor.

FAQ

Why does text from a PDF have line breaks?

A PDF stores text as positioned lines on a page, not as flowing paragraphs. When you copy it, each visual line becomes a separate line of text.

Will it merge my bullet points into one line?

No. Lines starting with bullets, numbers or letters like "a)" stay on their own lines.

Related tools