Automic VaultAutomic Vault

brew

Install html-xml-utils with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Tools for manipulating HTML and XML files. Version 8.8 via Homebrew; verified 2026-06-09.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install html-xml-utils

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install html-xml-utils

MacPorts ports tree · textproc/html-xml-utils/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add html-xml-utils

Alpine Linux edge package indexes · html-xml-utils · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install html-xml-utils

Debian stable package indexes · html-xml-utils · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install html-xml-utils

Fedora Rawhide package metadata · html-xml-utils · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#html-xml-utils

nixpkgs package indexes · pkgs/by-name/ht/html-xml-utils/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S html-xml-utils

Arch Linux sync databases · html-xml-utils · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install html-xml-utils

openSUSE Tumbleweed package metadata · html-xml-utils · source: download.opensuse.org

overview

Package summary

Tools for manipulating HTML and XML files

Commands and aliases

  • asc2xml
  • hxaddid
  • hxcite
  • hxcite-mkbib
  • hxclean
  • hxcopy
  • hxcount
  • hxextract
  • hxincl
  • hxindex
  • hxmkbib
  • hxmultitoc
  • hxname2id
  • hxnormalize
  • hxnsxml
  • hxnum
  • hxpipe
  • hxprintlinks
  • hxprune
  • hxref
  • hxremove
  • hxselect
  • hxtabletrans
  • hxtoc
  • hxuncdata
  • hxunent
  • hxunpipe
  • hxunxmlns
  • hxwls
  • hxxmlns
  • xml2asc

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2001: The W3C download directory preserves old htmlutils material before the html-xml-utils 0.1 naming line.
  • Version 5.0: Most utilities were renamed with the hx prefix.
  • 2017: Version 7.2 and 7.4 expanded CSS selector support and improved hxselect and hxremove behavior.
  • 2022: Version 8.3 added HTML parsing support to hxpipe, and version 8.4 fixed ::attr() selector handling.
  • 2025: Version 8.7 fixed hxnormalize line-length behavior.
  • 2026: The W3C ChangeLog records version 8.8 maintenance.

Related projects

  • Related command-line markup tools include HTML Tidy for cleanup, libxml2's xmllint for XML validation and XPath work, xmlstarlet for XML transformations, and selector-oriented tools such as pup.

Sources

  • Homebrew and distribution package pages support package-manager adoption.
  • W3C README and directory listing document the source distribution, old htmlutils naming, package-manager availability, hx prefix change, and command list.
  • W3C SoftwareNews and ChangeLog document 7.x and 8.x release evolution.

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 6 platform targets.

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
asc2xmlcliglobal executable
hxaddidcliglobal executable
hxcitecliglobal executable
hxcite-mkbibcliglobal executable
hxcleancliglobal executable
hxcopycliglobal executable
hxcountcliglobal executable
hxextractcliglobal executable
hxinclcliglobal executable
hxindexcliglobal executable
hxmkbibcliglobal executable
hxmultitoccliglobal executable
hxname2idcliglobal executable
hxnormalizecliglobal executable
hxnsxmlcliglobal executable
hxnumcliglobal executable
hxpipecliglobal executable
hxprintlinkscliglobal executable
hxprunecliglobal executable
hxrefcliglobal executable
hxremovecliglobal executable
hxselectcliglobal executable
hxtabletranscliglobal executable
hxtoccliglobal executable
hxuncdatacliglobal executable
hxunentcliglobal executable
hxunpipecliglobal executable
hxunxmlnscliglobal executable
hxwlscliglobal executable
hxxmlnscliglobal executable
xml2asccliglobal 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 version8.8
manager updated2026-06-09
local dataok
upstreamnot checked
latest detectednot detected

https://www.w3.org/Tools/HTML-XML-utils/

install metadata

Package metadata

Package keybrew:html-xml-utils
Version8.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/html-xml-utils
Homepagehttps://www.w3.org/Tools/HTML-XML-utils/
Upstream docshttps://www.w3.org/Tools/HTML-XML-utils
LicenseW3C
Source archivehttps://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-8.8.tar.gz
Last updated2026-06-09T18:18:54Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehtml-xml-utils
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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%

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-utils
  • Section: text
  • Architecture: amd64
  • Source Package: html-xml-utils
  • 3 dependencies
  • normalized package name match
  • Matched by: Html Xml Utils
Debian stable package indexes · deb.debian.org · Debian stable package indexes: html-xml-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

html-xml-utils

nix profile install nixpkgs#html-xml-utils
  • normalized package name match
  • Matched by: Html Xml Utils
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/html-xml-utils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

html-xml-utils 7.7-1.1build2

HTML and XML manipulation utilities

https://www.w3.org/Tools/HTML-XML-utils/

sudo apt install html-xml-utils
  • Section: universe/text
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Html Xml Utils
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: html-xml-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

html-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-utils
  • License: W3C
  • Architecture: x86_64
  • Source Package: html-xml-utils
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Html Xml Utils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: html-xml-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

html-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-doc
  • License: W3C
  • Architecture: x86_64
  • Source Package: html-xml-utils
  • normalized package name match
  • Matched by: Html Xml Utils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: html-xml-utils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

html-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-utils
  • License: W3C AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: html-xml-utils
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Html Xml Utils
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: html-xml-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

html-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-utils
  • License: W3C
  • Architecture: x86_64
  • 4 dependencies
  • normalized package name match
  • Matched by: Html Xml Utils
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: html-xml-utils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

html-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-utils
  • License: W3C
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: html-xml-utils
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Html Xml Utils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: html-xml-utils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

html-xml-utils

sudo port install html-xml-utils
  • normalized package name match
  • Matched by: Html Xml Utils
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/html-xml-utils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

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