Remove Line Breaks
Paste text that breaks in the wrong places, from a PDF, an email or a form, and get it back as clean, joined-up paragraphs, ready to copy.
0 words · 0 characters
What to clean
Cleaned text
Runs in your browser. Your text is never uploaded.
How it works
Remove all line breaks replaces every line break with a space, so the whole text becomes one paragraph. It is the quickest fix for a short passage.
Remove line breaks, keep paragraphs treats a blank line as the end of a paragraph. Lines inside each paragraph are joined; the gap between paragraphs stays. Use it for anything longer than a paragraph.
Remove extra spaces tidies up afterwards, collapsing the double spaces that joining lines can leave behind. Your original text is never changed.
Examples
Text copied from a PDF:
The committee met on Tuesday to review the budget for next year. Several members asked for more time to read the proposal.
With all line breaks removed:
The committee met on Tuesday to review the budget for next year. Several members asked for more time to read the proposal.
With paragraphs kept:
The committee met on Tuesday to review the budget for next year. Several members asked for more time to read the proposal.
Need more repairs, such as straight quotes or removing URLs? The fulltext cleaner has every option.
Frequently asked questions
How do I remove line breaks but keep paragraphs?
Why does text copied from a PDF have line breaks everywhere?
What happens to the spaces where the breaks were?
Can I remove line breaks in Word or Google Docs instead?
^p (paragraph mark) or ^l (manual line break) in the Find box and a space in Replace. Google Docs needs “Use regular expressions” and \n. Pasting here is quicker, and the keep-paragraphs option has no simple equivalent in either.