Why copied text breaks in the wrong places
PDFs don't store paragraphs. They store lines of text placed at exact positions on a page. When you copy from one, each visual line comes with a hard line break at its end, so a single paragraph arrives as a dozen short lines. Email clients that wrap plain text at a fixed width, and some websites, do the same thing.
Fixing it by hand means clicking at the end of every line and pressing Delete, then adding a space. This tool does it for the whole text at once.
How to remove line breaks
- Paste your text into the box on the left.
- Leave Keep paragraph breaks on if your text has blank lines between paragraphs and you want to keep them.
- Copy the result from the box on the right, or download it as a .txt file.
What the options do
Keep paragraph breaks
A blank line usually means a real paragraph break. With this option on, single line breaks are joined, but a blank line between paragraphs stays. Turn it off to put everything on one line.
Rejoin words split with a hyphen
Justified PDF text often splits long words across lines, like informa- and tion. With this on, a hyphen at the very end of a line followed by a lowercase letter is treated as a split word and removed. Real hyphenated words in the middle of a line, such as well-known, aren't touched.
Replace with a space or nothing
Most text needs a space where each line break was. Choose Nothing when you're joining items that shouldn't be separated, such as a long URL or code that was wrapped across lines.
Common uses
- Pasting a quote from a research paper or report into your own writing
- Cleaning up text from scanned documents after OCR
- Fixing plain-text emails that wrap every 72 characters
- Preparing text for a form field, spreadsheet cell or social post that expects one line