How to Fix Broken Line Breaks When You Copy Text From a PDF
By the UtilityNest team · · 5 min read
You are quoting two paragraphs from a research report in an email to your team. You select them in the PDF, copy, paste, and the email turns into a narrow column of half-lines, with "recommen-" on one line and "dations" on the next. You start deleting line breaks one by one, and there are forty of them.
Almost everyone who copies from PDFs runs into this. The text is all there; it just carries the PDF's line layout with it. Fixing it by hand is tedious, and fixing it with a tool takes about three seconds.
The short version: paste the text into Remove Line Breaks, choose Keep paragraphs, leave Rejoin words split with a hyphen on, and copy the result.
Why PDFs do this
A PDF is designed to look the same everywhere, so it stores text as positioned lines on a page, not as flowing paragraphs. When you copy, most viewers give you each line followed by a hard line break. Justified documents also break long words at the end of a line with a hyphen. Paste that anywhere else and you get the staircase.
Step by step
- Copy the text from the PDF.
- Paste it into the top box of Remove Line Breaks, or click Paste.
- Choose Keep paragraphs. Lines inside each paragraph are joined with a space, and the blank lines between paragraphs stay.
- Leave Rejoin words split with a hyphen on, so "infor- mation" becomes "information". Real compound words like "well-known" are left alone, because their hyphen is not at a line end.
- Copy the result or download it as a .txt file. It updates instantly as you change options.
Your text is processed in your browser as you type and is not uploaded or stored, so it is fine for contracts and private emails.
A worked example
Pasted straight from the report:
The survey found that most small busi-
nesses still rely on email for in-
voicing, and that the main barrier
to change is time rather than cost.
After Keep paragraphs with hyphen rejoining:
The survey found that most small businesses still rely on email for invoicing, and that the main barrier to change is time rather than cost.
Four ragged lines, two words broken in half, forty line breaks to delete in a long quote.
One clean paragraph that wraps naturally in any email, document or chat.
Copying a lot of text, or a whole document? Skip the copy-paste entirely: PDF to Text extracts everything and has a Join lines into paragraphs option that does the same repair, hyphens included.
The other modes, and when they help
- Remove all line breaks: everything on one line. Useful for form fields, spreadsheet cells and code strings.
- Replace with: put something between the lines instead. Type a comma and a space to turn a list of names into
Anna, Ben, Chloefor an email or a spreadsheet. Use\tfor a tab or\nfor a new line. - Remove empty lines only: keeps each line as it is but deletes the blank ones in between.
- Collapse extra spaces: replaces runs of spaces and tabs with a single space, which cleans up text from forms and old documents.
A second example: a list into one line
A column of 25 email addresses copied from a spreadsheet, one per line. Choose Replace with, type , (comma and space), and you get one line ready to paste into the To field. Twenty-five addresses, zero manual edits.
When the text itself is wrong
Sometimes copied PDF text has deeper problems than line breaks:
- Words run together with no spaces. Some PDFs position words without real spaces. Try extracting with PDF to Text, which rebuilds lines from each word's position.
- Nothing copies at all. The PDF is a scan. PDF to Text offers OCR for pages without a text layer.
- Columns come out mixed up. Two-column layouts are read line by line across the page. Copy one column at a time where you can.
Check your count afterwards
If the quote is going into something with a limit, such as an abstract or a social post, paste the cleaned text into the Word Counter. Counting before you clean up gives slightly wrong numbers, because broken words like "busi- nesses" count as two.
Quoting PDFs properly
Once the text is clean, a couple of small habits make quotes from reports and papers more useful to the people reading them. Mention where the quote came from (the document title and page number), and keep the quote short enough that people can read it in the email itself. If they need more context, attach the PDF or link to it rather than pasting several pages. And if the document is confidential, check that you are allowed to share the passage before forwarding it outside your team.
Other ways to do it
In Microsoft Word, Paste Special > Unformatted Text followed by Find and Replace (^p for a paragraph mark) can do a similar job, but it joins paragraphs together too unless you are careful. Some PDF viewers copy more cleanly than others, so it can be worth trying the same copy from a browser's PDF viewer.
Quick answers
How do I keep paragraphs but remove the other line breaks?
Choose Keep paragraphs. Lines inside a paragraph are joined; blank lines between paragraphs stay.
Is my text sent anywhere?
No. Everything runs in your browser and nothing is saved.
Does it work on a phone?
Yes. Paste into the box in Safari or Chrome and copy the result back.