Skip to content

Line break remover

Paste text copied from a PDF, an email or a spreadsheet and stop dragging along unnecessary line breaks. Choose how you want to merge the lines and compare the before and after.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · Line break remover

Runs in your browser · 100% local
Caracteres de entrada120
Caracteres de salida119
Saltos eliminados4
Resultado

Primera línea del párrafo. Segunda línea que pertenece al mismo párrafo. Otro párrafo distinto. Con otra línea partida.

Útil para pegar texto copiado de un PDF, un correo o una hoja de cálculo sin arrastrar saltos de línea innecesarios. Los párrafos se separan con una línea en blanco.

Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Paste the text, including line breaks, into the input field.

02

Choose the mode: join with spaces, keep paragraphs, remove blank lines or remove all line breaks.

03

Enable space compression if you also want to remove repeated spaces, and copy the result.

Examples

Examples

Text copied from a PDF

Each line in the PDF ends with an artificial line break; joining them with spaces restores the paragraph.

Mailing list

Removing all line breaks converts a vertical list into a single string separated by spaces.

Reference guide

What you need to know

‘Preserve paragraphs’ mode distinguishes between a blank line and a single line break: it keeps lines together within each paragraph and maintains the spacing between blocks. The other modes treat the text as a continuous sequence and remove or collapse line breaks.

Space compression removes repeated tabs and spaces, and trims any remaining ones at the start or end of each line. It is useful for cleaning up pasted text, but it may remove intentional indentations in code or poems.

Frequently asked questions

Frequently Asked Questions

No. Only the copy that you paste into the tool is modified; the source file remains unchanged.

Related tools

Other tools that can help with similar tasks.

More at Text→
Line Break and Space Remover · ByTooly