Remove Line Breaks — Fix Text Copied from PDFs and Emails
Join text that was broken into short lines — such as text copied from a PDF — while keeping real paragraphs.
Free, with no sign-up and no watermark. The file is processed in your browser and never uploaded.
Text copied from PDFs, emails and old documents often breaks every line at a fixed width. This tool joins those lines back together. With Keep paragraph breaks on, real paragraphs (separated by a blank line) stay separate. You can join lines with a space, nothing, a comma or a semicolon.
Step by step
- Paste the text: Put the broken-up text in Input text.
- Keep paragraphs?: Leave Keep paragraph breaks (blank lines) on to preserve paragraphs, or turn it off to make one long line.
- Choose a joiner: Under Join lines with, pick Space, Nothing, Comma or Semicolon.
- Copy the result: Click Copy or Download.
Handy for
PDF quotes
Clean up a passage copied from a PDF before pasting it into a document.
Lists to one line
Turn a column of values into a comma-separated line.
Email forwarding
Fix hard-wrapped email text.
Subtitles
Merge subtitle lines into readable paragraphs.
Good to know
Each line is trimmed before joining, so you won’t get double spaces.
If your paragraphs aren’t separated by blank lines, they will be joined too — add a blank line between them first.
Questions
Will it remove hyphens at line ends?
No. A word split with a hyphen across two lines keeps the hyphen; remove it with Find and Replace if needed.
Can I turn a list into comma-separated values?
Yes — choose Comma and turn off Keep paragraph breaks.
Is my text sent anywhere?
No. Everything is processed by your browser on your own device — nothing you type or upload is sent to a server, so it is safe to use with private notes, drafts and work documents.
More Text Tools tools
- Remove Extra Spaces — Collapse double spaces, trim lines and remove extra blank lines and odd Unicode spaces in one go.
- Find and Replace Text — Find words or patterns in text and replace them everywhere, with match highlighting, whole-word and regex options.
- URL Slug Generator — Turn titles into clean, SEO-friendly URL slugs — accents removed, spaces replaced, length limited.
- Lorem Ipsum Generator — Generate lorem ipsum placeholder paragraphs, sentences, words or list items, as plain text or HTML.
- Reverse Text — Reverse text by characters, words, lines or the letters inside each word — emoji stay intact.
- Text Repeater — Repeat a word, line or message up to 10,000 times with your choice of separator.