FREE DEVELOPER TOOL

HTML Minifier / Beautifier

Minify HTML for smaller production files or reformat compressed markup into a more readable structure.

Submitted HTML is sent to the Brilliance processing service to generate the result. Do not submit passwords, API keys, private tokens, or other sensitive information.

0 / 500,000
HTML will be compressed according to the selected options.
Minification Options
Removes standard HTML comments where supported by the processor. Reduces unnecessary whitespace while attempting to preserve markup behavior. Removes attributes with empty values where the processor determines it is safe to do so.
ABOUT HTML MINIFICATION

Minification reduces markup size

HTML minification typically removes unnecessary whitespace, comments, and redundant formatting while attempting to preserve the document's behavior. Always test important pages after processing.

SECURITY NOTE

Minifying HTML does not sanitize it

This tool should treat HTML strictly as text for formatting. It must not execute scripts, render submitted markup in the tool page, fetch external resources, resolve URLs, or treat the output as trusted HTML.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.

The session has been paused.