# AngleSharp/AngleSharp

:angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.

Repository: https://github.com/AngleSharp/AngleSharp
Canonical: https://ross.abutalabs.com/products/anglesharp
Homepage: https://anglesharp.github.io
Language: C#
License: MIT
License Family: permissive
Topics: anglesharp, dom, c-sharp, html, parser, library, angle-bracket, linq, hacktoberfest
Last push: 2026-08-23T22:27:18+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 4837, "days_push": 10, "days_rel": 10, "gap_med": 21, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5531, forks 596 (observed 2026-08-28T04:09:21.997463+00:00)

## What it is
AngleSharp is a .NET library that parses HTML5, SVG, MathML, XML, and CSS into a fully standards-compliant W3C DOM. It supports querySelector traversal, LINQ over elements, form submission, and browser-like navigation via BrowsingContext.

## Use cases
- parse html from web pages in c#
- scrape website data with a real dom api
- extract elements using css selectors like queryselectorall
- parse css stylesheets in .net
- automate form submission and login flows
- build a headless browsing context for testing

## When to choose
- you need browser-accurate HTML5 parsing and error correction in .NET
- you want the official W3C DOM API including querySelector in C#
- you need to parse CSS alongside HTML
- you are scraping or testing sites that require form interaction

## When to avoid
- you need to execute JavaScript on pages
- you only need simple XPath scraping and prefer HtmlAgilityPack
- you are not working in a .NET language

## Facets
- artifact type: library
- maturity: active
- function: parser, web-scraping, http-client
- domain: web-development, parsers, developer-tools
- platform: dotnet, cross-platform
- tags: html5, css-parser, dom, w3c-standards, c-sharp, queryselector

## Member repositories
- AngleSharp/AngleSharp (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:21.997463+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:55:44.971309+00:00, confidence not recorded.
  - readme: https://github.com/AngleSharp/AngleSharp (fetched 2026-08-28T04:09:21.997463+00:00, sha cfde3a546276)
  - homepage: https://anglesharp.github.io (fetched 2026-08-29T08:51:05.485781+00:00, sha 95e5613a1270)
- Data as of 2026-08-30T08:39:29.467469+00:00.
