# zzzprojects/html-agility-pack

Html Agility Pack (HAP) is a free and open-source HTML parser written in C# to read/write DOM and supports plain XPATH or XSLT. It is a .NET code library that allows you to parse "out of the web" HTML files.

Repository: https://github.com/zzzprojects/html-agility-pack
Canonical: https://ross.abutalabs.com/products/html-agility-pack
Homepage: https://html-agility-pack.net
Language: C#
License: MIT
License Family: permissive
Topics: htmlagilitypack, xpath, parse, hap, html-parser
Last push: 2026-08-24T15:12:52+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3412, "days_push": 9, "days_rel": 9, "gap_med": 33.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2846, forks 394 (observed 2026-08-28T04:07:24.965984+00:00)

## What it is
Html Agility Pack (HAP) is a free, open-source HTML parser written in C# that builds a read/write DOM and supports XPath and XSLT queries. It is a .NET library designed to parse real-world, malformed HTML from files, strings, or the web.

## Use cases
- parse html in c#
- scrape data from a website in .net
- extract elements from malformed html
- query html with xpath in c#
- load and manipulate html dom in .net
- download a web page and parse its html

## When to choose
- you are on the .NET platform and need a tolerant, battle-tested HTML parser
- you want XPath/XSLT support or a System.Xml-like object model for HTML
- you need to parse HTML from files, strings, or URLs

## When to avoid
- you need CSS selectors without adding third-party libraries like Fizzler
- you are not working in .NET/C#
- you need a full headless browser for JavaScript-rendered pages

## Facets
- artifact type: library
- maturity: active
- function: parser, web-scraping
- domain: parsers, web-development, crawlers
- platform: dotnet, cross-platform
- tags: html-parser, xpath, dom-manipulation, c-sharp, html-agility-pack

## Member repositories
- zzzprojects/html-agility-pack (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.965984+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:37:04.443989+00:00, confidence not recorded.
  - readme: https://github.com/zzzprojects/html-agility-pack (fetched 2026-08-28T04:07:24.965984+00:00, sha c9261f738919)
  - homepage: https://html-agility-pack.net (fetched 2026-08-29T09:52:40.529027+00:00, sha e22f39996675)
  - site_page: https://html-agility-pack.net/documentation (fetched 2026-08-29T09:52:40.531449+00:00, sha e4cd148f08bf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
