commentable<html>

Blog/Guides

Free ways to host a single HTML page in 2026

GitHub Pages, Netlify Drop, Cloudflare Pages, Tiiny Host and friends, compared honestly. Which free option fits depends on whether the page is public or for a specific set of eyes.

July 6, 2026 · 8 min read · by the commentable team

You have one HTML file. You need it on the internet. This should be the easiest problem in computing, and it almost is, except that a dozen services want to solve it for you in slightly different ways and the differences only bite later.

The one question that sorts everything: is this page for everyone or for someone? Public pages want a host. Pages meant for a specific client, team or reviewer want a sharing tool. Here is the landscape, honestly.

The permanent, public hosts

GitHub Pages

Free, reliable, no expiry, straight from a git repository. If the page is code-adjacent and you already use GitHub, this is the default answer. The costs: initial setup (repo, settings, sometimes a DNS wait), a long default URL, and everything is public unless you pay. Updating means pushing a commit, which is either natural or a chore depending on who you are.

Netlify Drop

The gold standard for zero-setup public hosting. Drag a folder onto the page, get a URL. Claim it with a free account and it stays up. Custom domains work on the free tier. If you want a permanent public page and do not care about passwords or feedback, use this and be happy.

Cloudflare Pages

Similar deal with an exceptionally generous free tier and Cloudflare's network speed. Slightly more developer-flavored setup than Netlify. Both are excellent; the differences at single-page scale are cosmetic.

The quick-share tools

Tiiny Host and similar

Upload, get a link, no git anywhere. The convenience is real. The catch across most of this category is the free-tier clock: links commonly die after 7 days, file size caps are tight, and passwords or custom domains live behind the paywall. Nothing wrong with that model, but know it before your portfolio link goes dark mid-job-application.

commentable (ours)

commentableis built for the "for someone" half of the question, so the free tier is shaped differently. Pages are encrypted in your browser before upload, so we cannot read them. Free links live 30 days with an email reminder before expiry, and there is no cap on how many you create. Your logo and colors on the page, free. Password protection, free. And every page accepts pinned comments from viewers, no accounts needed, because in our experience a page shared with a person is usually a page awaiting their opinion. Permanent links and your own domain are the paid tier.

Fair warning about our bias here, but the comparison table below is straight.

The ones that do not work anymore

Google Drive used to render HTML files as web pages. That ended in 2016, and the workarounds die every year or two. Dropbox similarly serves HTML as a download now. If a tutorial tells you to share HTML through cloud storage, check its date.

Side by side

SetupFree link lifespanPasswordPrivateComments
GitHub PagesRepo + pushForeverNoNoNo
Netlify DropDrag & dropForeverPaidNoNo
Cloudflare PagesGit or CLIForeverNoNoNo
Tiiny HostDrag & drop~7 daysPaidPartialNo
commentablePaste or drop30 days (email reminder)FreeEnd-to-end encryptedYes, no login

So, concretely

And whichever you pick, send the link, not the file. Files get downloaded, break offline, and fork into out-of-date copies. Links stay current.

Common questions

Can I host an HTML page for free forever?

Yes. GitHub Pages, Netlify and Cloudflare Pages all host static pages free with no expiry, in exchange for some setup and a public URL. Tools aimed at quick sharing are also free but usually time-limit their free links.

Why did my free hosted page disappear after a week?

Several quick-share hosts delete free pages after 7 days to nudge you onto a paid plan, and some do it without warning. Check the retention policy before you send a link anywhere important. commentable free links live 30 days and you get an email before expiry.

Do I need a domain name to host an HTML page?

No. Every option here gives you a working URL on their domain. A custom domain is a nice upgrade for anything client-facing, and most platforms support one on either free or paid tiers.

What is the difference between hosting a page and sharing a page?

Hosting optimizes for a permanent public URL: uptime, custom domains, caching. Sharing optimizes for a specific audience: privacy, passwords, expiry, feedback. Most frustration comes from using a hosting tool for a sharing job or the reverse.

Try it with your own file

Paste HTML or upload a file and get a private, encrypted link with your logo on it. Free, and nobody needs an account to comment.

Create a link now

Keep reading