Remove Line Breaks
Fix text copied out of a PDF or email that arrives with a line break after every single line — merge it back into clean, flowing paragraphs.
How it works
A compact workflow from input to download.
Paste the broken text
Paste the text that has come out with a line break at the end of every visual line.
Choose what to keep
Decide whether blank-line paragraph breaks should be preserved, and what each removed break should be replaced with.
Copy the clean text
Copy the repaired text and paste it into your document, editor or CMS.
Frequently asked questions
Can I keep paragraph breaks but remove the line breaks inside them?
What can line breaks be replaced with?
Why does text copied from a PDF break like this?
Is my text sent to a server?
The PDF copy-paste problem, explained
Everyone who has ever quoted from a PDF has met this. You copy a paragraph, paste it into a document, and it arrives as a ragged column with a hard break after every line, refusing to reflow no matter how you resize it. The cause is fundamental to how PDF works. A word processor stores a paragraph as a continuous run of text and decides where lines break when it renders. A PDF stores the finished result: text objects placed at fixed coordinates, each corresponding to one visual line, with no record of which lines belong to the same sentence. When you copy, the reader reconstructs plain text from those positioned fragments, and the only safe thing it can do is preserve the line structure it can actually see. Nothing is broken — the paragraph information simply was never in the file to begin with.
Handling hyphens and mid-word breaks
Justified text in books, journals and academic PDFs often hyphenates words across a line break, so removing the breaks naively leaves you with 'inter- national' sitting awkwardly in the middle of your sentence. There is a two-step fix. First run the removal with the replacement set to a space, which repairs the ordinary line breaks. Then use a find-and-replace to search for a hyphen followed by a space and replace it with nothing, closing up the split words. Do the steps in that order, and check the result — legitimately hyphenated compounds like 'well-known' can get caught by the second pass, so a quick read-through is worth the thirty seconds it costs.
Related tools
Continue the workflow with adjacent tools.