Remove Line Breaks

Merge multi-line text into one continuous line — removes all line breaks and carriage returns instantly. Perfect for cleaning text copied from PDFs.

🔒 100% Client-Side Processing

Your data is processed entirely in your browser and never transmitted to any server.

0 / 100M Limit

Common Use Cases

Fixing PDF copy-paste

Text copied from PDFs arrives with a hard break at every visual line — rejoin it into flowing paragraphs in one click.

Preparing single-line input

Collapse a multi-line value into one line for form fields, CSV cells, spreadsheet formulas, or command-line arguments that reject newlines.

Cleaning email replies

Remove the ragged line wrapping from quoted plain-text email before reusing the content in documents.

Frequently Asked Questions

Why does text copied from a PDF have broken lines?
PDFs store text as positioned fragments, so each visual line ends with a hard break in your clipboard — even mid-sentence. This tool replaces those artificial breaks with spaces, producing clean flowing text.
Does it handle Windows and Unix line endings?
Yes — \n (Unix/macOS), \r\n (Windows), and lone \r (classic Mac) are all detected and replaced with a single space, so text from any operating system joins into one line correctly.
Is my data private when I use this tool?
Yes. This tool runs entirely in your browser using client-side JavaScript — nothing you type is transmitted to, logged by, or stored on any server. You can safely process confidential text, tokens, or code.