Remove Line Breaks

Remove every line break in one click: replace them with spaces, delete them, or keep the gaps between paragraphs. Handy for text from PDFs, emails and Excel.

Options

Your text is processed on your device and never uploaded. Free, no sign-up, no limits. Privacy

How to use the Remove Line Breaks

  1. Paste your text
  2. Choose: replace breaks with a space, remove them, or keep paragraph breaks only
  3. Copy the result (it updates as you change options)

What it’s used for

Filling single-line fields

Address and “remarks” fields on bank and government forms often refuse line breaks. Join your multi-line address into one line before pasting.

Excel and Google Sheets

Cells copied from a spreadsheet can carry hidden line breaks (Alt+Enter). Paste them here to flatten each entry.

Code and data

Turn a column of IDs, emails or numbers into one space-separated line for a query or a message.

Tips and edge cases

  • “Keep paragraphs” joins lines inside each paragraph but keeps the blank lines between them. That is usually what you want for prose.
  • Hyphenated breaks (“docu-” + “ment”) are joined into one word when the option is on.
  • Windows (CRLF) and Mac/Linux (LF) line breaks are both handled.
  • Need smarter joining that detects headings and lists? Use the Paragraph Formatter or Fix PDF Copy-Paste Text.

FAQ

Remove Line Breaks: common questions

How do I remove line breaks but keep paragraphs?

Choose “Keep paragraph breaks”. Single line breaks become spaces; double breaks (blank lines) stay.

Can I replace line breaks with commas?

Yes: choose “Custom” and type the separator, for example “, ” to turn a list of names into one comma-separated line.

Does it remove spaces too?

Only the spaces around each break. For double spaces and tabs, use Remove Extra Spaces.

Is my text uploaded?

No. It is processed in your browser.

Related tools