Remove Line Breaks
Join broken lines from PDFs and emails into clean paragraphs, and remove extra spaces.
Made in your browser — nothing is uploadedDrop a file here
or
Select fileProcessing your file…
0%
Something went wrong
About Remove Line Breaks
Text copied from a PDF or an email often breaks in the middle of sentences. Paste it here to join the lines back into paragraphs, or into one line, and to join words split by a hyphen at the end of a line. Extra spaces are removed too. Copy the clean text or download it.
How Remove Line Breaks works
Remove Line Breaks rebuilds paragraphs from text copied out of PDFs, emails and websites, where every line ends with a hard break. With Keep paragraphs, lines inside a paragraph are joined with a space and the empty lines between paragraphs are kept; Remove all puts everything on one line; Lines to a list joins lines with commas.
A word split by a hyphen at the end of a line (exam- / ple) is joined back together, and double spaces and spaces before punctuation are removed. It all happens in your browser.
When to use Remove Line Breaks
- Clean text copied from a PDF before pasting it into Word, an email or a form.
- Turn a list of names or numbers, one per line, into a comma-separated list.
- Remove the breaks in text copied from a website or an OCR result.
How to use Remove Line Breaks
- Paste your text. Into the top box.
- Choose how to join. Keep paragraphs, Remove all, or Lines to a list.
- Copy or download. Press Copy, or download a .txt file.
Options explained
Frequently asked questions
Will my paragraphs be kept?
Yes, with Keep paragraphs: lines inside a paragraph are joined, and the empty line between paragraphs stays.
Will a hyphenated word like “well-known” be changed?
No — only a hyphen at the very end of a line, followed by a lowercase word on the next line, is joined.
Is what I type private?
Yes. Remove Line Breaks runs entirely in your web browser, so what you type is never sent to us or stored anywhere.
Guides
Related tools
- Word Counter Count words, characters, sentences and paragraphs as you type, with reading time.
- Case Converter Change text to UPPERCASE, lowercase, Title Case or Sentence case in one click.
- Text Compare Paste two versions of a text and see every added, removed and changed word.
- JSON Formatter Format, check and minify JSON, with the exact line of any mistake.