Markdown API

Free Markdown to HTML conversion, HTML to Markdown, stats, and preview. No signup. No API key.

Endpoints

POST /markdown/to-html

Convert Markdown to sanitized HTML. Supports fenced code, tables, TOC, footnotes, nl2br.

curl -X POST https://forge-node.tail2b516d.ts.net/markdown/to-html \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Hello\n\n**World**"}'
FieldTypeRequiredDescription
markdownstringYesMarkdown text (max 200,000 chars)
sanitizebooleanNoSanitize output HTML (default: true)
extensionsstring[]NoOverride extensions (default: fenced_code, tables, toc, sane_lists, nl2br, footnotes)

POST /markdown/from-html

Convert HTML back to Markdown.

curl -X POST https://forge-node.tail2b516d.ts.net/markdown/from-html \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>Hello</h1><p><strong>World</strong></p>"}'

POST /markdown/stats

Compute word count, reading time (225 wpm), speaking time (150 wpm), headings, links, images, code blocks, list items.

curl -X POST https://forge-node.tail2b516d.ts.net/markdown/stats \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Title\n\nSome text with [a link](https://example.com)."}'

POST /markdown/preview

Return a standalone styled HTML preview page (for iframe embeds or direct viewing).

Rate Limits

120 requests per minute per IP. 200,000 character input limit. No API key needed.

Every tool on this site stays free, with no signup and no key. The same workshop also publishes paid skill packs — The Forge Content Marketing Skill Stack for Claude Code ($49) — and a free index of guides. Independent; not affiliated with Anthropic.