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.

C#

2,851

431 commits

updated Oct 12, 2026

See the code

README

Html Agility Pack

Html Agility Pack (HAP) It is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT (No need to understand XPATH nor XSLT to use it, don't worry...). It is a .NET code library that allows you to parse "out of the web" HTML files. The parser is very tolerant of "real world" malformed HTML. The object model is very similar to what proposes System.Xml, but for HTML documents (or streams).

Read more on our Website.

Downloads

nuget nuget

PM> NuGet\Install-Package HtmlAgilityPack
PM> dotnet add package HtmlAgilityPack

Sponsors

ZZZ Projects owns and maintains Html Agility Pack as part of our mission to add value to the .NET community

Through Entity Framework Extensions and Dapper Plus, we actively sponsor and help key open-source libraries grow.

Entity Framework Extensions

Dapper Plus

More Projects

To view all our free and paid projects, visit our website ZZZ Projects.

hap
htmlagilitypack
html-parser
parse
xpath

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.

C#

2,851

431 commits

updated Oct 12, 2026

See the code

README

Html Agility Pack

Html Agility Pack (HAP) It is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT (No need to understand XPATH nor XSLT to use it, don't worry...). It is a .NET code library that allows you to parse "out of the web" HTML files. The parser is very tolerant of "real world" malformed HTML. The object model is very similar to what proposes System.Xml, but for HTML documents (or streams).

Read more on our Website.

Downloads

nuget nuget

PM> NuGet\Install-Package HtmlAgilityPack
PM> dotnet add package HtmlAgilityPack

Sponsors

ZZZ Projects owns and maintains Html Agility Pack as part of our mission to add value to the .NET community

Through Entity Framework Extensions and Dapper Plus, we actively sponsor and help key open-source libraries grow.

Entity Framework Extensions

Dapper Plus

More Projects

To view all our free and paid projects, visit our website ZZZ Projects.

hap
htmlagilitypack
html-parser
parse
xpath

Project health

Overall

3.0/10

Maintained

5/10

Code review

2/10
OpenSSF Scorecard

Significant stargazers

追逐时光者

1,057 followers · starred May 2024

Sean Killeen

187 followers · starred Nov 2022

Opportunity

213 followers · starred Jun 2017

Meir Blachman

66 followers · starred Feb 2019