Paste HTML. Get a URL.

Instant hosting for demos, mockups, and AI-generated pages. HTML or Markdown.

Paste or Upload

HTML or Markdown — paste, drop, or API. Converted to live page.

Unique URL

Every paste gets a permanent link. /p/x7k9m2

AI-Ready API

ChatGPT, Claude, MCP — deploy HTML directly from AI agents.

Bulk Export

Download all your pastes as a ZIP from the dashboard — one click.

Use Cases

AI-Generated Pages

You ask ChatGPT or Claude to build a landing page, dashboard mockup, or interactive widget. Paste what it generates here — deploy instantly. No hosting, no domains, no friction. Idea to live URL in seconds.

Client Demos & Feedback

Build HTML mockups in your editor, drop the file here, and send a URLinstead of a zip. Clients see a real page. No staging servers. No "can you deploy this?" Just a link.

CI/CD Artifacts

Your build generates a HTML report, test coverage dashboard, or doc site. Pipe it to the API — every build gets a permanent URL. Attach to PR comments, Slack notifications, internal dashboards.

One-Off Pages

Event registration, status page, mini-landing for a side project, API docs from a README. Anything that lives for a while but not forever. Set an expiry and forget about it.

Plans

Free
$0
forever
25 pastes / month
128 KB per paste
25 API calls / month
30-day expiry
Popular
Pro
$7
/ month
500 pastes / month
256 KB per paste
500 API calls / month
Custom expiry
Unlimited
$15
/ month
pastes
512 KB per paste
API calls
No forced expiry

Sign in to start or upgrade. All plans include MCP access.

API

Inline HTML

curl -X POST https://pastml.com/api/paste \
  -H "Authorization: Bearer *** \
  -H "Content-Type: text/html" \
  -H "X-Paste-Title: My Demo Page" \
  -d '<html><body><h1>Hello</h1></body></html>'

{"id":"x7k9m2p3","url":"https://pastml.com/p/x7k9m2p3","sizeBytes":45}

Upload file

curl -X POST https://pastml.com/api/paste \
  -H "Authorization: Bearer *** \
  -H "Content-Type: text/html" \
  -H "X-Paste-Title: My Demo Page" \
  --data-binary @my-page.html

{"id":"x7k9m2p3","url":"https://pastml.com/p/x7k9m2p3","sizeBytes":3421}

With expiry (ISO date)

curl -X POST https://pastml.com/api/paste \
  -H "Authorization: Bearer *** \
  -H "Content-Type: text/html" \
  -H "X-Paste-Title: Temporary Demo" \
  -H "X-Paste-Expires: 2026-07-15" \
  -d '<html>...</html>'

MCP Server

Deploy HTML directly from Claude Desktop, Cursor, or any MCP-compatible AI client. Configure once — every HTML artifact your AI generates gets a live URL.

claude mcp add (CLI)

$ claude mcp add --transport http pastml https://pastml.com/api/mcp \
    --header "Authorization: Bearer *** 

or manually in claude_desktop_config.json

{
  "mcpServers": {
    "pastml": {
      "url": "https://pastml.com/api/mcp",
      "headers": {
        "Authorization": "Bearer *** 
      }
    }
  }
}

What you get

deploy_html— Paste HTML, get a live URL
deploy_md— Paste Markdown, converted to styled HTML
search_pastes— Find pastes you've created by title or ID
delete_paste— Remove a paste you own
get_limits— Check plan limits, usage, and stats

Streamable HTTP transport — no npm package needed. Find your API key in Dashboard → Settings.