Free online tools

Remove Line Breaks from Text

Turn hard-wrapped text into readable paragraphs. Choose whether to keep blank lines between paragraphs or join everything into one line.

Enter your values

Paste text with hard line breaks from a document, excerpt, or export.

This tool processes your input in your browser.

Result

Keep the separation between ideas

Choose to keep paragraphs when blank lines mark a new section, or when pasting a document with one hard break after every wrapped line. The tool joins lines within each paragraph with one space, and uses one blank line between paragraphs.

Choose how to join the breaks

Use spaces for a single-line version with word boundaries intact. The two space-based modes trim whitespace at the edges. Choose removal without spaces when rejoining a string broken into pieces, such as a copied ID. This last mode preserves other spaces and tabs.

Frequently asked questions

Does the tool remove automatic word wrapping?

It acts on line-break characters in your input. Lines that only appear wrapped because of a narrow window are already one line in the text.

What counts as a paragraph break?

A blank line, including a whitespace-only blank line, separates paragraphs. The Unicode paragraph separator is also recognized.

Will it fix words split by hyphens at the end of a line?

Hyphens stay as entered. Inspect words that were split across lines in a PDF or printed document.