pkg.soopen package index

brew / rank 5079

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. Also installable with debian: sudo apt install html-xml-utils.

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 bottle metadata was recorded.

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
asc2xmlexecutableindexed executableDiscovered from the local executable index.
hxaddidexecutableindexed executableDiscovered from the local executable index.
hxciteexecutableindexed executableDiscovered from the local executable index.
hxcite-mkbibexecutableindexed executableDiscovered from the local executable index.
hxcleanexecutableindexed executableDiscovered from the local executable index.
hxcopyexecutableindexed executableDiscovered from the local executable index.
hxcountexecutableindexed executableDiscovered from the local executable index.
hxextractexecutableindexed executableDiscovered from the local executable index.
hxinclexecutableindexed executableDiscovered from the local executable index.
hxindexexecutableindexed executableDiscovered from the local executable index.
hxmkbibexecutableindexed executableDiscovered from the local executable index.
hxmultitocexecutableindexed executableDiscovered from the local executable index.
hxname2idexecutableindexed executableDiscovered from the local executable index.
hxnormalizeexecutableindexed executableDiscovered from the local executable index.
hxnsxmlexecutableindexed executableDiscovered from the local executable index.
hxnumexecutableindexed executableDiscovered from the local executable index.
hxpipeexecutableindexed executableDiscovered from the local executable index.
hxprintlinksexecutableindexed executableDiscovered from the local executable index.
hxpruneexecutableindexed executableDiscovered from the local executable index.
hxrefexecutableindexed executableDiscovered from the local executable index.
hxremoveexecutableindexed executableDiscovered from the local executable index.
hxselectexecutableindexed executableDiscovered from the local executable index.
hxtabletransexecutableindexed executableDiscovered from the local executable index.
hxtocexecutableindexed executableDiscovered from the local executable index.
hxuncdataexecutableindexed executableDiscovered from the local executable index.
hxunentexecutableindexed executableDiscovered from the local executable index.
hxunpipeexecutableindexed executableDiscovered from the local executable index.
hxunxmlnsexecutableindexed executableDiscovered from the local executable index.
hxwlsexecutableindexed executableDiscovered from the local executable index.
hxxmlnsexecutableindexed executableDiscovered from the local executable index.
xml2ascexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version8.8
manager updated2026-06-09
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:html-xml-utils
Version8.8
Package managerHomebrew
Homepagehttps://www.w3.org/Tools/HTML-XML-utils/
Last updated2026-06-09T18:18:54Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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.8-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.8-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-2.fc45

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.5

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation