The "Normalize Line Breaks" tool is a free utility that evens out the number of line breaks in your text. When you copy text from a web page, a PDF or an email, it often arrives with a messy pattern of blank lines – sometimes a single break, sometimes three or four in a row. This tool finds every run of line breaks and replaces it with the same fixed number, so the spacing becomes uniform and the text reads cleanly again.
You decide the target spacing. Use a line break count of 1 to keep one break between each line, or 2 to leave a blank line between paragraphs. Set the count to 0 to remove all line breaks entirely and join the lines into one continuous stream – and if you do, the join character lets you put a chosen symbol (like a comma or a semicolon) where each break used to be. The trim lines option strips the stray spaces and tabs that often sit at the start or end of a line.
The tool is written in PHP, HTML, CSS and vanilla JavaScript using the site's shared Toolkit helper. Every change runs locally in your browser, so your text never leaves your device, nothing is uploaded or stored, and it works on any device with a modern browser – free, with no account needed.