Remove line breaks from text
Turn hard-wrapped lines back into flowing paragraphs, or strip every line break out of a list, in this tab.
- Free, unlimited
- 100% on-device
- No sign-up
Remove line breaks from text
Result
| # | Word | Count | Share | Bar |
|---|
Three steps — nothing to install
Paste the wrapped text
Copied PDF text, an email that wrapped at 70 characters, or a list with blank lines in it.
Choose how to join
A space between lines, nothing at all, paragraph-aware unwrapping, or just remove the empty lines.
Copy or download
The joined text replaces the preview; the original stays in the box until you clear it.
Why copied text arrives with line breaks
A PDF does not store paragraphs. It stores glyphs at positions, and when you copy a paragraph out, the copier inserts a line break wherever the visual line ended. Paste that into an email and every visual line becomes a hard break, so the text re-wraps in the wrong places.
The same thing happens with text from a terminal, a spreadsheet cell, or an email client that wrapped at 70 characters. Removing those breaks puts the paragraph back together. The duplicate line remover is the companion tool when the copied block also repeats lines.
The four ways to join
Join with a space is the right choice for prose: every break becomes one space and runs of spaces are collapsed. Delete every break joins the text with nothing, which suits a list of codes where a space would change the value.
Unwrap paragraphs treats a blank line as the end of a paragraph: single breaks inside it become spaces, blank lines are kept. That is the shape you want when pasting into an email or a CMS. Remove empty lines leaves every real line alone and only drops the gaps, which is useful for a list you are about to sort.
When a line break is content
Addresses, poems, shell scripts, CSV rows and code all depend on their line breaks. Joining them changes the meaning, not just the layout. For code, keep the breaks and fix the wrapping instead; for CSV, use the CSV converter so quoting is handled rather than guessed.
One small detail: a hyphen at the end of a visual line is usually part of a hyphenated word, so this tool keeps it. If the original was hyphenated across the break by the typesetter, well- plus known becomes well- known, and you will need to fix that one by hand.