TextToolboxSmart text & developer utilities
My Tools

Remove Line Breaks

Paste broken text from a PDF or email and get clean, flowing paragraphs back.

How to use the Remove Line Breaks

  1. Paste the text with the unwanted line breaks.
  2. Keep “Preserve paragraphs” selected to keep blank-line breaks between paragraphs.
  3. Choose “Replace with nothing” for data such as a wrapped code or ID that must be joined exactly.
  4. Copy the result.

Why PDFs break your text

A PDF stores text as positioned lines, not paragraphs. When you copy it, every visual line ends with a hard line break, and words split at the end of a line keep their hyphen: informa-
tion
. Pasted into a document or an email, that becomes a jagged mess.

This tool joins lines within a paragraph with a single space, rejoins words that were hyphenated across a line break, and collapses the double spaces that are left behind.

The three modes

  • Preserve paragraphs — joins lines, but keeps a blank line between paragraphs. Best for PDFs and articles.
  • Replace with space — one continuous block of text. Best for pasting into a single-line field.
  • Replace with nothing — joins lines with no separator. Best for wrapped keys, hashes or Base64.

Frequently asked questions

Will it remove the hyphen from real hyphenated words?

Only when the hyphen sits at the very end of a line and the next line starts with a lower-case letter — the signature of a word split by wrapping. A hyphen inside a line, like “well-known”, is never touched.

How do I remove line breaks in Word?

In Word, use Find and Replace with ^p (paragraph mark) and replace with a space. It cannot tell paragraph breaks from wrapped lines, which is exactly what “Preserve paragraphs” here does for you.

Is my text uploaded?

No. The conversion runs entirely in your browser.