lol-html
Low output latency streaming HTML parser/rewriter with CSS selector-based API
Low output latency streaming HTML parser/rewriter with CSS selector-based API
To install this package, run one of the following:
Low Output Latency streaming HTML rewriter/parser with CSS-selector based API.
It is designed to modify HTML on the fly with minimal buffering. It can quickly handle very large documents, and operate in environments with limited memory resources. More details can be found in the blog post.
The crate serves as a back-end for the HTML rewriting functionality of Cloudflare Workers, but can be used as a standalone library with a convenient API for a wide variety of HTML rewriting/analysis tasks.
Summary
Low output latency streaming HTML parser/rewriter with CSS selector-based API
Last Updated
May 6, 2026 at 17:12
License
BSD-3-Clause
Supported Platforms
GitHub Repository
https://github.com/cloudflare/lol-htmlDocumentation
https://docs.rs/lol_html