A fast, spec-compliant HTML parsing and serialization toolset for Node.js.
Parse5 is a fast, spec-compliant HTML parsing and serialization toolset for Node.js. It implements the WHATWG HTML Living Standard (HTML5) to parse HTML exactly as modern browsers do, providing reliable HTML processing for server-side applications. The project solves the need for accurate, high-performance HTML manipulation in Node.js environments.
Node.js developers who need to parse, serialize, or manipulate HTML in server-side applications, testing frameworks, static site generators, or web scraping tools.
Developers choose Parse5 because it's the fastest spec-compliant HTML parser for Node.js while maintaining perfect adherence to the WHATWG standard. Its proven reliability in major projects like jsdom and Angular gives developers confidence in production use.
HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Parses HTML exactly as modern browsers do by adhering to the WHATWG Living Standard, ensuring reliable and predictable output as mentioned in the README.
Claims to be the fastest spec-compliant HTML parser for Node.js, backed by its use in performance-critical projects like jsdom and Angular.
Trusted by major open-source projects such as Cheerio and rehype, demonstrating its stability and production readiness over time.
Offered as multiple packages for parsing, serialization, and tree adapters, allowing developers to use only what they need for flexible integration.
Designed solely for Node.js environments, making it unsuitable for browser-based or other runtime applications without complex workarounds.
Lacks CSS selector support or DOM querying capabilities out of the box, requiring additional libraries like Cheerio for manipulation tasks.
Its comprehensive toolset and tree adapter concepts can introduce a steeper learning curve compared to simpler parsers for basic HTML handling.