# justhtml

A pure Python HTML5 parser that just works. No C extensions to compile. No system dependencies to install. No complex API to learn.

Canonical page: https://www.reposhelf.co.uk/projects/github/emilstenstrom/justhtml.html

- Project ID: EmilStenstrom/justhtml
- Source: GitHub
- Original project: https://github.com/EmilStenstrom/justhtml
- Description attribution: project author metadata
- Categories: Education
- Technologies: Python
- Licence: No licence detected
- Repository availability checked: 2026-11-04T06:30:09.843Z
- Demo page loaded: 2026-11-20T19:14:20.080Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> HTML from the real web is messy. It is often malformed, user supplied, scraped from unknown pages, or headed for a browser where small parsing differences can become security bugs.

> JustHTML gives Python projects one small dependency for the common HTML jobs:

> Documentation \| Comparison \| Playground \| Security policy

- parse HTML like a browser, including broken markup
- sanitize untrusted HTML by default
- query with CSS selectors
- transform, serialize, extract text, or convert to Markdown
- Correct parsing: browser-style HTML5 recovery, tested against the web platform html5 treebuilder tests.

## Author-documented requirements and audience

> HTML from the real web is messy. It is often malformed, user supplied, scraped from unknown pages, or headed for a browser where small parsing differences can become security bugs.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/EmilStenstrom/justhtml/blob/main/README.md

Extraction checked: 2026-10-22T11:49:29.363Z

Last recorded source update: 2026-10-26T22:22:53.000Z

Saved release: v3.13.0 — 2026-09-30T18:17:45.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=EmilStenstrom%2Fjusthtml). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
