AXS TXT

Remove Line Breaks

Strip line breaks from text to turn it into one continuous paragraph. Runs in your browser.

Text copied from a PDF or an email often has a line break at the end of every line, which breaks it apart when you paste it somewhere that wraps text on its own. Remove Line Breaks strips those breaks and joins everything into one continuous paragraph.

How to use remove line breaks

  1. 1. Paste text that's broken across many lines.
  2. 2. The line breaks are removed and the text is joined up.
  3. 3. Copy the continuous text.

When to use Remove Line Breaks

Un-break PDF text

Fix a paragraph that came out of a PDF with a hard break on every line.

Reflow for a text box

Turn hard-wrapped text into a single flow that wraps naturally where you paste it.

Clean an email quote

Remove the line breaks a mail client inserted into a copied message.

Fixing text copied from a PDF

Text copied from a PDF or an email often has a line break at the end of every line, so it won't reflow when you paste it into a document. Remove Line Breaks joins those lines back into sentences. Turn on "Keep paragraph breaks" to join the lines inside each paragraph but keep the blank line between paragraphs — usually what you want for a PDF. Leave it off to turn everything into one continuous block, for example for a form field that doesn't accept line breaks.

Frequently asked questions

Does it keep paragraph breaks?

Yes, if you leave "Keep paragraph breaks" ticked (it is by default): lines inside a paragraph are joined, and the blank line between paragraphs stays. Untick it to get one continuous block.

What replaces the line breaks?

They're replaced with spaces so words don't run together into one string.

Is my text private?

Yes — it's processed in your browser with no upload.

Your text is processed entirely in your browser and never uploaded — read more on the security page. Looking for more? Browse our full set of text tools or read guides on the blog.