Text tools

Remove line breaks

Turn awkwardly wrapped text into readable paragraphs, or put it all on one line.

Your text stays in your browser
Options
Up to 200,000 characters

Ready when you are.

Private by designYour text is processed on your device.
A clear view, instantlyLive counts, without an extra click.
Free. No sign-up.Just open the tool and get started.

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

1
Add your text

Paste your text or try the example. Your original stays editable.

2
Choose the options

Adjust the settings to match your task. The result updates automatically.

3
Take the result

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.

Continue with another tool