You copy a paragraph from a PDF, paste it into an email or document, and it arrives chopped into short lines, each ending exactly where the original page ended. Fixing it by hand means pressing Delete dozens of times. If you have been wondering how to remove line breaks from text quickly, the answer is a simple clean-up tool that joins the lines back together while keeping the real paragraph breaks.
Why the extra line breaks appear
PDFs are designed for printing. They store text as lines placed on a page rather than as flowing paragraphs, so when you copy text copied from PDF files, every visual line becomes its own line. The same thing happens with:
- Old emails that were wrapped at 72 or 80 characters
- Text from scanned documents after OCR
- Subtitles and transcripts
- Content copied from some websites and apps
The difference between line breaks and paragraph breaks
A line break ends a line. A paragraph break is usually two line breaks – an empty line between paragraphs. A good tool removes the single breaks inside paragraphs while keeping the double ones, so your paragraphs stay separate.
Cleaning text in three steps
With the free Remove Line Breaks tool:
- Paste your text into the box.
- Choose an option: remove all line breaks, or keep paragraph breaks (best for most documents).
- Copy the result and paste it where you need it.
It runs in your browser, so the text never leaves your device.
Other clean-up tricks
- Extra spaces: after joining lines you may see double spaces. Most clean-up options collapse them to one.
- Hyphenated words: PDFs sometimes split words across lines ("informa- tion"). Search for "- " and fix them in your editor.
- Duplicate lines: lists exported from spreadsheets or email tools often contain repeats. Remove Duplicate Lines deletes them in one click and can sort the list too.
- Wrong capitalisation: text in all caps can be fixed with the Case Converter.
Doing it in Word or Google Docs
You can also use Find and Replace in Microsoft Word:
- Replace
^p^p(two paragraph marks) with a placeholder such as##. - Replace
^pwith a space. - Replace
##with^p^pto restore the real paragraphs.
It works, but it is fiddly and easy to get wrong – a dedicated tool is faster for everyday use.
Getting the text out of a PDF in the first place
If copying from the PDF gives you garbled characters or nothing at all, the document is probably a scan. Convert it with PDF to Word, or for scanned pages use Image to Text. Our guide on how to extract text from image explains how OCR works.
After cleaning
Check the length with the Word Counter if you have a limit, and compare your cleaned version with the original using the Diff Checker if you want to be sure nothing was lost.
Frequently asked questions
Will it remove my paragraph breaks too? Only if you choose "remove all". The default "keep paragraphs" option preserves empty lines between paragraphs.
Does it work for lists? For lists you usually want to keep one item per line, so do not remove the breaks – use Remove Duplicate Lines to tidy them instead.
Is there a limit on text length? It handles very long documents, but extremely large files may be slow on older phones.
Is my text stored? No. The clean-up happens in your browser.
Summary
Now you know how to remove line breaks from text: paste it into a clean-up tool, keep the paragraph breaks, and copy the tidy result. For lists, remove duplicates instead; for scanned PDFs, extract the text with OCR first. Try the free Remove Line Breaks tool next time a PDF ruins your formatting.