Home / Guides / Preview an HTML file online
You have an .html file (or a snippet) and you just want to see what it looks like — rendered, not as source. Here's the fastest way to preview it online, get a link you can revisit or share, and check it on your phone. About a minute, no signup.
.html file onto the drop zone (or click to pick it). Anonymous files can be up to 2 MB.slug.htmldrop.app URL it hands back. That's your page rendered — exactly how a browser draws it, not the raw markup. The link stays live for 7 days, so revisit or share it anytime.A file in, a rendered preview out. No repository, no build step, no framework — and because it's a real URL, the page renders the same way it would in production.
Opening a local .html file by double-clicking works, but it opens at a file:// path — and that comes with catches. You can't send a file:// link to anyone; it only points at your own machine. Worse, relative asset paths, CDN scripts, and fetch() calls often behave differently (or break entirely) under file:// because the browser applies stricter rules there than on a real site. So the thing you preview locally isn't always the thing your visitors will see.
Pasting the markup into a random online editor has the opposite problem: it renders, but the moment you close the tab it's gone, and there's no stable URL to come back to. A hosted preview avoids both traps — the page renders exactly as a real browser would over https://, the link is shareable, and it works on mobile.
It also matches what a reviewer or teammate actually experiences. When you send someone the slug.htmldrop.app link, they see the same rendered page you do — same fonts loading, same scripts running, same layout — with none of the "works on my machine" surprises that come from previewing off a local path.
Editing as you go? Save your file, drag it back onto htmldrop.app, and open the new URL to see the change rendered. With a free account your drops stay put while you're logged in and the limit rises to 10 MB, so you're not starting over each time. On paid plans from $5/mo you get version history — re-upload as you tweak and compare against any earlier version instead of guessing what changed.
Preview URLs are unguessable by default, so a link you don't share stays effectively private. When you want a hard gate — say you're showing a work-in-progress to one client — add a password on paid plans (from $5/mo) so only people with it can open the preview. Plus and up (from $10/mo) also lets you point your own custom domain at a drop.
Anonymous, free, no signup. Drag in a file and get a real URL you can open, revisit, and share.
Try it freeDrag your .html file onto htmldrop.app and it renders the page at a slug.htmldrop.app URL in seconds — no download, no signup, up to 2 MB anonymously. Open the link to see the rendered preview, and revisit or share the same URL for 7 days.
Yes. htmldrop serves your file over a real https:// URL, so the browser loads it just like any live page. Relative assets, CDN scripts, and fetch() calls behave the way they would in production — unlike a local file:// path, which breaks many of them.
Yes. The preview is a normal URL, so open it on any phone or tablet — no app, no file transfer. Upload from your laptop and open the same slug.htmldrop.app link on your phone to check how the page looks on a small screen.