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
- pdm
Modern Python package and dependency manager supporting the latest PEP standards - clang-tidy-sarif
Convert clang-tidy output to SARIF - bibtex-tidy
Cleaner and Formatter for BibTeX files - ctcache
Cache for clang-tidy static analysis results - scholdoc
Convert ScholarlyMarkdown documents into the HTML5, LaTeX, and Docx (OOML) formats. - superpowers-app
Desktop app for the HTML5 2D+3D game maker - autoit-script-editor
AutoIt Script Editor - tidy-viewer
CLI csv pretty printer
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents