Remove Line Breaks

Strip the line breaks out of text that was pasted from a PDF or email, with the option to keep paragraph breaks. Your text stays on your device.

Also searched as: line break remover · remove new lines · join lines · remove line breaks online

Loading the tool…

How to use it

  1. 1

    Paste your text

    Drop in text that has breaks in awkward places.

  2. 2

    Choose how to join

    Replace breaks with a space, remove them, or keep paragraphs.

  3. 3

    Copy the result

    Press Copy result and paste it where you need it.

Questions about remove line breaks

Can I keep the paragraphs?

Yes. The "Keep paragraph breaks" option joins lines inside a paragraph but leaves blank lines between paragraphs.

Is my text uploaded?

No. Everything happens in your browser.

Why do PDFs add breaks?

PDFs often store a line break at the end of every visible line, which this tool removes.

Cleaning up pasted text

Text copied from a PDF, a scanned document or an email often has a line break at the end of every visible line, which makes it hard to paste into a document or a form. Choose to replace each break with a space for normal reading, or remove them completely for text that should run together.

Turn on Keep paragraph breaks to join the lines inside each paragraph while leaving the blank lines between paragraphs, which is usually what you want for an article or a letter.

Things to check afterwards

A word that was split with a hyphen at the end of a line may come out as two parts with a hyphen between them, so search for hyphens and fix them. Lists and tables lose their line-by-line layout when you join them, so only run the tool on running text. The cleaning happens in your browser and the text is not uploaded.

Guides

Related tools