Remove Line Breaks From Text
Paste your text and the tool will remove line breaks, joining the broken lines back into normal sentences. Choose whether each break becomes a space or nothing, and tick keep paragraph breaks to leave blank lines between paragraphs. Extra spaces are collapsed, so the result is clean and ready to paste.
Text copied from a PDF, an old email or a narrow web column often keeps a hard line break at the end of every line. Pasted into a document or a form, it turns into a ragged column of short lines. Removing the breaks puts the words back into flowing paragraphs.
How to remove line breaks
- Paste the text with unwanted line breaks into the box.
- Choose whether to replace each break with a space or with nothing.
- Tick keep paragraph breaks if you want blank lines between paragraphs kept.
- Copy the cleaned text.
When to remove line breaks with a space or with nothing
Replace with a space for normal prose. Without it, the last word of one line and the first word of the next would join together, so "blue" at the end of one line and "sky" at the start of the next would become "bluesky".
Replace with nothing when the break sits inside something that should not have a gap, such as a long link, a code or an ID that wrapped across lines. Keep paragraph breaks is best for articles and letters: single breaks go away while the blank line between paragraphs stays.
Frequently asked questions
Why does text from a PDF have so many line breaks?
PDFs store text as positioned lines, not paragraphs, so copying keeps a break at the end of each visual line.
Can I keep my paragraphs?
Yes. Turn on keep paragraph breaks and blank lines between paragraphs stay in place.
What happens to double spaces?
Runs of extra spaces are collapsed to a single space.