Remove line breaks — unwrap text copied from a PDF
Fix text that broke into short lines when you copied it out of a PDF or an email. Join everything into one paragraph, or unwrap the lines while keeping real paragraph breaks.
Runs entirely in your browser — nothing is uploaded.
How to use
- Paste the broken text. Typically something copied from a PDF, email or terminal.
- Choose how to join it. "Unwrap lines, keep paragraphs" is usually what you want — it joins wrapped lines but preserves blank-line paragraph breaks.
- Copy the clean version. Spacing around the joins is tidied up automatically.
Questions
Which option should I pick?
"Unwrap lines, keep paragraphs" for prose from a PDF — it repairs the wrapping without merging separate paragraphs. "Join into one paragraph" when the whole thing should become a single block.
Why does text from a PDF break like this?
A PDF stores fixed line positions rather than flowing text, so copying inserts a real line break wherever the visual line ended. The breaks are an artefact of the layout, not the writing.
Does it handle Windows and Mac line endings?
Yes. CRLF, LF and lone CR endings are all normalised before joining, so text from any operating system behaves the same.
Will it remove the spaces between words?
No — joining inserts a single space where the break was, and collapses any stray spaces around it. Use "Remove breaks entirely" if you genuinely want no space added.