htmlsharechecking

free · no signup · pages live for 24 hours

drop an html file.
get a public url.

drop your .html anywhere on this page

html · htm · 10mb max · live in < 1s

or just tell your agent.

01 / made it with ai

tell your agent to publish to htmlshare

> publish this to htmlshare
published in 1.2s
https://htmlshare.net/p/k9n2gq42

it's live at htmlshare.net/p/…

htmlshare.net/p/k9n2gq42
works with claude, chatgpt, cursor, codex — anything that can call an mcp server or send one POST. your agent needs the connector or api first: 30-second setup →

if it's html, you can share it.

02 / what people publish
ai artifacts
claude, chatgpt, or codex made it
prototypes
a working idea, not a screenshot
reports & dashboards
interactive, anyone can open it
slides & tools
html slides, calculators, portfolios, one-off pages

see what you can make →

03 / how it works

html to url in seconds.

/1
drop it, or have your agent publish it.
/2
htmlshare gives you a public link.
/3
send it. opens in any browser.
/4
claim it with a free account to keep it.
04 / no signup required

share now. keep it if it matters.

24h
anonymous. drop and go, url is live instantly.
free account. custom url, never expires.
05 / api

publishing from code? one post, one url back.

add the mcp server once. claude, chatgpt, your shell, your code — every agent can publish. an api key makes publishes permanent.

full api reference →

mcp · claude

~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"htmlshare": {
"url": "https://api.htmlshare.net/v1/mcp"
}
}
}

then ask claude: “publish this as an htmlshare link” — it just works. chatgpt too. setup for every client →

curl

terminal
# publish from the terminal
curl -X POST https://api.htmlshare.net/v1/publish \
-H "content-type: application/json" \
-d '{"html":"<!doctype html><h1>hello</h1>"}'
# → { "url": "https://htmlshare.net/p/k9m2qa42", "expiresAt": "..." }

accepts application/json (html field) or multipart/form-data with a file. 10mb max.

node.js

publish.mjs
import { readFile } from 'node:fs/promises';
const html = await readFile('./report.html', 'utf-8');
const { url } = await fetch('https://api.htmlshare.net/v1/publish', {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({ html }),
}).then((r) => r.json());
console.log(url); // → https://htmlshare.net/p/k9m2qa42

works anywhere with fetch — node ≥ 18, bun, deno, browsers.

max size
10 mb
retention
24h · ∞ with account
accepts
html only
cost
free
06 / faq

common questions.

what is htmlshare?

a fast way to publish an html file online and get a public url. upload a file from your browser, or publish straight from an ai agent, script, or app through the api.

how do i turn an html file into a url?

drop your .html file on this page and it publishes to a public url you can share immediately. no deploy, no hosting setup, no build step.

can i host html for free?

yes. you can publish anonymously, for free, without creating an account. anonymous pages stay online for 24 hours; a free account keeps pages permanently.

how long does an anonymous page stay online?

anonymous pages stay live for 24 hours. to keep one, create a free account and claim it — the success card walks you through it, and can email you a claim link before the page expires.

can i publish html created by claude or chatgpt?

yes — that is what htmlshare is built for. html generated by claude, chatgpt, codex, cursor, or any other ai tool publishes exactly like a hand-written file.

can an ai agent publish directly to htmlshare?

yes. agents publish through the rest api or the htmlshare mcp server without you uploading anything by hand. connect it once and publishing is one sentence in the chat.

what can i publish?

reports, dashboards, prototypes, presentations, portfolios, landing pages, calculators, visualizations, experiments — any self-contained html page.

do i need an account?

no. publish anonymously and share the url right away. create an account when you want to keep a page, pick a custom url, or manage what you have published.

does htmlshare change my html?

your stored html is never modified — what you upload is what the api returns, byte for byte. the only addition is a small "published with htmlshare" badge added at serve time on free pages.

made html? give it a url.