Remove line breaks

Text copied from a PDF or e-mail often has a line break at the end of every line. This tool joins those lines into flowing paragraphs.

How it works

  1. Paste your text

    Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.

  2. Instant result

    The result appears as you type. Change the options and see straight away what changes.

  3. Copy or download

    Copy the result with one click, save it as a file or use it as input for a next step.

What it does

  • Lines within a paragraph are joined with a single space.
  • Keep paragraphs (on by default): blank lines between paragraphs are kept, so the structure stays. Untick it to get one single block of text.
  • Rejoin split words (on by default): a word broken at the end of a line with a hyphen, such as hy- and phen, is put back together as hyphen, but only when the next line starts in lowercase.

Extra spaces are cleaned up as well.

To put a list on a single line with a separator, use join lines. To go the other way and break long lines up, use wrap text.

Frequently asked questions

Is the remove line breaks free?

Yes. The remove line breaks is completely free, with no account, sign-up or usage limit.

Is my text stored?

No. Your text is processed in your browser and is not sent to a server or stored.

Is there a maximum length?

No, there is no fixed limit. Very long texts can just be a little slower.