# mixmark-io/turndown

🛏 An HTML to Markdown converter written in JavaScript

Repository: https://github.com/mixmark-io/turndown
Canonical: https://ross.abutalabs.com/products/turndown
Homepage: https://mixmark-io.github.io/turndown
Language: HTML
License: MIT
License Family: permissive
Topics: javascript, html, markdown, html-to-markdown, browser, node, commonmark, gfm
Last push: 2026-06-23T22:17:20+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 65, longevity 100
- inputs: {"age_days": 5428, "days_push": 71, "days_rel": 152, "gap_med": 70, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11403, forks 995 (observed 2026-08-28T04:10:46.933332+00:00)

## What it is
Turndown is a JavaScript library that converts HTML into Markdown, aiming for CommonMark compliance with configurable output styling. It runs in both Node.js and the browser and supports custom conversion rules.

## Use cases
- convert html to markdown in javascript
- turn html content into markdown for a cms
- convert pasted rich text to markdown in a browser app
- migrate html blog posts to markdown files
- extract markdown from dom nodes
- customize html to markdown conversion rules

## When to choose
- you need CommonMark-compliant HTML to Markdown conversion in Node.js or the browser
- you want configurable Markdown output styles like heading or code block style
- you need custom rules for non-standard HTML elements

## When to avoid
- you need Markdown to HTML conversion instead
- you are not working in a JavaScript environment

## Facets
- artifact type: library
- maturity: stable
- function: parser, markdown, serialization
- domain: web-development, frontend, developer-tools, documentation
- platform: browser
- tags: html-to-markdown, commonmark, gfm, converter, nodejs, javascript

## Member repositories
- mixmark-io/turndown (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.933332+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-29T17:15:37.227934+00:00, confidence not recorded.
  - readme: https://github.com/mixmark-io/turndown (fetched 2026-08-28T04:10:46.933332+00:00, sha 9bae13fa5566)
  - homepage: https://mixmark-io.github.io/turndown (fetched 2026-08-29T08:14:22.998348+00:00, sha 8d8b84aa9f90)
- Data as of 2026-08-30T08:39:29.467469+00:00.
