htmlpage

Post HTML, get a shareable link. HTML for humans, .md for agents.

Send any HTML, get a link you can share. Humans get the rich page at /:id; agents get an auto-derived markdown twin at /:id.md — no extra work on your end.

API

$ curl -X POST https://html.page/api/publish \
  -H "Content-Type: application/json" \
  -d '{"html":"<h1>Hello</h1>"}'

{ "url": "https://html.page/aBcDeF", "expires_at": "..." }

Just send html. We derive the markdown for you via Workers AI in the background. Want a hand-curated version instead? Pass an optional markdown field and it always wins.

Two URLs, one page

GET /aBcDeF      → rendered HTML, CSP-sandboxed (humans, browsers)
GET /aBcDeF.md   → markdown twin, auto-derived  (agents, scripts)

Agents discover the markdown twin automatically: every HTML response carries a Link: rel="alternate"; type="text/markdown" header plus a matching <link rel="alternate"> in the document head. Claude, ChatGPT, Cursor, Perplexity, and any MCP client can fetch the readable version without prior knowledge.

Try it

No auth · 3 MB · 24 h · full JS / CSS / SVG / Canvas · CSP-sandboxed