HTML Minify / Format

1
2
3
4
5
6
7
8
9
10
11

About this tool:

  1. Minify or format HTML instantly.
  2. Choose indentation style (e.g., 2 or 4 spaces).
  3. Use "Upload" to process a local HTML file.
  4. Runs in-browser; no files are uploaded to a server.

How to Use

What this tool does

Formats or minifies HTML markup, adjusts indentation, uploads local files, and supports copying/clearing content. Processing is local.

Steps

  1. Paste or upload HTML into the editor.
  2. Click Format for pretty output; Minify to compress.
  3. Use Indent to change indentation width.

Examples

Notes