Clean Copied Text

Remove line breaks from text

Use this tool to remove unwanted line breaks from text copied from PDFs, emails, websites, documents or messaging apps. Choose whether to join lines with spaces, keep paragraph breaks, or convert each line into a list.

Example

Before
This sentence was
broken across two
lines for no reason.

This is a separate
paragraph that stays apart.
After
This sentence was broken across two lines for no reason.

This is a separate paragraph that stays apart.

120 characters · 20 words · 7 lines · 2 paragraphs

0 characters · 0 words · 0 lines · 0 paragraphs

Your text stays in your browser. Clean Copied Text does not upload or store what you paste.

What this tool fixes

  • Hard line breaks in the middle of sentences
  • Text that wraps awkwardly when pasted
  • Lists you want flattened into a paragraph
  • Paragraph spacing you want to preserve
  • A single space inserted so joined words never run together
  • Optional conversion of each line into a comma-separated list instead of a paragraph

How to use it

  1. 1Paste your textDrop in the messy text you copied from anywhere.
  2. 2Click cleanClean Copied Text fixes the formatting instantly, in your browser.
  3. 3Copy the resultCopy the clean text or download it as a .txt file.

Common uses

Reflowing PDF or e-book text into clean paragraphsJoining a copied address or quote into one linePreparing text for a single-line fieldTurning a vertical list into running textTurning a mailing address copied line-by-line into one lineFlattening a short list into a single sentence for a form field

Limitations

  • Blank lines are always treated as paragraph breaks and preserved; every other line break is joined.
  • On text with unusual formatting (like poetry or code), review the result — it cannot tell a deliberate short line from an accidental one.

Frequently asked questions

Can I keep the paragraph breaks?
Yes. By default blank lines between paragraphs are preserved, and only the line breaks inside a paragraph are removed.
Can I turn lines into a comma-separated list instead?
Not on this page — it always joins with a space. For a comma- or tab-separated result, use the Clean lists tool instead.
What happens to a bullet list if I run this?
Each bullet becomes part of the running paragraph text — use Clean lists first if you want to keep items on separate lines.
Does it add a space where lines are joined?
Yes. A single space is inserted between the last word of one line and the first word of the next, so words never get glued together.
Does it handle text with mixed Windows, Mac and Unix line breaks?
Yes. Every line-ending style is normalized to one format first, so text pasted from different apps and operating systems joins correctly.

Know someone who fights with messy pasted text?

Send them this tool — it might save them a headache with their next PDF, spreadsheet or chat export.