POST HTML to an API and get a public URL
DropHTML lets you POST HTML files up to 10 MB or ZIPs up to 25 MB for free ($0, no signup), with each page live at its own address on drophtml.run; Pro is $5/mo. Send raw HTML in the request body to its deploy endpoint, and the JSON response gives you a public website URL.
A file. A folder. A fresh start.
Your static site, one link away.
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 POST HTML and get a live link
Prepare your HTML
Use an HTML file such as index.html, or send the HTML your script generates directly as the request body. If your page has separate files, you can send a ZIP instead.
Send a POST request
Use the /deploy endpoint on drophtml.page with Content-Type: text/html and your raw HTML as the body. You don't need an account or an API key.
Read the JSON response
Take the public address from the url field and open it in your browser. The response also includes slug and expires_at, plus a one-time claim_url for uploads made without an account.
Keep the claim link 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. The claim_url saves the page to whichever account opens it.
Terminal
index.html
curl -X POST https://drophtml.page/deploy \
-H "Content-Type: text/html" \
--data-binary @index.htmlLimits by plan
| Free | Pro | |
|---|---|---|
| Price | $0 forever | $5 per month |
| Account required | No | Yes |
| Link lifetime | No account needed; claim it free and it stays online as long as you keep it | Doesn't expire while you're on Pro, or any TTL from 60 seconds |
| Update a page, keep its link | No | Yes |
| Custom subdomains | No | Up to 5, like yourname.drophtml.run |
| DropHTML badge on pages | Shown | Removed |
| Site editor in the browser | No | Yes, with 20 versions of history |
| AI editor | 5 credits to try, signed in | 50 credits a month, unused ones carry over up to 100 |
| Password protection | No | Yes |
| Visitor analytics | Total view count | 90 days: sources, campaigns, countries, devices, pages |
| Traffic report by email | No | Every Monday |
| Restore expired pages | No | Yes, on the same link |
| Append API | No | Yes |
| Single HTML file | 10 MB | 10 MB |
| ZIP upload | 25 MB, 100 MB unpacked | 100 MB, 400 MB unpacked |
| Files per request | 100 | 10,000 |
| Uploads and bandwidth | Unlimited | Unlimited |
| Deploys per minute | 10 | 120 |
What does the API return?
The response is JSON. You get the live page address, its slug and an expiry field, rather than HTML that you need to save or publish somewhere else.
Share the url value. Keep claim_url to yourself. Each upload gets its own address on drophtml.run, and the page is served over HTTPS.
On the free plan, uploading another version creates another link. You can't update a free page in place.
- url: the public link you can open or share.
- slug: the page's slug.
- expires_at: the expiry field.
- claim_url: a one-time claiming link, included for uploads without an account.
Can I create pages from scripts, reports or apps?
Yes. Your script or app can generate HTML and POST that HTML as the request body. That works for a generated report too, as long as what you're publishing is a static page, not a server-side app that needs to run on DropHTML.
DropHTML serves 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.
For a page with separate assets, send a ZIP body with Content-Type: application/zip. AI agents should add ?agent= with their name to the deploy endpoint, for example chatgpt or claude. You'll find the API docs on drophtml.page.
Every upload has a noindex header, and DropHTML doesn't put uploads in a public listing. Anyone with the public link can still open the page. It's not private access.
What limits should my script respect?
The free API has the same upload limits as the browser uploader. It's $0, with no signup, credit card or ads, and you get unlimited uploads with no bandwidth limits. The upload rate still applies.
If your script needs to replace a page while keeping its URL, Pro lets you re-upload or edit without changing the link. It's $5 a month, billed monthly, with no yearly plan, and you can cancel anytime. Pro pages never expire unless you choose an expiry, which can be as short as 60 seconds.
Pro also removes the badge, includes the AI editor with 50 credits a month and adds 90-day analytics for sources, countries and devices. You can describe a page or a change in plain words; unused AI credits roll over up to 100. Free accounts can try the AI editor too.
For larger uploads, Pro allows ZIPs up to 100 MB (400 MB unpacked), 10,000 files per upload and 120 uploads a minute. It also adds password protection and lets you restore expired pages to the same link.
- HTML request body: up to 10 MB on every plan.
- Free ZIP upload: up to 25 MB, or 100 MB unpacked.
- Free file count: up to 100 files per upload.
- Free request rate: 10 uploads a minute per IP.
When would another option fit better?
Use DropHTML when you want to POST HTML and get a public link without handling an account or API key. No DropHTML plan supports custom domains.
If you want a custom domain for a single HTML page, paste.page may fit better. It publishes pasted or uploaded HTML up to 10 MB. Without an account, a page lasts 24 hours; a free account keeps 1 page with paste.page branding. Its Pro plan is $20 a year for 10 pages, a custom domain and passwords.
If you already use Netlify and want to deploy there, its API accepts a ZIP in one POST to the deploys endpoint. You'll need a personal access token, and API deploys are limited to 3 a minute and 100 a day.
Questions
Can I paste HTML instead of using an API?
Yes. On drophtml.page, you can paste HTML, pick a file or drag in an HTML file, ZIP or folder. The success screen includes the live link and a QR code.
Do I have to give an email address?
The API needs no account or API key. The browser uploader asks for an email address when you upload without an account, only to send a backup claiming link; it creates no account or password.
How do I keep my free page online?
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 create the account with Google or an email link.
Will my page have ads or branding?
DropHTML has no ads. Free pages have a small Hosted on DropHTML badge that visitors can close; Pro pages have no badge.
Keep reading
- Let an AI agent deploy a site and return a URL
- Deploy an HTML site with curl
- Free HTML hosting API
- DropHTML deploy API docs
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.