AaCaseConvertly

Remove Line Breaks

Join broken lines back into flowing paragraphs — the fix for text copied out of PDFs and emails.

0 characters0 words0 lines0 sentences
Text without line breaks
Your joined text will appear here…

Private by design — every conversion runs locally in your browser. Your text is never uploaded, stored or tracked.

Copy text out of a PDF, an email or an e-book and it arrives shattered: every printed line ends in a hard line break, so one paragraph becomes ten short lines that wrap terribly wherever you paste them. This tool removes those breaks and joins the text back into continuous paragraphs, in one paste.

You choose how the breaks are replaced. “Replace with a space” is right for prose — the words on either side of a break become words in a sentence again, and paragraph breaks (blank lines) collapse to a single space as well. “Remove completely” deletes the breaks with nothing in their place, which is what you want for joining fragments, codes or list items that were split mid-token. The tool counts exactly how many breaks it removed.

When to use it

  • Repairing paragraphs copied from PDFs, e-books and scanned documents
  • Cleaning text pasted from emails, where lines were hard-wrapped
  • Preparing continuous text for a word counter, translator or editor
  • Joining address blocks, references or citations into single lines
  • Flattening multi-line data before importing it into a single spreadsheet cell

How it works

  1. Paste the broken text — every kind of line break is recognized: Windows (CRLF), Mac/Unix (LF) and legacy CR.
  2. In space mode, each break becomes one space, and any run of spaces left behind (including around blank lines) collapses to a single space.
  3. In remove mode, breaks are deleted outright, joining the surrounding characters directly.
  4. The result can be copied or downloaded as a .txt file; the counter shows how many breaks were removed.

Examples

Input
This paragraph was copied from a PDF, so every line ends too soon.
Output
This paragraph was copied from a PDF, so every line ends too soon.

Space mode — the standard repair for prose.

Input
REF-2026- 00451
Output
REF-2026-00451

Remove mode — the reference number is rejoined without a gap.

Good to know

Line breaks cause a second, sneakier problem beyond ugly wrapping: hyphenation. Printed documents often split a long word across lines with a hyphen (“informa- tion”), and a plain break removal leaves “informa- tion” behind. If your pasted text contains those, use space mode, then search the result for “- ” (hyphen-space) — each hit is a word to rejoin by hand. It takes seconds on an article-length text and is the difference between clean copy and subtly broken words scattered through it.

One caution before flattening: line breaks sometimes carry meaning. Poetry, code, addresses and lists use breaks as structure, and removing them destroys that structure irreversibly. Work on a copy, keep the original until you have checked the result, and for lists consider whether the remove duplicate lines tool or a spreadsheet is the better next step — this tool's job is paragraphs, and it deliberately does that one job completely.

Frequently asked questions

What is the difference between replacing breaks with a space and removing them?

Space mode puts one space where each break was — right for sentences and prose. Remove mode deletes the break entirely, joining characters directly — right for codes, references and fragments split mid-word. If you are not sure, space mode is the safe default for readable text.

What happens to paragraph breaks (blank lines)?

In space mode, a blank line collapses together with its surrounding breaks into a single space, so the whole text becomes one continuous block. If you need paragraphs preserved, convert one section at a time.

Why does text copied from PDFs have so many line breaks?

A PDF stores the visual lines of the printed page, not the logical paragraphs. Each printed line ends where the page layout ended it, and copying preserves those endings as hard breaks. Removing them reconstructs the paragraphs the author actually wrote.

Can this fix words split with a hyphen across lines?

Mostly, with one manual step: convert in space mode, then search for “- ” in the result — each occurrence is a hyphenated split word; delete the space (and usually the hyphen belongs to the split, so “informa- tion” becomes “information”).

Is my text uploaded or stored?

No. The conversion runs entirely in your browser. Nothing you paste is sent to a server, stored or logged — safe for documents and private text.

Related tools