Remove line breaks

Paste text that breaks in the wrong places, and get clean lines or paragraphs back as you type. Nothing is uploaded.

FreeNo sign-upNothing is uploaded

Nothing is uploaded. Your text stays on your device.

Popular uses

Opens the tool with the right settings already chosen.

How to remove line breaks

Three steps, about ten seconds.

  1. 01

    Paste your text

    Paste text into the left box, or open a .txt file.

  2. 02

    Pick how to clean it

    Remove all line breaks, keep paragraphs, remove duplicate lines or remove extra spaces.

  3. 03

    Copy or download

    The result updates as you type. Copy it, or download it as a .txt file.

Good to know

Text copied out of a PDF or an email often breaks at the end of every line, because the line breaks of the page get copied too. Pasted into a form or a document, it comes out ragged.

Remove all line breaks joins everything into one block. Keep paragraphs joins the lines inside each paragraph but keeps the blank line between paragraphs, which is usually what you want for an article or a letter. Words split with a hyphen at the end of a line are joined back together.

Frequently asked questions

How do I remove line breaks from text copied from a PDF?

Paste it into the box on the left and choose Keep paragraphs. Each paragraph becomes one line, with a blank line between paragraphs.

Is my text uploaded?

No. Everything happens in your browser, and nothing is sent anywhere.

Is there a limit?

No daily limit. Up to 2 million characters at a time, which is several books.