FormatNest
Language
Tool input is processed in your browser | No account needed | 100% free · no watermarks |

Developer tool

HTML Minifier

Conservatively compact plain HTML attribute quoting while preserving text whitespace, comments, scripts and styles. Process locally in a time-limited worker.

HTML Minifier Online

Download

Loading tool controls...

Format and inspect source safely

  1. Paste valid plain source in the input editor.
  2. Process it locally; the parser runs in a worker with a 15-second limit.
  3. Review the result and test it in your project before copying or downloading.

Example and assumptions

Text in pre and textarea elements is not aggressively whitespace-compressed. HTML minification intentionally keeps comments and embedded code.

Limits

Up to 200,000 characters. Standard plain source only, not arbitrary template languages. Embedded language formatting is disabled. HTML minification is conservative and may offer little size reduction. Formatting is not validation of application behavior, security or framework hydration. Source never executes in this tool.