Skip to content
ONE COMMAND, ONE URL

Deploy an HTML site with curl

DropHTML lets you deploy HTML files up to 10 MB or ZIPs up to 25 MB with curl for free ($0, no signup), each on its own drophtml.run address; Pro is $5/mo. POST your file to the deploy endpoint, then read the live address from the JSON response. You don't need an account or 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 deploy an HTML site with curl

  1. Choose your file

    Use index.html for a single HTML page, or site.zip for a site packaged with its other files. DropHTML serves static files, not server-side code.

  2. Upload an HTML file

    Run this command from the folder containing index.html: curl -X POST https://drophtml.page/deploy -H "Content-Type: text/html" --data-binary @index.html

  3. Or upload a ZIP

    For site.zip, use the ZIP content type and send the archive instead: curl -X POST https://drophtml.page/deploy -H "Content-Type: application/zip" --data-binary @site.zip

  4. Read the JSON response

    The url field is your live HTTPS address, slug identifies the upload, and expires_at gives its expiration. Open the address from url to see your site.

  5. Save the claim URL privately

    An upload without an account also returns claim_url, a one-time link that saves the page to whichever account opens it. Don't share it as the public site address, share the value from url instead.

Terminal

index.html

cd my-site && zip -r ../site.zip .
curl -X POST https://drophtml.page/deploy \
  -H "Content-Type: application/zip" \
  --data-binary @../site.zip

How does this compare with other hosts' APIs

OptionAccount or credentialDeploy methodRate or claim limit
DropHTMLNo account or API keycurl POSTFree: 10 uploads/minute per IP
NetlifyPersonal access tokenZIP POST to deploys endpoint3/minute, 100/day
Cloudflare Pages Direct UploadAccount; API token for APIwrangler pages deploy or Pages APINo claim step; account needed
Cloudflare wrangler --temporaryNo accountFolder deploy with --temporaryClaim within 60 minutes

What should I do with the claim URL?

Keep claim_url somewhere private. You publish without an account; claim the page with a free account (no card) and it stays online as long as you keep it. You can sign in with Google or an email link.

The live address and the claim address do different jobs. Anyone with the live address can open your site, while the claim address saves it to an account, and that account is whichever one opens the one-time link.

If you use the browser uploader instead, it asks for an email address when you upload without an account. That's only for a backup claiming link; it doesn't create an account or password.

What are the upload and rate limits?

The API uses the same upload limits as the browser. On free, you get unlimited uploads with no bandwidth limits, but there's a per-minute limit:

Pro raises the rate to 120 uploads a minute and accepts ZIPs up to 100 MB, or 400 MB unpacked, with 10,000 files per upload. It's $5/mo, billed monthly, and you can cancel anytime; there's no yearly plan.

For repeat deployments, Pro lets you re-upload or edit and keep the same link. Pro pages never expire and have no badge, and Pro includes the AI editor with 50 credits a month plus 90-day analytics showing sources, countries, devices. You can also choose an expiry starting at 60 seconds, add password protection, or restore an expired page to the same link.

  • HTML body: up to 10 MB on every plan.
  • Free ZIP: up to 25 MB, or 100 MB unpacked.
  • Free file count: 100 files per upload.
  • Free API rate: 10 uploads a minute per IP.

How does this compare with other hosts' APIs?

Use DropHTML when you want to send an HTML file or ZIP from curl without setting up an account or API key. Netlify's ZIP deployment is also a single POST, but its API requires a personal access token.

Cloudflare Pages Direct Upload fits if you want to deploy through a Cloudflare account, using wrangler pages deploy or the Pages API with an API token. Both need an account.

For an account-free folder deployment from a command line, Cloudflare's wrangler with --temporary is another option. It creates a temporary preview account and returns a workers.dev address plus a claim URL; you have to claim the deployment within 60 minutes.

What can I put online this way?

DropHTML supports 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.

Uploads get a noindex header and aren't listed publicly by DropHTML. That doesn't restrict access: anyone with the link can open the page. No DropHTML plan supports custom domains.

Questions

Can I deploy HTML with curl without an API key?

Yes. DropHTML accepts an HTML file or ZIP through its deploy endpoint without an account or API key, and returns JSON containing the live address.

Can I update my site at the same link?

A free DropHTML page can't be updated in place. Uploading again gives you a new link; Pro lets you re-upload or edit while keeping the existing link.

Will my free page have ads?

DropHTML's free plan has no ads. Free pages have a small Hosted on DropHTML badge that visitors can close; Pro pages don't show it.

Can an AI agent deploy the page?

Yes. AI agents add ?agent= followed by their name, such as chatgpt or claude, to the deploy endpoint.

Can I upload without using a terminal?

Yes. At drophtml.page, drag in an HTML file, ZIP or folder, pick a file, or paste HTML. The success screen includes the live link and a QR code.

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.