Remove Line Breaks

Strip line breaks from pasted text, or join soft-wrapped lines while keeping paragraphs.

GenerateMake a QR codeQR codes for links, Wi-Fi, and contacts — no watermark, no sign-up.Create

Breaks → spaces replaces every line break with a single space (good for un-wrapping a copied paragraph). Remove breaks deletes them entirely. Keep paragraphs joins soft-wrapped lines but preserves the blank lines between paragraphs. Runs entirely in your browser.

How to remove line breaks

Paste your text and pick a mode: Breaks → spaces, Remove breaks, or Keep paragraphs. The cleaned text appears below instantly. Leave Collapse repeated spaces on to tidy up any doubled spaces that result.

When to remove line breaks

Reflow text copied from a PDF or email, un-wrap a hard-wrapped code comment, or prepare a paragraph for a form field that doesn't accept multi-line input. Keep paragraphs mode is ideal for articles.

Questions

What's the difference between the three modes?
Breaks → spaces swaps every line break for a single space, so a wrapped paragraph becomes one line. Remove breaks deletes them with no space. Keep paragraphs joins soft-wrapped lines but preserves the blank lines that separate paragraphs.
Why did my text have hidden line breaks?
Text copied from PDFs, emails and code editors often has a hard line break at the end of every visual line. Removing those breaks turns it back into flowing text you can paste anywhere.