Skip to content
hred logo

Extract data from HTML/XML documents

html reduce (Hred) is a command-line tool that extracts data from HTML and XML documents using QSX, an expressive query language inspired by CSS selectors.

Hred runs on Node.js and can be installed from npm:

npm install -g hred

Full documentation available on the project’s GitHub repository page.


Colophon: The Hred wordmark is typeset in LTR Principia, the brutally seriffed typeface by Erik van Blokland.

Related projects

QSX logo QSX

QSX, a query language based on CSS selectors for extracting things from the DOM.

Selery logo Selery

A CSS selector parser and DOM query engine.