Remove Line Breaks
Paste text that broke into a dozen awkward lines and get one clean paragraph back — with or without spaces where the breaks were.
How it works
Paste text that's been hard-wrapped — say, copied out of a PDF or an email — and it collapses every line break into a single continuous line. You choose whether each break becomes a space or just disappears.
Replacing with a space is right for prose, so words at the end of one line don't fuse into the next. Removing entirely suits things like a code string or an ID that was split across lines by accident.
It also tidies up any double spaces the join leaves behind, then trims the ends. All of it happens in your browser, so nothing you paste is uploaded.
Frequently asked questions
When should I replace breaks with a space versus nothing?
Use a space for sentences and paragraphs so words stay separated. Use nothing when the text is a single value — like a token or URL — that was wrapped mid-way and shouldn't have spaces inside it.
Does it remove blank lines too?
It removes all line breaks, including the empty ones between paragraphs, and collapses the result into one line. If you only want to trim spacing, the Remove Extra Spaces tool keeps your line structure.
Will my text be uploaded?
No. The join happens on your device in the browser, so you can safely paste private or unpublished text.