Remove Line Breaks

Unwrap text that was pasted from a PDF or an email.

Remove Line Breaks joins text that has been hard-wrapped mid-sentence — the state text arrives in when copied from a PDF, an email client or a terminal. It can keep paragraph breaks while removing the line breaks inside them, strip empty lines, and repair words broken by a hyphen. The text never leaves your browser.

Loading Remove Line Breaks…

Runs entirely on your device. No file or text you enter here is uploaded. How to verify it.

How to use Remove Line Breaks

  1. Paste the wrapped text.
  2. Choose whether to keep paragraph breaks and repair hyphenation.
  3. Copy the cleaned text.

Questions about Remove Line Breaks

How does it tell a paragraph break from a line break?
A blank line, or a line ending in sentence punctuation followed by a line starting with a capital. Single breaks inside a sentence are removed; the paragraph structure survives.
What is hyphenation repair?
PDFs break words across lines with a hyphen — "inter-" then "national". Joining naively gives "inter-national". The repair option rejoins them into "international" while leaving genuinely hyphenated compounds alone.
Does it handle Windows line endings?
Yes, CRLF, LF and the old CR are all recognised, and you can choose which the output uses.
Why does text copied from a PDF break mid-sentence?
A PDF stores positioned text runs, not paragraphs, so the copy handler inserts a break at the end of every visual line. The breaks you see are an artefact of the page layout rather than anything in the writing.
Does this work on a phone?
Yes. Paste from the clipboard, choose the options, copy the result — the whole thing runs in mobile Safari or Chrome with no app and no account.
Is Remove Line Breaks really free, with no limits?
Yes. There is no account, no daily cap, no file-size tier and no watermark, because there is no server cost to recover. The site is funded by clearly disclosed partner recommendations on the Partners page, never by metering the tools.
Are my files or text uploaded when I use Remove Line Breaks?
No. Everything is processed by JavaScript running in your browser, on your device. You can verify it: open your browser's developer tools, switch to the Network tab, and use the tool. You will see no request carrying your data — because there is nowhere for it to go.