The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

zuhtml: Parse 'HTML' with a Bundled 'Gumbo' Parser

Parses real-world 'HTML' with a bundled copy of the 'Gumbo' parser (<https://codeberg.org/gumbo-parser/gumbo-parser>), which follows the 'WHATWG' parsing algorithm, so that no system library is required. Documents become immutable trees navigated with a documented subset of 'CSS' selectors. Attributes, text, lists, tables, links, forms and page metadata ('JSON-LD', microdata) are extracted into ordinary character vectors, lists and data frames, and nodes convert to 'Markdown'. Input is a string, raw bytes, a file, a URL or a connection, and raw input is decoded as browsers decode it, from a byte-order mark or a '<meta>' declaration. Parsing is bounded by limits on input size, native memory and nesting depth.

Version: 0.1.0
Depends: R (≥ 4.1)
Suggests: jsonlite, knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-10-06
DOI: 10.32614/CRAN.package.zuhtml (may not be active yet)
Author: Pedro Baltazar [aut, cre, cph], Google Inc. [cph] (Gumbo, bundled in src/vendor/gumbo), Bjoern Hoehrmann [cph] (UTF-8 decoder in src/vendor/gumbo/utf8.c)
Maintainer: Pedro Baltazar <pedrobtz at gmail.com>
BugReports: https://github.com/pedrobtz/zuhtml/issues
License: MIT + file LICENSE
Copyright: file inst/COPYRIGHTS
zuhtml copyright details
URL: https://github.com/pedrobtz/zuhtml, https://pedrobtz.github.io/zuhtml/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: zuhtml results

Documentation:

Reference manual: zuhtml.html , zuhtml.pdf
Vignettes: Limits, encodings and safety (source, R code)
CSS selectors (source, R code)
Tables and lists (source, R code)
Getting started with zuhtml (source, R code)

Downloads:

Package source: zuhtml_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): zuhtml_0.1.0.tgz, r-oldrel (arm64): zuhtml_0.1.0.tgz, r-release (x86_64): zuhtml_0.1.0.tgz, r-oldrel (x86_64): zuhtml_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zuhtml to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.