# matthewwithanm/python-markdownify

Convert HTML to Markdown

Repository: https://github.com/matthewwithanm/python-markdownify
Canonical: https://ross.abutalabs.com/products/python-markdownify
Language: Python
License: MIT
License Family: permissive
Last push: 2026-06-30T20:26:41+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 66, longevity 100
- inputs: {"age_days": 5178, "days_push": 64, "days_rel": 64, "gap_med": 95.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2244, forks 195 (observed 2026-08-28T04:06:29.976495+00:00)

## What it is
A Python library that converts HTML documents into Markdown text, built on BeautifulSoup. It offers configurable options for stripping tags, heading styles, bullet styles, and link handling.

## Use cases
- convert html pages to markdown
- scrape web content and save as markdown
- convert html emails to markdown
- extract markdown from rich text editor output
- prepare html docs for llm ingestion

## When to choose
- you need a small, focused Python library for HTML-to-Markdown conversion
- you want fine control over which tags are converted or stripped
- you need customizable heading and bullet styles

## When to avoid
- you need Markdown-to-HTML conversion instead
- you need a full document processing pipeline with PDF or DOCX support
- you work outside the Python ecosystem

## Facets
- artifact type: library
- maturity: active
- function: parser, markdown
- domain: web-development, developer-tools, files
- platform: python, cross-platform
- tags: html-to-markdown, text-conversion, beautifulsoup, html

## Member repositories
- matthewwithanm/python-markdownify (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:29.976495+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:44:01.995040+00:00, confidence not recorded.
  - readme: https://github.com/matthewwithanm/python-markdownify (fetched 2026-08-28T04:06:29.976495+00:00, sha 2cada17622b6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
