Skip to main content
HtmlAgilityPack package icon

HtmlAgilityPack

This is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT (you actually don't HAVE 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 with "real world" malformed HTML. The object model is very similar to what proposes System.Xml, but for HTML documents (or streams). --------------------------------------- This library is sponsored by ZZZ Projects: https://entityframework-extensions.net/ https://eval-expression.net/ https://dapper-plus.net/ --------------------------------------- HAP is trusted by companies worldwide with over 150 million downloads.

Total Downloads
341.9M
341,932,575
Published
Dec 29, 2024
Latest stable version

Install

.NET CLI
dotnet add package HtmlAgilityPack --version 1.11.72
Package Manager Console
Install-Package HtmlAgilityPack -Version 1.11.72
PackageReference
<PackageReference Include="HtmlAgilityPack" Version="1.11.72" />

Frameworks

.NETStandard1.3 .NETFramework4.0 .NETFramework4.5 .NETStandard1.6 .NETPortable0.0-Profile78 .NETStandard2.0 UAP10.0

Dependencies

[4.3.0, )
[4.3.0, )
NETStandard.Library
.NETStandard1.6
[1.6.1, )
[4.3.4, )
[4.3.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 7 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.