Comparison
html5lib vs justhtml vs selectolax vs tinyhtml5
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
HTML parser based on the WHATWG HTML specification
Low maintenance activity. Last release over 6 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install html5libA pure Python HTML5 parser that just works.
Actively maintained. Last release 7 days ago, commits in 19 of the last 26 weeks. A safe choice.
pip install justhtmlA fast HTML5 parser with CSS selectors, written in Cython, using the Lexbor engine.
Actively maintained. Last release 6 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
pip install selectolaxHTML parser based on the WHATWG HTML specification
Maintained. Last release 9 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install tinyhtml5In short
- tinyhtml5 is the most used: 39.4M downloads a month.
- justhtml is better maintained: Pythie’s Index 87 against 45.
- tinyhtml5 is growing fastest: downloads +13% over the last month.
- justhtml is the newcomer: first released Nov 2025.
Side by side
| Metric | html5lib | justhtml | selectolax | tinyhtml5 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 87 | Pythie’s Index: 82 | Pythie’s Index: 45 |
| Verdict | Low maintenance activity | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 29.5M | 194.9K | 6.7M | 39.4M |
| Downloads, month over month | +4% | -13% | +10% | +13% |
| GitHub stars | 1.2K | 1.2K | 1.7K | 10 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 860 | 13 | 312 | 11 |
| Last release | Jun 22, 2020 | Nov 23, 2026 | Oct 22, 2026 | Mar 5, 2026 |
| Releases, 12 months | 0 | 100 | 11 | 1 |
| Weeks with commits | 0 / 26 | 19 / 26 | 12 / 26 | 3 / 26 |
| Recent contributors | 24 | 8 | 5 | 16 |
| First release | Feb 2012 | Nov 2025 | May 2018 | Sep 2024 |
| Python versions | 3.5 – 3.8 | – | 3.9 – 3.15 | 3.10 – 3.14 |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.