macOS
brew install html-xml-utilslocal Homebrew formula metadata
sudo port install html-xml-utilsMacPorts ports tree · textproc/html-xml-utils/Portfile · source: api.github.com
brew
Tools for manipulating HTML and XML files. Version 8.8 via Homebrew; verified 2026-06-09.
install
brew install html-xml-utilslocal Homebrew formula metadata
sudo port install html-xml-utilsMacPorts ports tree · textproc/html-xml-utils/Portfile · source: api.github.com
sudo apk add html-xml-utilsAlpine Linux edge package indexes · html-xml-utils · source: dl-cdn.alpinelinux.org
sudo apt install html-xml-utilsDebian stable package indexes · html-xml-utils · source: deb.debian.org
sudo dnf install html-xml-utilsFedora Rawhide package metadata · html-xml-utils · source: dl.fedoraproject.org
nix profile install nixpkgs#html-xml-utilsnixpkgs package indexes · pkgs/by-name/ht/html-xml-utils/package.nix · source: api.github.com
sudo pacman -S html-xml-utilsArch Linux sync databases · html-xml-utils · source: geo.mirror.pkgbuild.com
sudo zypper install html-xml-utilsopenSUSE Tumbleweed package metadata · html-xml-utils · source: download.opensuse.org
overview
Tools for manipulating HTML and XML files
history
html-xml-utils is W3C's collection of small Unix-style programs for inspecting, normalizing, extracting, and transforming HTML and XML documents. The suite is notable because it treats markup manipulation as a pipeline-friendly command-line job rather than as a browser or DOM-library-only task.
The W3C distribution page describes the project as source tarballs for HTML and XML utilities, with older pre-0.1 releases named htmlutils. A major naming transition happened at version 5.0, when most programs received the hx prefix, which made the suite's command names more consistent and easier to package together.
The W3C ChangeLog records ongoing maintenance by Bert Bos, including releases in the 8.x line and bug fixes for tools such as hxselect, hxnormalize, hxcopy, and hxwls. The W3C software news archive highlights feature work such as expanded CSS selector support in hxselect and hxremove, HTML parsing support in hxpipe, and fixes for attribute selector handling.
The W3C README explicitly notes precompiled packages in Debian, Ubuntu, MacPorts, and other systems. Homebrew, Alpine, Debian, Fedora-family, Nix, Arch, and openSUSE package metadata show the suite has been carried by many Unix-like package collections, which is typical for small C utilities that fill scripting gaps.
The commands cover tasks such as adding IDs, extracting selected elements, normalizing markup, expanding includes, producing link lists, converting entities, building tables of contents, and selecting nodes with CSS selectors. The result is a toolbox for shell scripts that need to touch HTML or XML without writing a bespoke parser.
For package maintainers and CLI users, html-xml-utils sits in the same cultural space as tidy, xmllint, pup, and xmlstarlet: it is small, scriptable, and installable as one package that exposes many focused commands. The hxselect command is especially recognizable because it gives CSS-selector extraction to shell pipelines.
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 |
|---|---|---|---|
asc2xml | cli | global executable | |
hxaddid | cli | global executable | |
hxcite | cli | global executable | |
hxcite-mkbib | cli | global executable | |
hxclean | cli | global executable | |
hxcopy | cli | global executable | |
hxcount | cli | global executable | |
hxextract | cli | global executable | |
hxincl | cli | global executable | |
hxindex | cli | global executable | |
hxmkbib | cli | global executable | |
hxmultitoc | cli | global executable | |
hxname2id | cli | global executable | |
hxnormalize | cli | global executable | |
hxnsxml | cli | global executable | |
hxnum | cli | global executable | |
hxpipe | cli | global executable | |
hxprintlinks | cli | global executable | |
hxprune | cli | global executable | |
hxref | cli | global executable | |
hxremove | cli | global executable | |
hxselect | cli | global executable | |
hxtabletrans | cli | global executable | |
hxtoc | cli | global executable | |
hxuncdata | cli | global executable | |
hxunent | cli | global executable | |
hxunpipe | cli | global executable | |
hxunxmlns | cli | global executable | |
hxwls | cli | global executable | |
hxxmlns | cli | global executable | |
xml2asc | 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://www.w3.org/Tools/HTML-XML-utils/
install metadata
| Package key | brew:html-xml-utils |
|---|---|
| Version | 8.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/html-xml-utils |
| Homepage | https://www.w3.org/Tools/HTML-XML-utils/ |
| Upstream docs | https://www.w3.org/Tools/HTML-XML-utils |
| License | W3C |
| Source archive | https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-8.8.tar.gz |
| Last updated | 2026-06-09T18:18:54Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | html-xml-utils |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
html-xml-utils 7.7-1.1+b1
HTML and XML manipulation utilities
https://www.w3.org/Tools/HTML-XML-utils/
sudo apt install html-xml-utilshtml-xml-utils
nix profile install nixpkgs#html-xml-utilshtml-xml-utils 7.7-1.1build2
HTML and XML manipulation utilities
https://www.w3.org/Tools/HTML-XML-utils/
sudo apt install html-xml-utilshtml-xml-utils 8.7-r0
A number of simple utilities for manipulating HTML and XML files.
https://www.w3.org/Tools/HTML-XML-utils/
sudo apk add html-xml-utilshtml-xml-utils-doc 8.7-r0
A number of simple utilities for manipulating HTML and XML files. (documentation)
https://www.w3.org/Tools/HTML-XML-utils/
sudo apk add html-xml-utils-dochtml-xml-utils 8.7-1.fc44
A number of simple utilities for manipulating HTML and XML files
https://www.w3.org/Tools/HTML-XML-utils/
sudo dnf install html-xml-utilshtml-xml-utils 8.8-1
Utilities for manipulating HTML and XML files
https://www.w3.org/Tools/HTML-XML-utils
sudo pacman -S html-xml-utilshtml-xml-utils 8.7-2.3
A number of utilities for manipulating HTML and XML files
https://www.w3.org/Tools/HTML-XML-utils/
sudo zypper install html-xml-utilshtml-xml-utils
sudo port install html-xml-utilssource 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.