Format or minify an HTML document.
It uses Prettier — the same formatter many code editors use — to reformat your HTML with consistent indentation and line breaks, without changing what it renders.
It strips comments and collapses extra whitespace between tags to reduce file size, which is a quick way to shrink HTML for production without a full build pipeline.
No — formatting and minifying both run entirely in your browser.