Local StudioDEVELOPER TOOLS HTML Minifier
100% Offline Download Tool Tools Catalog

HTML Minifier

Compact HTML source and keep meaningful whitespace intact.

Choose an HTML File

UTF-8 HTML up to 2 MiB. You can also paste source.

Paste HTML or choose a file.

Instructions

  1. Choose a UTF-8 HTML file, paste source, or open the sample.
  2. Select Keep all comments if your workflow depends on comments. Select Minify HTML to compact the supported syntax.
  3. Review both byte totals, then select Copy HTML or Download HTML.

UTF-8 HTML5 documents and fragments up to 2 MiB and within the parser’s structural budget. Preserves raw text, preformatted blocks, templates, foreign markup and recognized notices. The workbench handles source as text.

Security Check

HTML Minifier

Read and minify HTML locally as inert text.

  • Open or Paste HTMLWork with a local UTF-8 file or paste source.
  • Check Byte SavingsCompare original and minified UTF-8 byte sizes.
  • Save the Complete OutputCopy the result or download a separate HTML file.

Local Security Check

Checking This Tool

Checking the launch, browser policy, and resources.

    These checks cover this tool page. Website links open only when selected.

    File Access

    The browser reads your local source and creates a separate output. It does not send your source or request resources referenced by it.