Skip to content
ADAAT

HTML Formatter & Minifier

Local processing — your files never leave your device

Paste your markup and get a readable, evenly indented version — or a compacted one to ship — with one-click copying either way.

How to use

  1. 1Paste your HTML code.
  2. 2Choose "Format" or "Minify".
  3. 3Copy or download the result.

Features

  • Automatic tag indentation
  • Minify by removing comments and whitespace
  • Size comparison before and after

When to use this tool

Use it to read a minified template, to normalize code before sharing, or to shrink an HTML file before uploading it.

FAQ

Does the tool check HTML validity?

The tool relies on the browser's parser (DOMParser) and handles incomplete code flexibly without altering its structure.