MyScripter

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

Related Tools