Automic VaultAutomic Vault

brew

Install htmlcleaner with Homebrew

HTML parser written in Java. Version 2.29 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install htmlcleaner

local Homebrew formula metadata

overview

Package summary

HTML parser written in Java

Commands and aliases

  • htmlcleaner

history

Project history and usage

HtmlCleaner is a Java HTML parser and cleanup library that turns imperfect web HTML into well-formed XML-like output using browser-like repair rules. It has a command-line interface, Java API, Ant integration, and published Maven artifacts.

Project history

The project site says HtmlCleaner has been fixing shoddy HTML since 2006, and its release notes list an initial 0.8 release on November 27, 2006. The release stream moved quickly through 1.x in 2006 and 2007, reached 2.0 in 2008, and continued with 2.x maintenance for many years.

Later releases show the project adapting to web and Java ecosystem changes: the 2015 line included HTML5 support work, 2022 updated JDOM to mitigate CVE-2021-33813, 2023 targeted JDK 1.8, and 2.29 added a maximum nested-tag depth after CVE-2023-34624.

Adoption history

HtmlCleaner's Maven coordinates and SourceForge downloads made it easy to embed in Java applications and build tools. Maven Central metadata describes the library as a Java parser that transforms dirty HTML to well-formed XML following browser rules, and the Homebrew formula exposes its command-line runner for shell users.

How it is used

The project documents command-line use for cleaning files and Java use for embedding the cleaner in applications. Its niche is older but durable: converting real-world HTML into a structure that XML tooling, Java code, or test fixtures can consume.

Why package nerds care

HtmlCleaner matters to package nerds because it represents the pre-HTML5-parser era of pragmatic cleanup libraries: SourceForge hosting, Ant-era Java integration, Maven artifacts, and a CLI wrapper all in one long-lived parser package.

Timeline

  • 2006: HtmlCleaner 0.8 was released as the initial public release.
  • 2008: Version 2.0 was released.
  • 2013: Version 2.4 marked a point where a maintained fork was merged back into the official project.
  • 2015: Version 2.11 added stronger HTML5 support and stdin/stdout pipeline improvements.
  • 2022: Version 2.26 updated JDOM to mitigate CVE-2021-33813.
  • 2023: Version 2.29 fixed CVE-2023-34624 with nested-tag depth handling.

Related projects

  • Related Java and markup-cleanup projects include JTidy, jsoup, TagSoup, NekoHTML, and browser-grade HTML5 parsers. HtmlCleaner is distinct for combining cleanup output, Java embedding, and a command-line interface.

Sources

  • Maven Central metadata documents Java artifact identity, description, developers, and SCM tags.
  • The SourceForge project site and release notes document origin, release dates, and later security-related changes.
  • The download page documents the Subversion source repository and packaged source downloads.

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 8 platform targets.
  • Installs with 1 runtime dependencies.
  • 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
htmlcleanercliglobal 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 version2.29
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://htmlcleaner.sourceforge.net/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://htmlcleaner.sourceforge.net/none confidence

install metadata

Package metadata

Package keybrew:htmlcleaner
Version2.29
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/htmlcleaner
Homepagehttps://htmlcleaner.sourceforge.net/
Repositoryhttps://svn.code.sf.net/p/htmlcleaner/code/trunk
Upstream docshttps://htmlcleaner.sourceforge.net/
LicenseBSD-3-Clause
Source archivehttps://downloads.sourceforge.net/project/htmlcleaner/htmlcleaner/htmlcleaner%20v2.29/htmlcleaner-src-2.29.zip
Dependenciesopenjdk
Build dependenciesmaven
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehtmlcleaner
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

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
  • package relationship graph
  • package version freshness
  • package-page enrichment