macOS
brew install tidy-html5local Homebrew formula metadata
sudo port install tidyMacPorts ports tree · www/tidy/Portfile · source: api.github.com
brew
Granddaddy of HTML tools, with support for modern standards. Version 5.8.0 via Homebrew; verified from local package data.
install
brew install tidy-html5local Homebrew formula metadata
sudo port install tidyMacPorts ports tree · www/tidy/Portfile · source: api.github.com
sudo apt install libtidy-devDebian stable package indexes · libtidy-dev · source: deb.debian.org
sudo dnf install tidyFedora Rawhide package metadata · tidy · source: dl.fedoraproject.org
sudo pacman -S tidyArch Linux sync databases · tidy · source: geo.mirror.pkgbuild.com
sudo zypper install libtidy-developenSUSE Tumbleweed package metadata · libtidy-devel · source: download.opensuse.org
winget install --id HTACG.tidy -eWindows Package Manager source index · HTACG.tidy · source: cdn.winget.microsoft.com
scoop install main/tidyScoop official bucket manifest trees · bucket/tidy.json · source: api.github.com
overview
Granddaddy of HTML tools, with support for modern standards
history
HTML Tidy is a long-running command-line and library project for cleaning, diagnosing, and pretty-printing HTML, now maintained by the HTACG Tidy HTML Project with HTML5 support.
The official HTML Tidy site traces the project to Dave Raggett of the W3C in the early Web era. Raggett's original W3C page describes Tidy as a free utility for automatically fixing common HTML mistakes, cleaning up hard-to-read output from editors and converters, and identifying accessibility issues that need author attention.
After Raggett's original work, maintenance moved to volunteers at tidy.sourceforge.net, where the project became a C library and kept pace with evolving standards. The official history says W3C members renewed interest in 2011 and forked the project to GitHub with HTML5 compatibility, then in 2015 HTACG formed to revitalize Tidy after a non-maintained period.
HTACG's repository carries the modern `tidy-html5` source and describes the project as the granddaddy of HTML tools with support for modern standards. The repository metadata shows the GitHub project dating to 2011, matching the official history's GitHub-era transition.
HTML Tidy has unusually broad package-manager and platform history for a web utility. The official site says many operating systems already ship a `tidy` command, though often too old for HTML5, and lists package-manager installs for macOS through Fink, Homebrew, and MacPorts plus Windows through Chocolatey.
The input package facts show a wider current packaging footprint across Homebrew, Debian/Ubuntu, Fedora, Arch, MacPorts, Scoop, winget, and openSUSE-family packages, reflecting Tidy's role as both a CLI utility and `libtidy` development dependency.
Users run `tidy` to clean malformed or messy HTML, format output, flag errors and warnings with line and column information, and modernize documents produced by WYSIWYG editors or office exporters. Developers can also embed `libtidy`, whose official site describes APIs for parsing HTML into a DOM-like tree, cleaning and diagnostics, traversing nodes, and pretty-print output.
The original W3C page also documents Tidy's Unix-tool-style appeal: it can be used locally as a binary, as source code, and historically through online services, making it useful in editors, build scripts, validation workflows, and conversion pipelines.
For package nerds, tidy-html5 is a good example of an old web utility whose name, fork history, and packaging split matter: users may see `tidy`, `tidy-html5`, `libtidy`, or development packages depending on the platform.
It is also historically important because it bridges early W3C-era authoring tools and modern HTML5-oriented command-line workflows. The package remains useful precisely because it is boring, scriptable, and available almost everywhere.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tidy | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/htacg/tidy-html5
install metadata
| Package key | brew:tidy-html5 |
|---|---|
| Version | 5.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/tidy-html5 |
| Homepage | https://www.html-tidy.org/ |
| Repository | https://github.com/htacg/tidy-html5 |
| Upstream docs | https://www.html-tidy.org/documentation |
| License | Zlib |
| Source archive | https://github.com/htacg/tidy-html5/archive/refs/tags/5.8.0.tar.gz |
| Build dependencies | cmake |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tidy-html5 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libtidy-dev 2:5.8.0-2
HTML/XML syntax checker and reformatter - development
sudo apt install libtidy-devlibtidy58 2:5.8.0-2
HTML/XML syntax checker and reformatter - shared library
sudo apt install libtidy58tidy 2:5.8.0-2
HTML/XML syntax checker and reformatter
sudo apt install tidylibtidy-dev 2:5.6.0-11ubuntu2
HTML/XML syntax checker and reformatter - development
sudo apt install libtidy-devlibtidy5deb1 2:5.6.0-11ubuntu2
HTML/XML syntax checker and reformatter - shared library
sudo apt install libtidy5deb1tidy 2:5.6.0-11ubuntu2
HTML/XML syntax checker and reformatter
sudo apt install tidytidy 5.8.0-13.fc44
Utility to clean up and pretty print HTML/XHTML/XML
sudo dnf install tidyHTACG.tidy
winget install --id HTACG.tidy -etidy
sudo port install tidylibtidy 5.8.0-13.fc44
Runtime library for tidy
sudo dnf install libtidylibtidy-devel 5.8.0-13.fc44
Development files for tidy
sudo dnf install libtidy-develtidy 5.8.0-3
A tool to tidy down your HTML code to a clean style
sudo pacman -S tidylibtidy-devel 5.8.0-2.3
Development files for libtidy
https://github.com/htacg/tidy-html5
sudo zypper install libtidy-devellibtidy58 5.8.0-2.3
Library to Clean Up and Pretty-print HTML, XHTML or XML Markup
https://github.com/htacg/tidy-html5
sudo zypper install libtidy58tidy 5.8.0-2.3
Utility to Clean Up and Pretty-print HTML, XHTML or XML Markup
https://github.com/htacg/tidy-html5
sudo zypper install tidytidy-doc 5.8.0-2.3
Documentation for tidy and libtidy
https://github.com/htacg/tidy-html5
sudo zypper install tidy-docsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.