Remove Line Breaks
Paste text with unwanted line breaks, such as text copied from a PDF or an email, and get it back as smooth running text.
Features
- Replace line breaks with a space or with nothing
- Option to keep the paragraphs and only remove the breaks inside them
- Optionally join words split with a hyphen at the line end
- Shows how many line breaks were removed
How to use Remove Line Breaks
- Paste your text.
- Choose what each line break becomes.
- Copy the result.
Frequently asked questions
Which option should I choose?
'A space' joins the lines into one block. 'Keep paragraphs' only removes the breaks inside a paragraph and keeps the blank lines between paragraphs. 'Nothing' glues the lines together without a space, which suits lists of codes or numbers.
Why does text copied from a PDF have so many line breaks?
A PDF stores each line of a page separately, so copying it gives a line break at the end of every line, even in the middle of a sentence.
What does the hyphen option do?
It joins a word that was split over two lines, so 'inter-' and 'national' become 'international'. It only joins when the next line starts with a lowercase letter, so a real hyphenated word followed by a capital stays as it is. Check the result for words that should keep their hyphen.
Is my text uploaded?
No. Everything runs in your browser.