Collapse runs of consecutive blank lines into a single blank line for tidy documents. Blank Line Collapser is a free online tool from the ToolsRift Code Formatters collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Any run of two or more consecutive blank lines is reduced to exactly one blank line, so single spacing between blocks is preserved.
No. It keeps a single blank line between blocks so structure and readability are maintained; it only removes the excess.
It normalizes line endings to LF while collapsing blanks, so the output is consistent across editors and platforms.