Favicon of parse5

parse5

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

Screenshot of parse5 website

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:

Share:

  • Stars

    3.9K
  • Forks

    251
  • Last commit

    2 months ago
  • License

    MIT
  • Language

    TypeScript
View Repository

Similar to parse5

Favicon

 

  
  
Favicon

 

  
  
Favicon