ai-agent

mdream: Rapid HTML‑to‑Markdown Conversion for LLM‑Ready Content

Transform HTML into clean markdown instantly with mdream, the TypeScript‑based converter that streams output for AI workflows. Ideal for founders building LLM‑powered apps, backed by 1.0k+ GitHub stars.

From the repo · “☁️ The fastest HTML to markdown convertor on GitHub. Optimized for LLMs and supports streaming.”

1,023 stars+4★ this week64 forksTypeScriptGuide quality 8/10 · reviewed Oct 12Updated 10/22/2026100% free · open source
What it does

mdream converts HTML to markdown quickly, optimized for large language models and streaming, allowing founders to easily convert HTML content to markdown format

When to use it
  • •You need to convert HTML blog posts to markdown for a new website
  • •Your team wants to migrate HTML documentation to markdown for easier editing
  • •You're building a web scraper that needs to convert HTML pages to markdown for further processing
Ready-to-paste prompt
const html = '<h1>Hello World!</h1><p>This is a paragraph.</p>'; const markdown = mdream.convertHtml(html); console.log(markdown);
Heads up: Make sure you're using a compatible version of Node.js, as mdream is built with TypeScript and may not work with older versions
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/mdream && curl -fsSL https://workflowstacks.com/api/skills/mdream/claude-skill -o ~/.claude/skills/mdream/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

What's inside — free to inspect

No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

19
top-level files
8
folders
74.8M
source size
MIT
license
Key files
.editorconfig
AGENTS.md
eslint.config.js
MIGRATION_PROMPT.md
package.json
README.md
File tree
.claude/
.github/
bench/
bin/
crates/
examples/
packages/
scripts/
.dockerignore
.editorconfig
.gitattributes
.gitignore
.npmrc
AGENTS.md
DOCKER.md
Dockerfile.core
Dockerfile.crawl
eslint.config.js
knip.json
LICENSE.md
MIGRATION_PROMPT.md
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
Quick Actions
Details
Creator
harlan-zw
Language
TypeScript
Category
ai-agent
Published
4/16/2025

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/mdream.svg)](https://workflowstacks.com/skills/mdream?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.