mixmark-io/turndown

🛏 An HTML to Markdown converter written in JavaScript

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 50 minutes ago
Added to GitGenius on September 5th, 2026
Created on October 23rd, 2011
Open Issues & Pull Requests: 144 (+0)
GitHub issues: Enabled
Number of forks: 994
Total Stargazers: 11,426 (+0)
Total Subscribers: 125 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.0 days
Mean response time: 115.8 days
90th percentile: 582.5 days
Tracked items: 32

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 95% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 3% of issues opened in the past year have been closed. Three people close 71% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 22
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 824 days
Stale 30+ days: 22
Stale 90+ days: 17

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)
  • documentation (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Turndown is a JavaScript library that converts HTML into Markdown.

The tool addresses the need to transform HTML content into Markdown format, which is useful when working with content management systems, documentation generators, or any workflow that requires Markdown as an output format. It works by parsing HTML input and applying conversion rules to produce semantically equivalent Markdown, supporting both Node.js and browser environments. The library accepts HTML strings or DOM nodes as input and offers extensive customization through options controlling heading style, list markers, code block formatting, link styles, and delimiter choices.

Turndown suits projects that need programmatic HTML-to-Markdown conversion with fine-grained control over output formatting. It works well for applications requiring browser-side conversion, server-side batch processing, or integration into build pipelines. The tool is particularly valuable when output formatting must match specific conventions, since options allow developers to choose between setext and atx heading styles, indented or fenced code blocks, and various delimiter preferences. Beyond basic conversion, the library provides advanced extensibility through custom rules, element filtering to preserve specific HTML tags as-is, and element removal to strip unwanted content entirely.

Development activity shows consistent maintenance with regular updates addressing user needs. The project has undergone organizational changes including a repository URL migration and a rename from its previous identity. The codebase includes build tooling to generate UMD versions for both Node.js and browser environments, with these artifacts created during npm package publication. The tool supports CommonMark and GitHub Flavored Markdown specifications, indicating alignment with widely-adopted standards.