Skip to content

HTML Formatter

Format or minify HTML in syntax-highlighted editors, with options for whitespace, comments, blank lines, void tags, and wrapping text nodes.

The problem it solves

Generated or minified markup is a wall of tags; you need the structure visible before you can debug it.

Included in the app for
  • macOS
  • Windows
  • Linux
HTML Formatter with formatted markup

Features

  • Format or minify #

    Indent markup to show its structure, or minify it for production.

  • Whitespace and comment options #

    Collapse whitespace, wrap text nodes, keep blank lines, and preserve or strip comments.

  • Void tag style #

    Choose how void elements such as <br> and <img> are written.

Private by design

  • Your code and data stay on your machine: no stranger’s server sees them, and no AI trains on them.
  • Every tool works offline. The only network use is checking for updates.
  • Free to use with no ads or paywalls, ever. Source available on GitHub.