Deprecated as there's new maintainer for original HAP project. Please check the new repo at

This is a port of HtmlAgilityPack library created by Simon Mourrier and Jeff Klawiter for .NET Core platform. This NuGet package supports can be used with Universal Windows Platform, ASP.NET 5 (using .NET Core) and full .NET Framework 4.6.

Original description:

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).

Install-Package HtmlAgilityPack.NetCore -Version
dotnet add package HtmlAgilityPack.NetCore --version
<PackageReference Include="HtmlAgilityPack.NetCore" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HtmlAgilityPack.NetCore --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GitHub repositories (3+)

Showing the top 3 GitHub repositories that depend on HtmlAgilityPack.NetCore:

Repository Stars
Open Source Web Application Framework for ASP.NET Core
Lynicon CMS for ASP.Net Core for .Net Standard 2.0/2.1 and .Net 4.6.1/4.6
BDD framework allowing to create easy to read and maintain tests.

Version History

Version Downloads Last updated 809,628 7/22/2016 5,671 12/28/2015 1,325 11/26/2015