What this tool does
Remove Line Breaks joins broken-up text back into continuous lines. Paste text where every line ends with a hard break — common when copying from PDFs, emails or code comments — and get back flowing text. You can join everything into one line, or join within paragraphs while keeping the paragraph breaks, depending on what you need.
Why text arrives broken
Many sources insert a line break at the end of every visual line rather than letting text flow. PDFs are the worst offender: copy a paragraph and every line comes with its own break, so the text will not reflow when you paste it. Emails, plain-text documents and some code comments do the same. The result is text that looks ragged and will not wrap properly in its new home. This tool fixes that.
The modes
Join into spaces replaces every line break with a space, turning broken text into one continuous flowing block — ideal for a paragraph copied from a PDF. Remove completely deletes line breaks with nothing in their place, joining everything tight. Keep paragraphs is the smartest mode: it joins the lines within each paragraph but preserves the blank lines between paragraphs, so a multi-paragraph passage from a PDF comes back properly structured rather than collapsed into one block.
When to use it
Fix a paragraph copied from a PDF so it reflows in your document. Clean up text from an email that was hard-wrapped at a fixed width. Prepare broken text for reuse in a system that expects flowing content. Pair it with Remove Extra Spaces to fully clean up pasted text. Everything runs in your browser, so confidential documents stay private.
Joining broken text into clean lines
Text copied from PDFs, emails and some web pages often arrives with a line break after every visual line, chopping sentences into fragments. Removing those line breaks rejoins the text into flowing paragraphs. This tool offers several modes: replace line breaks with spaces to make one continuous flow, remove them entirely, or keep paragraph breaks while joining the lines within each paragraph. The last mode is ideal for restoring readable paragraphs from text that was broken line by line.
Line breaks, paragraphs and word wrap
There is a difference between a line break inside a paragraph and the blank line between paragraphs. Naively removing all line breaks merges everything into one giant block, losing paragraph structure. The "keep paragraphs" mode is smarter: it treats blank lines as real paragraph boundaries and only joins the broken lines within each paragraph, so you get properly separated, flowing paragraphs. This is exactly what you want when reflowing text that a PDF or email broke at every line.