Text Input

0 / 1,000,000
Join Method

How to remove line breaks

Enter text, choose whether to join lines with spaces or no separator, and then remove the line breaks.

Compare the two joining modes

Use space joining for wrapped prose to keep neighboring words apart. No-separator joining can reconstruct an identifier split across lines. Both modes omit empty and whitespace-only lines.

Input:
alpha

beta

Join with spaces → alpha beta
No separator → alphabeta

Existing spaces remain

Leading and trailing spaces and tabs on non-empty lines are kept. Joining a line containing 'A ' to a line containing ' B' leaves three spaces between the letters in space mode, or two in no-separator mode. Use Whitespace Remover when you also need to trim or collapse spaces.

LF, CRLF, and CR line endings are accepted; the browser normalizes them to LF in the text area. The reported count is the number of line breaks, not the number of blank lines removed or spaces in the output.

Keep the original for structured text

Line breaks can carry meaning in addresses, code, poetry, CSV, and Markdown. This tool does not detect PDF line-end hyphens or reconstruct paragraphs. Check joined words and paragraph boundaries before copying the result.

Frequently Asked Questions

Are empty lines removed too?

Yes. Empty lines are omitted, and lines containing text are joined using the selected method.

Does line-break removal send or store text?

No. All processing happens in your browser, and neither the input nor result is stored on a server or in a database.