Automic VaultAutomic Vault

brew

Install tidy-html5 with Homebrew, apt, dnf, winget, MacPorts, pacman, scoop, zypper

Granddaddy of HTML tools, with support for modern standards. Version 5.8.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tidy-html5

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tidy

MacPorts ports tree · www/tidy/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install libtidy-dev

Debian stable package indexes · libtidy-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install tidy

Fedora Rawhide package metadata · tidy · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S tidy

Arch Linux sync databases · tidy · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libtidy-devel

openSUSE Tumbleweed package metadata · libtidy-devel · source: download.opensuse.org

Windows

Windows Package Managerverified · 92%
winget install --id HTACG.tidy -e

Windows Package Manager source index · HTACG.tidy · source: cdn.winget.microsoft.com

Scoopverified · 92%
scoop install main/tidy

Scoop official bucket manifest trees · bucket/tidy.json · source: api.github.com

overview

Package summary

Granddaddy of HTML tools, with support for modern standards

Commands and aliases

  • tidy

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1998: HTML Tidy copyright history begins in the project license files.
  • 2000: Raggett's W3C page had already handed maintenance to SourceForge volunteers.
  • 2011: W3C members forked Tidy to GitHub for renewed work and HTML5 compatibility.
  • 2015: HTACG formed to revitalize the project and received W3C project ownership.
  • 2024: HTACG tidy-html5 repository metadata shows continued GitHub activity.

Related projects

  • Related project surfaces include Dave Raggett's original W3C Tidy page, the SourceForge-era tidy project, the W3C GitHub fork, the HTACG tidy-html5 repository, and downstream packages named `tidy`, `tidy-html5`, or `libtidy`.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
tidycliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version5.8.0
manager updated
local dataok
upstreamcurrent
latest detected5.8.0

https://github.com/htacg/tidy-html5

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:tidy-html5
Version5.8.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tidy-html5
Homepagehttps://www.html-tidy.org/
Repositoryhttps://github.com/htacg/tidy-html5
Upstream docshttps://www.html-tidy.org/documentation
LicenseZlib
Source archivehttps://github.com/htacg/tidy-html5/archive/refs/tags/5.8.0.tar.gz
Build dependenciescmake
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametidy-html5
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libtidy-dev 2:5.8.0-2

HTML/XML syntax checker and reformatter - development

https://www.html-tidy.org/

sudo apt install libtidy-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tidy-html5
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Tidy Html5
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtidy-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libtidy58 2:5.8.0-2

HTML/XML syntax checker and reformatter - shared library

https://www.html-tidy.org/

sudo apt install libtidy58
  • Section: libs
  • Architecture: amd64
  • Source Package: tidy-html5
  • 1 dependencies
  • normalized package name match
  • Matched by: Tidy Html5
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtidy58 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tidy 2:5.8.0-2

HTML/XML syntax checker and reformatter

https://www.html-tidy.org/

sudo apt install tidy
  • Section: web
  • Architecture: amd64
  • Source Package: tidy-html5
  • 2 dependencies
  • normalized package name match
  • Matched by: Tidy Html5
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tidy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libtidy-dev 2:5.6.0-11ubuntu2

HTML/XML syntax checker and reformatter - development

https://www.html-tidy.org/

sudo apt install libtidy-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tidy-html5
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Tidy Html5
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtidy-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libtidy5deb1 2:5.6.0-11ubuntu2

HTML/XML syntax checker and reformatter - shared library

https://www.html-tidy.org/

sudo apt install libtidy5deb1
  • Section: libs
  • Architecture: amd64
  • Source Package: tidy-html5
  • 1 dependencies
  • normalized package name match
  • Matched by: Tidy Html5
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtidy5deb1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

tidy 2:5.6.0-11ubuntu2

HTML/XML syntax checker and reformatter

https://www.html-tidy.org/

sudo apt install tidy
  • Section: universe/web
  • Architecture: amd64
  • Source Package: tidy-html5
  • 2 dependencies
  • normalized package name match
  • Matched by: Tidy Html5
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tidy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

tidy 5.8.0-13.fc44

Utility to clean up and pretty print HTML/XHTML/XML

http://www.html-tidy.org/

sudo dnf install tidy
  • License: W3C
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tidy
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Tidy Html5
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tidy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
winget95%

HTACG.tidy

winget install --id HTACG.tidy -e
  • normalized package name match
  • Matched by: Tidy Html5
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: HTACG.tidy from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

tidy

sudo port install tidy
  • installed executable or alias match
  • Matched by: Tidy
MacPorts ports tree · api.github.com · MacPorts ports tree: www/tidy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
dnf92%

libtidy 5.8.0-13.fc44

Runtime library for tidy

http://www.html-tidy.org/

sudo dnf install libtidy
  • License: W3C
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tidy
  • 2 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Tidy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtidy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

libtidy-devel 5.8.0-13.fc44

Development files for tidy

http://www.html-tidy.org/

sudo dnf install libtidy-devel
  • License: W3C
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tidy
  • 3 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: Tidy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtidy-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

tidy 5.8.0-3

A tool to tidy down your HTML code to a clean style

https://www.html-tidy.org/

sudo pacman -S tidy
  • License: custom
  • Architecture: x86_64
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Tidy
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tidy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

libtidy-devel 5.8.0-2.3

Development files for libtidy

https://github.com/htacg/tidy-html5

sudo zypper install libtidy-devel
  • License: W3C
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tidy
  • 3 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Tidy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtidy-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

libtidy58 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 libtidy58
  • License: W3C
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tidy
  • 2 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Tidy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtidy58 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

tidy 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 tidy
  • License: W3C
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tidy
  • 2 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Tidy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tidy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

tidy-doc 5.8.0-2.3

Documentation for tidy and libtidy

https://github.com/htacg/tidy-html5

sudo zypper install tidy-doc
  • License: W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tidy
  • 1 provides
  • installed executable or alias match
  • Matched by: Tidy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tidy-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment