Alir3z4/html2text
Convert HTML to Markdown-formatted text. observed · 2026-08-28
Health v2 · maintenance only
45/100
- Activity 49
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4578
- days_rel: 505
- days_push: 309
- n_releases_24m: 1
Adoption not part of the score
2168 stars · 297 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library and CLI script that converts HTML pages into clean plain ASCII text that is valid Markdown. Originally written by Aaron Swartz and distributed under the GPLv3 license.
Use cases
- convert html pages to markdown
- extract readable plain text from html
- turn web page html into markdown for notes
- strip html formatting from emails or documents
- convert html content to markdown for llm input
- programmatically transform html strings to markdown in python
When to choose
- you need a lightweight, pure-Python html-to-markdown converter
- you want both a CLI and a Python API for the same conversion
- you need configurable options like ignoring links or reference-style links
When to avoid
- you need to convert markdown to html instead
- you need full DOM parsing or manipulation of html documents
- you need a browser-based or JavaScript converter
Facets
library · maturity active
parser markdown cli web-development developer-tools files python cli cross-platform html-to-markdown text-conversion html-parsing
2 sources
- readme: https://github.com/Alir3z4/html2text · fetched 2026-08-28 · a2548dae0826
- registry_pypi: https://pypi.org/pypi/html2text/json · fetched 2026-08-29 · 55b423631a22
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Alir3z4/html2text | main | 45 |
For agents
markdown · JSON · MCP: product_card(name="Alir3z4/html2text")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem