Remove line breaks
Turn awkwardly wrapped text into readable paragraphs, or put it all on one line.
Ready when you are.
Before and after
Before
A sentence copied from a narrow column. A second paragraph.
After
A sentence copied from a narrow column. A second paragraph.
Three simple steps
Paste your text or try the example. Your original stays editable.
Adjust the settings to match your task. The result updates automatically.
Copy the result or download a UTF-8 text file.
When this helps
Useful after copying text from a PDF, email or narrow column when sentences have been split across lines. Keep paragraph breaks for articles; switch them off for a single-line field.
How it works and what to expect
A single line break becomes a space between non-empty, trimmed lines. Blank lines separate paragraphs when the paragraph option is enabled. Several blank lines become one paragraph break.
With paragraph preservation off, all non-empty lines are joined with one space. Spaces already inside each line are preserved; use Remove Extra Spaces afterwards if needed.
The tool does not infer headings, fix OCR errors or join hyphenated words. For example, a line ending in “exam-” followed by “ple” remains “exam- ple”. Line endings in the result use LF.
Useful details
How are paragraphs detected?
A blank line, including one containing spaces or tabs, marks a paragraph boundary.
Will it repair PDF extraction?
It joins line breaks only. Review reading order, hyphenation and characters after copying from a PDF.
Can I make a single line?
Yes. Disable Keep paragraph breaks.