Press Enter to open the first result, Esc to close.

  1. Home
  2. Text Tools
  3. Remove Line Breaks
Text Tools

Remove Line Breaks

Paste your text and choose how line breaks should be replaced.

About this calculator

Text copied from PDFs and emails often has a line break at the end of every line. Replacing those breaks with spaces joins the lines back into normal paragraphs; “keep paragraph breaks only” leaves blank lines between paragraphs in place.

How to use the remove line breaks

  1. Choose the replace line breaks with.
  2. Enter the your text.
  3. Read the result — it updates as you type.

Frequently asked questions

Will it remove blank lines between paragraphs?

Choose “Keep paragraph breaks only” to keep them; the other options remove them.

Is my text stored?

No. Everything happens in your browser.

Add this calculator to your website

Free to use. Paste this code into any web page — it works on WordPress, Wix, Webflow and plain HTML.

Related tools

All text tools