Merge paragraphs
Unwrap paragraphs by joining their lines into single lines, without double spaces.
Related tools
Merge paragraphs
Text copied out of a PDF, an e-book, an email or an OCR scan arrives with hard line breaks in the middle of every sentence. This tool unwraps it: the lines of each paragraph — the blocks separated by blank lines — are joined back into one continuous line, with a single space where each break used to be. Line edges are trimmed before joining, so no double spaces ever appear at the seams.
By default every paragraph becomes one line and the blank lines between paragraphs stay, so the structure of the text survives. Untick "Keep blank line between paragraphs" to get one paragraph per line with no gaps — handy before feeding the text to line-based tools. Tick "Collapse into a single line" and the entire input becomes one long line, which is what forms, chat fields and spreadsheet cells usually want. The joining string can also be customized: join with nothing to fuse hyphen-split fragments, or with any marker you need.
Windows (CRLF) and Unix (LF) line endings are handled interchangeably, lines containing only spaces count as blank, and runs of several blank lines collapse into a single separator. The tally under the output shows how many paragraphs and lines went in and how many lines came out, so you can verify the unwrap at a glance.
Everything happens in your browser. Nothing is uploaded anywhere, so contracts, manuscripts and private notes are safe. Copy the result with one click or download it as a .txt file.