# How to Remove Line Breaks from Copied Text (PDFs, Emails)

Text copied from a PDF often has a hard line break at the end of every visual line. Replace single line breaks with spaces and keep double breaks as paragraph separators to restore normal flow.

## Why it happens

PDFs store text positioned line by line rather than as flowing paragraphs, so copying carries the line endings with it. Some email clients also wrap at around 76 characters.

## The fix

Join every single line break into a space, but keep blank lines (two breaks in a row) as paragraph breaks. Then collapse double spaces and check hyphenated words that were split across lines, such as "inter- national".

## Watch out for

Lists, tables and poetry rely on line breaks, so remove them only from running prose.

## FAQ

### Will it fix words split by hyphens at line ends?

Not automatically, because a hyphen may be part of the word. Review those by eye.

Page: https://handytoolonline.com/blog/how-to-remove-line-breaks-from-copied-text/
Last reviewed: 22 November 2026
