Keep up to one blank line
Input
Paragraph 1\n\n\nParagraph 2\n\n\n\nParagraph 3
Output
Paragraph 1\n\nParagraph 2\n\nParagraph 3
Tidy stretches of blank lines in your text and keep the regular breaks between lines.
You can count lines with only whitespace as blank, too. Your browser does the work.
If pasted text has too many blank lines, keep just one or two in a row or remove them all. The breaks between lines of text stay as they are.
Input
Paragraph 1\n\n\nParagraph 2\n\n\n\nParagraph 3
Output
Paragraph 1\n\nParagraph 2\n\nParagraph 3
Input
A\n\n\nB\n\nC
Output
A\nB\nC
Input
Heading\n(space-only line)\n(tab-only line)\nBody
Output
Heading\n\nBody
A line with nothing on it. You can also count lines that contain only whitespace as blank.
Here this means a run of blank lines. Regular breaks between lines of text stay in place.
These are two ways to mark the end of a line. The web and Unix systems often use LF. Windows editors often use CRLF.
The default setting keeps regular line breaks and reduces runs of blank lines. Choose “Remove all blank lines” to remove every blank line.
Yes. By default, a line counts as blank if it contains only spaces, tabs, non-breaking spaces, or fullwidth spaces.
Yes. Under “Blank lines at the start and end” in the extra settings, choose whether to keep or remove them.
Yes. Find “Line breaks in the result” in the extra settings and choose LF or CRLF.
Your browser tidies the text without sending it to a server.