HtmlAgilityPack 1.12.2

dotnet add package HtmlAgilityPack --version 1.12.2
                    
NuGet\Install-Package HtmlAgilityPack -Version 1.12.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HtmlAgilityPack" Version="1.12.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HtmlAgilityPack" Version="1.12.2" />
                    
Directory.Packages.props
<PackageReference Include="HtmlAgilityPack" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HtmlAgilityPack --version 1.12.2
                    
#r "nuget: HtmlAgilityPack, 1.12.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HtmlAgilityPack@1.12.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HtmlAgilityPack&version=1.12.2
                    
Install as a Cake Addin
#tool nuget:?package=HtmlAgilityPack&version=1.12.2
                    
Install as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net40 is compatible.  net40-client is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 is compatible. 
Windows Store netcore was computed.  netcore45 is compatible.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1.5K)

Showing the top 5 NuGet packages that depend on HtmlAgilityPack:

Package Downloads
Umbraco.Cms.Infrastructure

Contains the infrastructure assembly needed to run Umbraco CMS.

Selenium.Axe

Tools for using aXe for web accessibility testing with C# and Selenium

ElmahCore

ELMAH for ASP.NET Core

UmbracoCms.Web

Contains the web assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET project.

ReverseMarkdown

ReverseMarkdown is a Html to Markdown converter library in c#

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on HtmlAgilityPack:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
ppy/osu
rhythm is just a *click* away!
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
Version Downloads Last Updated
1.12.2 42,703 7/20/2025
1.12.1 2,888,767 4/15/2025
1.12.0 1,683,816 3/10/2025
1.11.74 591,374 2/27/2025
1.11.73 161,857 2/25/2025
1.11.72 2,940,898 12/29/2024
1.11.71 3,479,624 11/11/2024
1.11.70 1,412,943 10/25/2024
1.11.69 70,782 10/24/2024
1.11.67 1,653,199 9/30/2024
1.11.66 368,321 9/22/2024
1.11.65 1,380,267 8/30/2024
1.11.64 1,084,092 8/19/2024
1.11.63 237,061 8/14/2024
1.11.62 952,507 7/31/2024
1.11.61 6,620,172 4/30/2024
1.11.60 3,129,877 3/27/2024
1.11.59 6,826,540 2/14/2024
1.11.58 1,241,979 1/29/2024
1.11.56 174,904 12/21/2023
1.11.55 810,226 12/13/2023
1.11.54 5,636,009 10/3/2023
1.11.53 1,650,993 9/9/2023
1.11.52 1,005,096 8/23/2023
1.11.51 1,168,211 8/1/2023
1.11.50 872,711 7/19/2023
1.11.49 821,144 7/6/2023
1.11.48 1,374,793 6/19/2023
1.11.46 20,640,845 9/14/2022
1.11.45 1,428,789 8/23/2022
1.11.44 9,769 8/23/2022
1.11.43 8,344,341 6/2/2022
1.11.42 9,303,574 2/4/2022
1.11.41 53,046 2/3/2022
1.11.40 1,829,373 1/14/2022
1.11.39 2,393,923 12/2/2021
1.11.38 2,024,716 11/10/2021
1.11.37 6,242,266 9/28/2021
1.11.36 6,800,323 8/11/2021
1.11.35 79,331 8/9/2021
1.11.34 4,152,296 6/7/2021
1.11.33 3,260,055 4/22/2021
1.11.32 1,780,089 3/24/2021
1.11.31 1,678,768 3/3/2021
1.11.30 2,498,035 1/24/2021
1.11.29 5,772,859 12/16/2020
1.11.28 3,892,193 11/11/2020
1.11.27 299,822 11/7/2020
1.11.26 999,359 10/27/2020
1.11.25 636,010 10/18/2020
1.11.24 13,141,702 5/30/2020
1.11.23 4,934,125 3/22/2020
1.11.22 988,637 3/11/2020
1.11.21 1,898,786 2/23/2020
1.11.20 198,620 2/19/2020
1.11.19 137,197 2/17/2020
1.11.18 2,142,275 1/23/2020
1.11.17 2,789,486 11/25/2019
1.11.16 2,167,264 10/6/2019
1.11.15 668,024 10/1/2019
1.11.14 74,266 9/30/2019
1.11.13 10,477 9/30/2019
1.11.12 3,553,462 7/25/2019
1.11.11 246,737 7/22/2019
1.11.9 494,444 7/8/2019
1.11.8 474,412 6/26/2019
1.11.7 1,379,873 5/31/2019
1.11.6 17,893 5/31/2019
1.11.5 59,502 5/30/2019
1.11.4 1,569,401 4/29/2019
1.11.3 570,332 4/18/2019
1.11.2 634,371 4/5/2019
1.11.1 682,982 3/25/2019
1.11.0 380,056 3/19/2019
1.10.2 81,335 3/18/2019
1.10.1 21,364 3/18/2019
1.10.0 43,658 3/17/2019
1.9.1 624,701 2/28/2019
1.9.0 723,715 2/17/2019
1.8.14 3,368,112 1/22/2019
1.8.13 216,268 1/17/2019
1.8.12 170,938 1/11/2019
1.8.11 1,461,912 12/5/2018
1.8.10 1,267,606 11/8/2018
1.8.9 2,178,059 10/1/2018
1.8.8 1,062,135 9/21/2018
1.8.7 1,417,895 8/19/2018
1.8.6 215,870 8/10/2018
1.8.5 996,127 7/11/2018
1.8.4 1,769,060 5/26/2018
1.8.3 9,774 5/26/2018
1.8.2 747,966 5/11/2018
1.8.1 948,646 4/21/2018
1.8.0 268,620 4/14/2018
1.7.4 488,716 4/9/2018
1.7.3 40,950 4/7/2018
1.7.2 368,341 3/24/2018
1.7.1 1,033,491 3/3/2018
1.7.0 1,565,115 2/18/2018
1.6.17 269,824 2/13/2018
1.6.16 599,852 2/2/2018
1.6.15 355,730 1/21/2018
1.6.14 7,232 1/21/2018
1.6.13 417,230 1/9/2018
1.6.12 53,820 1/9/2018
1.6.11 621,661 1/4/2018
1.6.10 178,883 12/22/2017
1.6.9 8,637 12/22/2017
1.6.8 146,376 12/16/2017
1.6.7 261,516 12/10/2017
1.6.6 339,003 11/30/2017
1.6.5 1,096,228 11/15/2017
1.6.4 107,406 11/11/2017
1.6.3 282,163 11/1/2017
1.6.2 500,285 10/24/2017
1.6.1 221,410 10/16/2017
1.6.0 1,105,265 10/9/2017
1.6.0-beta1 10,761 9/23/2017
1.5.6-beta4 6,937 9/19/2017
1.5.6-beta3 5,605 9/19/2017
1.5.6-beta2 6,372 9/13/2017
1.5.6-beta1 5,793 9/12/2017
1.5.5 816,362 9/8/2017
1.5.5-beta1 5,783 9/8/2017
1.5.4 60,274 9/7/2017
1.5.3 21,667 9/6/2017
1.5.2 117,749 9/5/2017
1.5.2-beta6 70,683 8/7/2017
1.5.2-beta5 5,448 8/7/2017
1.5.2-beta4 5,819 8/2/2017
1.5.2-beta3 10,342 7/22/2017
1.5.2-beta2 12,950 7/11/2017
1.5.2-beta1 5,703 7/10/2017
1.5.1 1,973,998 7/6/2017
1.5.1-beta1 5,452 7/5/2017
1.5.0 625,350 7/2/2017
1.4.9.5 18,082,923 7/14/2016
1.4.9.4 340,384 6/29/2016
1.4.9.3 57,551 6/28/2016
1.4.9.2 49,385 6/28/2016
1.4.9.1 50,236 6/28/2016
1.4.9 9,414,352 9/16/2014
1.4.8 71,065 9/5/2014
1.4.6 7,610,969 8/7/2012
1.4.5 85,148 7/11/2012
1.4.4 23,924 6/9/2012
1.4.3 367,037 11/5/2011
1.4.2 33,918 7/20/2011
1.4.1 11,679 7/12/2011
1.4.0 370,716 1/16/2011
1.3.0 171,739 5/5/2011