Skip to content
NO API KEY TO START

Free HTML hosting API

DropHTML's free API ($0, no signup) puts HTML files up to 10 MB and ZIPs up to 25 MB live at their own address on drophtml.run; Pro is $5/mo. For a free HTML hosting API in 2026, it's the main choice here if you want anonymous uploads without an API key.

Ready to publish

A file. A folder. A fresh start.

Your static site, one link away.

No account needed

Publishing...

Uploading publishes your file. The link is public but unlisted, not password-protected, so leave out secrets and confidential content.

curl POST to drophtml.page/deploy, no API key
1 command
Largest HTML file, the same on every plan
10 MB
Free ZIP limit (100 MB unpacked, 100 files)
25 MB
No expiry or badge, same link, AI editor, analytics
$5/mo Pro

How to publish HTML through the API

  1. Choose your file

    Send an HTML file, or a ZIP if your page includes separate files such as CSS, JavaScript or images. The free ZIP limit is 25 MB, with up to 100 MB unpacked and 100 files.

  2. Send the upload

    Make a POST request to /deploy at drophtml.page using curl or your app. Set Content-Type to text/html for an HTML file or application/zip for a ZIP, and send the file as the request body.

  3. Read the JSON response

    Take the live address from url; the response also includes slug and expires_at. Anonymous uploads include a one-time claim_url, which you should keep private.

  4. Open and claim your page

    Your page has its own HTTPS address on drophtml.run. You publish without an account; claim the page with a free account (no card) and it stays online as long as you keep it.

Terminal

index.html

curl -X POST https://drophtml.page/deploy \
  -H "Content-Type: text/html" \
  --data-binary @index.html

When does another hosting API fit better

ServiceAPI accessDeploy limitsPrice
DropHTMLNo key for anonymous uploadsFree: 10 a minute per IP$0; Pro $5/mo
NetlifyPersonal access token3 a minute, 100 a dayNot specified here
Tiiny HostSolo plan or higherNot specified hereSolo: $18/month or $156/year
Cloudflare PagesAccount; API token for Pages APINot specified hereNot specified here

Do I need an account or API key?

Not for anonymous API uploads. You can send a file from a script or app without signing up, adding a token or entering a credit card, and get the live link back in JSON.

The claim_url saves the page to whichever account opens it. Keep it separate from the public url you share with visitors. A free account uses Google or an email sign-in link, with no password to create.

The browser uploader works a little differently: it asks for an email address when you're uploading without an account. That email is only for a backup link to claim the page later, and entering it doesn't create an account. AI agents should add ?agent= with their name, such as chatgpt or claude, to the deploy address.

What are the limits and paid options?

The API follows the same upload limits as the browser. On free, an HTML body can be up to 10 MB, a ZIP can be up to 25 MB with 100 MB unpacked, and each upload can contain up to 100 files. The API allows 10 uploads a minute per IP.

Free is $0, with unlimited uploads overall, no bandwidth limits, no credit card and no ads. Free pages do show a small Hosted on DropHTML badge that visitors can close.

Pro raises the API rate to 120 uploads a minute and supports ZIPs up to 100 MB, with 400 MB unpacked and 10,000 files per upload. It's $5 a month, billed monthly, with no yearly plan, and you can cancel anytime. The HTML file limit stays at 10 MB on every plan.

Pro pages never expire, have no badge, and let you re-upload or edit while keeping the same link. You also get the AI editor with 50 credits a month and 90-day analytics covering sources, countries and devices. Unused AI credits roll over up to 100; free accounts can try the editor too.

Can I update a page and keep its link?

A free page can't be updated in place. Upload a changed version and you'll get a new link. Claiming a free page doesn't change that.

Use Pro if your script or app needs to replace a page without changing its address. Pro also includes password protection and can restore an expired page at the same link. Pro pages never expire unless you choose an expiry yourself, starting from 60 seconds.

Every upload has a noindex header, and DropHTML doesn't put uploads in a public directory. Anyone with the link can still open the page unless you've added Pro password protection. No plan supports custom domains.

When does another hosting API fit better?

DropHTML is the main recommendation here for uploading without an account or API key. The other options have different access requirements.

Netlify fits if you want its ZIP deploy API and can work with a personal access token and those deployment limits. A ZIP deploy takes one POST to its deploys endpoint.

Cloudflare Pages fits if you want Direct Upload through wrangler pages deploy or the Pages API and are willing to use a Cloudflare account. The Pages API needs an API token. Tiiny Host is an option if you're prepared to pay for Solo or a higher plan for API access.

Questions

Can I host HTML for free without signing up?

Yes. DropHTML accepts anonymous API uploads without an account or API key. The free plan costs $0.

What does the upload API return?

DropHTML returns JSON containing url, slug and expires_at. An anonymous upload also returns a one-time claim_url for saving the page to an account.

Can I run PHP or Node.js?

No. DropHTML hosts static files, including HTML, CSS, JavaScript, images, fonts, audio, video, WebAssembly and JSON. It doesn't run PHP, Node.js, Python, databases or WordPress; forms need a third-party form service.

Where are the API docs?

Open drophtml.page and go to /docs for the API documentation.

Keep reading

Deploy with one curl command

POST an HTML file or ZIP to drophtml.page/deploy and get a live drophtml.run link back, free with no signup or API key.