ai-agent

mdream: Fast HTML to Markdown

Get fast HTML conversion with mdream, optimized for LLMs and streaming, for founders needing markdown output.
939 stars60 forksTypeScriptGuide quality 9/10Updated 8/19/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
73.6M
source size
MIT
license
Key files
.editorconfig
eslint.config.js
package.json
README.md
tsconfig.json
vitest.config.ts
File tree
.claude/
.github/
bench/
bin/
crates/
examples/
packages/
scripts/
.dockerignore
.editorconfig
.gitattributes
.gitignore
.npmrc
action.yml
CLAUDE.md
DOCKER.md
Dockerfile.core
Dockerfile.crawl
eslint.config.js
knip.json
LICENSE.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? Claim your listing → and earn 85% of every sale.