Markdown to HTML
Convert Markdown (headings, paragraphs, bold, italic, strikethrough, links, images, inline and fenced code, lists, quotes, rules) to HTML. Raw HTML in the input is escaped, so the output is safe to embed. Use to publish agent-written Markdown on a web page.
Inputs
| Name | Type | Description |
|---|---|---|
markdown (required) | string | The Markdown |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/markdown/to-html?markdown=%23%20Title%0ASome%20**bold**%20text%20and%20a%20%5Blink%5D(https%3A%2F%2Fexample.com)."
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/markdown/to-html?markdown=%23%20Title%0ASome%20**bold**%20text%20and%20a%20%5Blink%5D(https%3A%2F%2Fexample.com).&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"html": "<h1>Title</h1>\n<p>Some <strong>bold</strong> text and a <a href=\"https://example.com\">link</a>.</p>"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is markdown_to_html, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp