Text

Remove Line Breaks

Remove unwanted line breaks and carriage returns from text. Choose to keep paragraph breaks and replace line breaks with a space, comma, or nothing.

Replace with:
Input
Output0 chars

Related Tools

More free utilities you might find useful

Frequently Asked Questions

Quick answers to common questions

Why would I remove line breaks?+

Common uses include: cleaning text copied from PDFs, preparing text for CSV import, fixing text pasted from emails, and converting multi-line text to a single paragraph.

What is the difference between line breaks and paragraph breaks?+

A line break (\n) separates lines within a paragraph. A paragraph break is two line breaks (\n\n) separating distinct paragraphs. You can choose to keep paragraph breaks while removing line breaks.

Will this work on Windows and Mac line endings?+

Yes. The tool handles \n (Unix/Mac), \r\n (Windows), and \r (old Mac) line endings automatically.

Is my text safe?+

Yes. All processing happens in your browser. No data is sent to any server.