MyScripter
Tools

HTML Prettify / Minify

Clean up minified HTML from templates, emails, or scraped pages. Prettify uses an industry-standard formatter for consistent indentation; minify strips extra whitespace between tags for a smaller payload.

HTML Prettify / Minify

How to Use This Tool

  1. Paste your HTML into the input panel.
  2. Click Prettify for readable, indented markup.
  3. Click Minify for a compact one-line style (whitespace between tags removed).
  4. Copy the result when you are done.

Features

  • Prettify with consistent indentation
  • Lossless structural minify (whitespace between tags)
  • Runs entirely in the browser
  • Dark mode UI

Frequently Asked Questions

Is my HTML sent to a server?
No. All processing happens in your browser.
Will minify change my content?
It removes comments and collapses whitespace between tags. Text inside elements is preserved as parsed by the browser pipeline for display logic.

Related Tools