# zzzprojects/html-agility-pack

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/zzzprojects-html-agility-pack).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

2,847 stars · 397 forks · C# · MIT

## Links

- GitHub: https://github.com/zzzprojects/html-agility-pack
- Homepage: https://html-agility-pack.net
- awesome-repositories: https://awesome-repositories.com/repository/zzzprojects-html-agility-pack.md

## Topics

`hap` `html-parser` `htmlagilitypack` `parse` `xpath`

## Description

Html Agility Pack is a .NET library for reading, writing, and navigating HTML documents using an in-memory document object model. It features an error-correcting parsing engine that processes unstructured or malformed markup from files, strings, or live URLs without throwing syntax exceptions.

The library provides tools for document manipulation, allowing developers to insert, append, prepend, or create new nodes and attributes within parsed markup. It includes an XPath query evaluation engine for navigating and selecting specific elements and attributes, alongside an XSLT transformation pipeline for converting and reshaping document structures into alternative formats. Modified document trees can be serialized back into formatted markup strings or output streams.

## Tags

### Web Development

- [Malformed Loaders](https://awesome-repositories.com/f/web-development/html-dom-manipulators/html-string-parsing/malformed-loaders.md) — Loads structured markup from local files, text strings, or live web URLs into an in-memory document model. ([source](https://github.com/zzzprojects/html-agility-pack/blob/master/README.md))
- [Markup Modifiers](https://awesome-repositories.com/f/web-development/document-format-converters/client-side-document-toolkits/markup-document-manipulators/markup-modifiers.md) — Enables inserting, appending, prepending, and creating new nodes and attributes to alter parsed markup. ([source](https://html-agility-pack.net/))
- [HTML DOM Manipulators](https://awesome-repositories.com/f/web-development/html-dom-manipulators.md) — Alters, adds, or removes elements and attributes programmatically within an in-memory markup tree.
- [.NET Parsers](https://awesome-repositories.com/f/web-development/html-parsers/net-parsers.md) — Ships as a .NET library for reading, writing, and navigating malformed HTML documents using an in-memory DOM.
- [HTML Parsers](https://awesome-repositories.com/f/web-development/web-crawlers/net-frameworks/html-parsers.md) — Provides a flexible document object model for reading and navigating web pages in .NET applications.
- [XSLT Transformations](https://awesome-repositories.com/f/web-development/schema-validation/xml-schema-validations/xslt-transformations.md) — Applies stylesheets to HTML document trees to convert and reshape markup into different formats. ([source](https://github.com/zzzprojects/html-agility-pack#readme))

### Part of an Awesome List

- [XPath Data Extractors](https://awesome-repositories.com/f/awesome-lists/devtools/html-and-xml-processing/xpath-data-extractors.md) — Applies XPath queries to parsed markup structures for targeted data extraction and node selection. ([source](https://github.com/zzzprojects/html-agility-pack/custom-properties))
- [HTML Query Engines](https://awesome-repositories.com/f/awesome-lists/devtools/html-and-xml-processing/xpath-data-extractors/html-query-engines.md) — Includes a query engine that searches and navigates HTML document structures using standard XPath expressions.

### Data & Databases

- [Document Querying](https://awesome-repositories.com/f/data-databases/content-extraction/xpath-2-0-parsing/css-and-xpath-query-engines/document-querying.md) — Searches and extracts specific elements, nodes, and attributes from parsed documents using standard path expressions.
- [XPath Engines](https://awesome-repositories.com/f/data-databases/content-extraction/xpath-2-0-parsing/css-and-xpath-query-engines/xpath-engines.md) — Evaluates XPath expressions to traverse document trees and select specific nodes and attributes matching path patterns.
- [Document Serializers](https://awesome-repositories.com/f/data-databases/data-serialization-formats/xml-serialization-formats/xml-serialization/stream-based-serialization/document-serializers.md) — Converts modified in-memory node trees back into formatted markup strings or output streams.

### Software Engineering & Architecture

- [DOM Representations](https://awesome-repositories.com/f/software-engineering-architecture/document-object-models/dom-representations.md) — Provides a mutable node-based tree structure maintaining parent-child relationships for programmatic inspection and manipulation of markup.
- [HTML Parsing Engines](https://awesome-repositories.com/f/software-engineering-architecture/syntax-parsing-engines/error-resilient-parsers/html-parsing-engines.md) — Processes unstructured or malformed markup into a resilient node tree without throwing syntax exceptions.
- [Hierarchy Traversers](https://awesome-repositories.com/f/software-engineering-architecture/tree-traversal-algorithms/document-tree-traversers/hierarchy-traversers.md) — Walks through parent and child relationships, element collections, and descendant nodes to inspect document structure. ([source](https://html-agility-pack.net/))

### User Interface & Experience

- [Markup Cleaning](https://awesome-repositories.com/f/user-interface-experience/html-content-processing/markup-cleaning.md) — Loads broken or poorly formatted web markup into memory so it can be cleaned up and processed safely.

### Content Management & Publishing

- [XSLT Pipelines](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/document-transformation-pipelines/xslt-pipelines.md) — Applies an XSLT transformation pipeline to convert and reshape parsed HTML structures into alternative formats.

### Graphics & Multimedia

- [XML to HTML Converters](https://awesome-repositories.com/f/graphics-multimedia/xml-to-html-converters.md) — Applies stylesheets to HTML document trees to reshape and convert web markup into alternative structures.
