TL;DR
- Drop a single
.htmlfile (or choose one). Nothing is sent anywhere yet — it's read locally, in your browser. - The file's name and size show up first; a live preview is one click away if you want it.
- Publish sends the file's text. Free pages stay live for 30 days, +30-day recovery window.
HTML File to URL
You already have the file. Drop it here, glance at its name and size to confirm it's the right one, and publish it to a link — no editor to open, no code to paste.
Why the file comes first
If you already have an .html file — exported from somewhere, saved off a chat window, sitting in a downloads folder — the fastest path is the one that starts with the file, not with opening it and copying the text out. This page never shows a code box until you ask for one: drop the file, see its name and size to confirm it's the one you meant, and publish. The live preview is one click away in "Preview before publishing", not on screen by default, so a 200-line document's markup never crowds out the one fact this screen is actually about — which file is about to go live.
Source: MDN: the HTML Drag and Drop API ↗
Nothing is uploaded on drop. The file is read locally with the browser's own FileReader, the same mechanism this site's homepage uses for its attach button — the bytes only leave your machine when you click Publish, and the file on your disk is never touched either way.
Source: MDN: the FileReader interface ↗
How this differs from a paste-and-link tool
| Feature | This page | htmltourl.com | Netlify Drop |
|---|---|---|---|
| Drop a single .html file, get a link | Yes — this is the whole page | Yes — paste or upload, 20MB limit (same as ours) | Yes, though it treats one file as a folder of one |
| Drop a whole folder or a .zip | No — single file only | Not shown in its own page copy | Yes — this is what Netlify Drop is built around |
| Preview before it goes live | Yes, collapsed behind a toggle so the file stays the focus | Yes — its own copy calls this out as step two | No pre-publish preview step — it deploys directly |
| Signup required | No | No — states "No account required" on its own page | Not needed to drop, but needed to keep it live past the trial window |
| Free page lifetime | 30 days, +30-day recovery window | 90 days, +60-day recovery — longer than ours | A drop needs a Netlify account to persist past its trial window |
The free-tier lifetime row goes against us on purpose — htmltourl.com keeps a page alive longer, no account needed. And if what you actually have is a folder, not one file, Netlify Drop is the more honest answer: this page cannot take that today.
Checked against each competitor's own site as of 2026-09-01.
Questions people actually ask
What can I drop here?
A single .html or .htm file. Drop it onto the box, or click it to choose one from your computer — either way, nothing leaves your machine until you click Publish.
Is my file uploaded the moment I drop it?
No. Dropping or choosing a file only reads its text into your browser — the same local FileReader step every publish tool on this site uses. The file itself is never sent anywhere until you click Publish, and you get a chance to preview it first.
Can I paste HTML instead of dropping a file?
Yes — "Paste HTML instead" opens a plain box below the drop zone for source you don’t have as a file yet. The file is still the primary path here; if you’re working from pasted code most of the time, the code editor is built for that.
Can I drop a folder, or a .zip file?
No — a single HTML file only. Inline your CSS and point images at a CDN or a data URI, or use something built for a folder: Netlify Drop takes one directly, tiiny.host takes a ZIP.
What happens to the original file on my computer?
Nothing. We read a copy of its text in your browser; the file on disk is untouched, and closing the tab afterward has no effect on it.
Is there a size limit?
The same 20 MB limit every publish on this site has, enforced when you click Publish. An ordinary HTML export, even with inline styles, sits well under it.
Will the link be indexed by Google?
No. Every published page carries a noindex header and lives on a separate domain from this one, the same as everything else this site publishes.
Same file, start to finish
A meeting itinerary, walked through the whole path a shared file actually takes — not a screenshot, the real document at each step. Nothing about its content changes anywhere in this sequence. What changes is how many steps stand between someone having it and someone having seen it.
An .html file sitting in an email thread. No preview in the inbox — just a name and a size, the same two facts this page itself leads with.
Saved to a Downloads folder. Still nothing to click that shows what is actually inside it — a file icon, not a page.
Double-clicked, it renders perfectly fine — at a file:// path that only resolves on this one computer, with no way to forward what is now on screen.
The exact same document — not re-uploaded, not edited — now at a link anyone can open with one click. No download, no "open with", no local path.
Steps 1 and 2 have no preview because an attachment and a download genuinely don't have one — that absence is the point, not a rendering limit of this page.
Two related tools
What comes out the other end
Six pages published with this tool, exactly as a stranger receives them. These are live — the previews below are the real documents, not screenshots.