# html-parse-stringify (npm)

Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.

- Latest: 4.0.1 (2026-07-22)
- Licence: MIT
- Downloads: 109505198 last month
- Advisories on the latest version: 0

- CVE-2021-23346 MODERATE: html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS) Fixed in 2.0.1.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
