High-performance browser-grade HTML5 parser (by servo)

Html5ever Alternatives

Similar projects and alternatives to html5ever

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better html5ever alternative or higher similarity.

html5ever reviews and mentions

Posts with mentions or reviews of html5ever. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-22.
  • I'm fed up with it, so I'm writing a browser
    12 projects | | 22 Sep 2023
    Would you consider using some libraries in your project? There are lots of good ones in the Rust ecosystem, and many of them are not part of any existing browsers.

    For example:

    - (HTML parsing - note: this is used in Servo)

    - (CSS parsing)

    - (web layout)

    - (text layout and rendering)

    Obviously you should be free to work on whatever you like, but just as a benchmark on the scope of your project: I spent ~6 months implementing just the CSS Grid algorithm in Taffy last year. An entire browser from literal scratch is probably a 10 year project for one person.

  • Ask HN: A fast, Rust HTML parser that works?
    4 projects | | 23 Feb 2023
    So I'm doing some web scraping in Rust, and so I will need to parse HTML. [scraper]( (which uses [html5ever]( is doing fine except that it's the bottleneck of my application.

    So I need a faster parser. I've tried [tl]( which would've been perfect except that it doesn't actually work on the HTML I have. When I try to `query_selector` the elements I need, it returns nothing.

    [Kuchiki]( is abandonded.

    I couldn't figure out how to get [lol-html]( to work for me (it's designed for re-writing HTML, whatever that means). It doesn't seem to have an API to extract the inner text of an element.

    [html5gum]( seems to be just an HTML tokenizer, or otherwise just too low-level. I have not yet tried [quick-xml]( but judging from the README, it's pretty low-level too. I mean, if these are the only options left then I will try them. Otherwise, I would love to use a parser that's faster but as ergonomic as `scraper` or `tl`.

    At this point, I would be happy with an Lxml bridge/port of some sort. I don't need to mutate HTML, just parse and read data from it.

  • Any HTML parsing resources without going straight to W3C?
    1 project | /r/rust | 31 Aug 2022
  • Iā€™m developing rust module like google pagespeed nginx module, which will rewrite html for each request it received for dynamic optimisation. what library is fastest to do this? Iā€™m using this now
    1 project | /r/rust | 30 Aug 2021
  • What is the best way to parse HTML tags?
    1 project | /r/rust | 15 Jul 2021
    See for an example implementation to imitate.
  • A note from our sponsor - InfluxDB | 24 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more ā†’


Basic html5ever repo stats
7 days ago

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives