String Tool
28 May 2025

Replace two or more consecutive line breaks with a single line break

This tool replaces two or more line breaks with a single line break, effectively removing all empty lines.

Since it runs with JavaScript, the text you enter is not sent to the server.