AptLynx

Command-line tool

tidy-html5

brew/tidy-html5

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Granddaddy of HTML tools, with support for modern standards

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id HTACG.tidy -e
scoop install tidy

macOS

brew install tidy-html5

Linux

brew install tidy-html5

Pretty print an HTML file

tidy path/to/file.html

Enable indentation, wrapping lines in 100, saving to `output.html`

tidy -i y -w 100 -o path/to/output.html path/to/file.html

Modify an HTML file in-place using a configuration file

tidy -config path/to/configuration -m path/to/file.html

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents