Favicon of parse5

parse5

PublishedLast updated

parse5 is the fastest spec-compliant HTML5 parser for Node.js, parsing HTML exactly as modern browsers do.

Screenshot of parse5 website

Sources

github.com

Verified against the inikulin/parse5 repository and the npm package.

parse5 is a reliable, spec-compliant HTML5 parsing and serialization toolset for Node.js that processes HTML exactly like modern browsers.

Key Features:

  • WHATWG Compliant - Follows the HTML Living Standard for browser-accurate parsing
  • Fast - The fastest spec-compliant HTML parser available for Node.js
  • Serialization - Convert DOM trees back to HTML strings with full fidelity
  • Battle Tested - Powers jsdom, Angular, Lit, Cheerio, and rehype
  • Tree Adapters - Flexible output format with customizable tree adapters

Whether you're building testing frameworks, processing HTML for static site generators, or need browser-accurate parsing for scraping, parse5 provides reliable, standards-compliant HTML processing.

Categories:
Features:
HTML ParsingDocument ParsingOpen SourceJavaScript SDKHTML SerializationTree Adapters

Share:

Similar to parse5

Favicon

 

  
  
Favicon

 

  
  
Favicon