HTML Minifier
Strip comments and extra whitespace from embed code or custom HTML blocks.
This is meant for the small embed snippets and custom HTML blocks bloggers paste into widgets and post editors, not a full page's markup — comments and formatting whitespace add up in exactly those small blocks, where every editor's own indentation habits get pasted in verbatim.
A real gotcha with inline scripts — whitespace collapsing applies inside script tags too, so an embed with a JavaScript line comment (// like this) can end up merged onto the same line as the code after it, turning that next line into part of the comment. Worth a quick check of the output if your embed code includes inline JavaScript with // comments.