How to use Remove Line Breaks
- Paste the text you copied from a PDF, email or web page into this text cleaner.
- Choose how to join lines – keep paragraphs, or put everything on one line.
- Tick any extra clean-up options, then copy or download the cleaned text.
About this tool
Text copied from a PDF, an email or a narrow web page often arrives broken into short lines, with double spaces and words split by hyphens. Pasting that into a document or a form looks messy. This tool helps you remove line breaks in one step: lines inside a paragraph are joined back together, while the blank lines between paragraphs can be kept.
You can also remove all line breaks to get one long line (joined with spaces, commas or nothing), trim spaces at the start and end of each line, remove extra spaces, rejoin words that were hyphenated across lines, delete empty lines and duplicate lines, and sort lines alphabetically. The result updates as you change the options, and everything happens in your browser.