CopyPaster logo
Copy Paste Room

Share text, files, and chat with devices on the same public IP.

Public-IP room · real-time sync

Join lines

Merge hard-wrapped lines into paragraphs, keeping real breaks.

Runs entirely in your browser — your text is never uploaded.

Why PDF and email text arrives broken

A PDF has no concept of a paragraph. It positions each line of text at fixed coordinates on the page, so when you select and copy, every visual line becomes a separate line of text with a hard break at the end. Plain-text emails have the same problem for a different reason: many clients still wrap at 72 or 80 characters and insert real newlines to do it.

The result pastes into a document as a column of short, ragged lines that will not reflow when you resize, edit, or change the font. Deleting the breaks by hand is tedious and error-prone on anything longer than a paragraph.

Keeping the breaks that matter

The distinction this tool relies on is that a single newline is almost always an accident of wrapping, while a blank line — two newlines in a row — is a deliberate paragraph break. Single breaks within a block are replaced with spaces, and blank lines are preserved as paragraph separators.

That heuristic covers most PDF and email text well. It is worth knowing where it fails: content that is genuinely one item per line without blank lines between, such as a list, an address block, or a column of data, will be merged into a single line. Do not run those through this tool.

Other text tools

  • Remove formattingPaste text copied from a document or web page and get clean plain text back.
  • Case converterSwitch text between upper, lower, title, and sentence case.
  • Word counterCount words, characters, sentences, and reading time as you type.

Explore more