Home / Guides / Get a URL for an HTML file
A file on your computer isn't a link anyone can open. Here's how to turn an .html file into a real, shareable URL in seconds — in the browser, or straight from your code or an AI assistant.
slug.htmldrop.app URL it returns.Use the REST API to publish and get a URL back in your scripts:
curl -F [email protected] https://htmldrop.app/api/v1/drops |
See the API reference for auth and options.
With the htmldrop MCP server connected, ask Claude, Cursor, or Cline to publish your HTML and it returns the live URL directly — handy for sharing something the assistant just generated.
Anonymous, free, no signup. In seconds you'll have a real link to send anywhere.
Try it freeDrag the file onto htmldrop.app and copy the URL it returns — a few seconds, no signup, no build. For automation, the REST API and MCP server return a URL programmatically.
Yes. URLs are unguessable by default, and you can add password protection on paid plans from $3/mo so only people with the password can open the page.
No. Viewers just open the URL. Only you (the publisher) might want an account, and only to keep drops past the 7-day anonymous window.