Remove Line Breaks

Join broken lines (for example text copied from a PDF) into paragraphs.

Also called: join lines, remove new lines.

FreeNo sign-upRuns in your browser
TEXT & WRITING

Remove Line Breaks

Join broken lines (for example text copied from a PDF) into paragraphs.

Runs locally in your browser
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.

Find a tool

Loading tools…

Watch: how to use the Remove Line Breaks (14 seconds)

Recorded on a phone, steps written on screen, no sound.

About the Remove Line Breaks

Join broken lines into proper paragraphs — great for text copied from PDFs and emails. Join with a space, with nothing, or keep paragraphs (blank lines) and join the rest.

How to use the Remove Line Breaks

  1. Enter your textType or paste your text.
  2. Pick the optionsjoin lines with (the defaults suit most uses).
  3. Press Run toolThe result appears right under the button.
  4. Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.

This tool works inside your browser: what you enter stays on your device.

Example

The result the Remove Line Breaks gives for a short sample note that contains a date, an e-mail address, a web address, a phone number and prices (produced by the tool itself).

Join lines with
A space

Result:

Café Olé opened on 12 March 2025 in Lahore. Email hello@example.com or visit https://example.com/menu for the menu. Call +92 300 1234567 to order; delivery is free over 1500 rupees. The café serves 3 kinds of coffee and 2 kinds of tea.

Good to know

What you need
You type or choose: Input text
Where it runs
In your browser, on your device.
Cost
Free, no sign-up.

Questions

Which option for PDF text?

“Keep paragraphs” usually gives the best result.

Can I add line breaks back?

Use Find & Replace with a regular expression.

More tools in Text & Writing

See all Text & Writing tools