Remove Line Breaks

Remove the line breaks that appear when you copy text from a PDF, email, or narrow column, and join the lines back into normal paragraphs.

0 words · 0 characters

Example

Before
Our return policy allows
exchanges within 30 days
of purchase.

Receipts are required
for all refunds.
After
Our return policy allows exchanges within 30 days of purchase.

Receipts are required for all refunds.

Why copied text has extra line breaks

PDFs store text as positioned lines rather than flowing paragraphs, so every visual line ends in a hard break when you copy it. Pasted into an email or document, those lines don’t reflow and leave a ragged right edge.

Keeping paragraphs

With “Keep paragraph breaks” on, blank lines count as paragraph separators and stay in place. Only the breaks inside each paragraph are removed. Turn it off to merge everything into one block.

Turning a list into one line

Choose “A comma” to turn a one-per-line list into a comma-separated line, for example to paste email addresses or tags into a single field.

Common sources of unwanted line breaks

Besides PDFs, line breaks creep in from plain-text emails (which are often wrapped at about 72 characters), subtitles and transcripts, text copied from narrow newspaper or magazine columns, and output from scanners and OCR. In each case the breaks mark where a line ended on the original page, not where a thought ended.

Words split with a hyphen

When a PDF split a word across two lines with a hyphen, the result will contain “hyphen- ated” with a space. Use Find and replace to search for a hyphen followed by a space and replace it with nothing, then check that real hyphenated words such as “well-known” are untouched.

Our guide to fixing text copied from a PDF walks through the whole cleanup, including double spaces and stray page numbers.

Frequently asked questions

Will it remove the gaps between my paragraphs?

Not if “Keep paragraph breaks” is on. Blank lines stay, and only the breaks inside paragraphs are removed.

How do I turn a column of items into a comma-separated list?

Choose “A comma” under “Replace line breaks with”. Each line becomes an item separated by commas.

Does it handle Windows and Mac line endings?

Yes. Windows (CRLF) and Mac/Linux (LF) line breaks are both recognized.