Skip to content

Remove Line Breaks Online

Join broken lines into clean paragraphs or a single line of text.

  • Free
  • Real-time
  • Runs locally
Updates as you type
Ln 1, Col 1

Options

Mode

Joins the lines inside each paragraph. Empty lines between paragraphs are kept.

Replace line breaks with

Separate paragraphs with

Breaks removed

0

Lines before

0

Lines after

0

Characters

0

0 lines

Text copied from a PDF, an email or a terminal often arrives with a line break at the end of every line, which makes it awkward to paste into a document, form or chat. Paste it here and the broken lines are joined back into clean, flowing text.

By default the tool keeps your paragraphs and only removes the breaks inside them. It can also join everything into a single line, use a custom separator to turn lines into a comma-separated list, and rejoin words that were split with a hyphen at the end of a line. Everything runs in your browser.

01

How to remove line breaks

  1. STEP 01

    Paste your text

    Paste the text with unwanted line breaks into the box. The cleaned version appears below instantly.

  2. STEP 02

    Pick a mode

    Keep paragraphs to fix copied documents, or Remove all to get one line. Choose what replaces each line break.

  3. STEP 03

    Copy the result

    Copy or download the clean text, or press Use as input to apply another pass.

02

Features

  • Keeps paragraphs intact

    Only single line breaks inside paragraphs are removed; empty lines between paragraphs stay.

  • One line or a list

    Join everything into a single line, or use a custom separator such as a comma to build a list.

  • Fixes PDF hyphenation

    Words split across lines like “infor-” and “mation” are rejoined into “information”.

  • Cleans up spacing

    Trims stray spaces and tabs left at line ends so you do not get double spaces.

  • Every line break type

    Handles Windows (CRLF), Mac and Unix line endings as well as Unicode line separators.

  • Instant and private

    Results update as you type and your text never leaves your device.

03

When to use each option

A few common cases:

  • Text from a PDF or a scanned document: Keep paragraphs, replace with Space, and fix hyphenated words.
  • A list of items, one per line, that you need as “a, b, c”: Remove all with a custom separator of “, ”.
  • A long URL, code or ID broken across lines: Remove all and replace with Nothing.
  • An email quoted with hard line wraps: Keep paragraphs with Clean up extra spaces turned on.
04

Frequently asked questions

How do I remove line breaks but keep paragraphs?

Use the default Keep paragraphs mode. Line breaks inside a paragraph are replaced with a space, while the empty lines that separate paragraphs are kept.

Why does text copied from a PDF have line breaks everywhere?

PDFs store text as positioned lines rather than flowing paragraphs, so copying adds a break at the end of every visual line. This tool joins those lines back together.

Will it join words that were split with a hyphen?

Yes, when “Fix words split by hyphens” is on and the next line starts with a lowercase letter. Hyphens before a capital letter, such as “Mid-Atlantic”, are left alone.

Can I turn a list into comma-separated values?

Yes. Choose Remove all, set Replace line breaks with to Custom, and type “, ” as the custom text. Empty lines are skipped automatically.

Does it work with Windows line endings?

Yes. Windows (CRLF), classic Mac (CR) and Unix (LF) line breaks, plus Unicode line and paragraph separators, are all recognized.

Is my text uploaded?

No. The text is processed in your browser and is never sent to a server.