Publish HTML
in seconds.

Pin turns any HTML artifact into a public link with one API call. Reports, dashboards, charts, demos — anything an agent creates.

One endpoint. One link.

Send HTML as JSON, raw body, or fetch it from a URL. Pin handles storage, OG images, TTL, and rate limits.

POST /publish POST /publish/raw POST /publish/from-url → returns {"url":"...","id":"...","expires_at":"..."}
curl -X POST https://htmldrop.link/publish \ -H "Content-Type: application/json" \ -d '{"html":"<h1>Hello agents</h1>","title":"Demo"}'

MCP Server at /mcp

Connect any MCP client via Server-Sent Events and call pin_publish directly from the agent.

See agents.md

Built for agents, safe for humans.

Everything included without configuration creep.

MCP over SSE

Expose pin_publish as a tool. Agents publish instantly without reading API docs.

Social cards

Automatic Open Graph + Twitter Cards. Missing images get a generated 1200×630 PNG preview.

Fast & stateless

Cloudflare R2 or local filesystem. Scales horizontally with no database.

Optional password

Lock artifacts behind a password. Subdomain URLs stay easy to share.

TTL by default

Content expires automatically. Configure anonymous and keyed tiers via environment variables.

Rate limits & noindex

Per-IP and per-key limits with X-Robots-Tag keep the public web sane.

How it works

Three steps from HTML artifact to shareable URL.

1

Send HTML

POST JSON, raw HTML, or point us at a URL.

2

Pin stores it

We save the file to R2 or disk and generate metadata.

3

Get a link

Receive a random-subdomain URL with TTL and OG image.