Free HTML hosting
Drop an HTML file or a zipped site, and it is hosted at a private link in about a second. No account. A passcode is on by default, and it stays up 24 hours unless you keep it, which is free.
How to host an HTML file for free
- Drop the file in the box above. An .html file, a Markdown file, or a zip of a whole site folder. You can paste the code instead.
- Press Publish private link. The page is hosted at its own https link in about a second.
- Send the link. It opens in any browser, with no account for the reader. If you left the passcode on, send it separately from the link.
There is no server to rent, no domain to buy and nothing to install.
What is free, and what is paid
- No account: free. A page lasts 24 hours and can be up to 10 MB.
- Free account: 3 pages, 25 MB each. A page lasts 7 days, or once someone else opens it, 30 days after their latest visit, up to 90 days in total. Free pages carry a small Stacktree badge.
- Solo, $19 a month. 25 pages live at a time that never expire, 250 MB each, one custom domain, and no badge.
The passcode is on every one of these. Full detail is on pricing.
How long a hosted page stays up
A page hosted with no account is up for 24 hours. Before then, Keep it in a free account moves it into an account at the same address, so the link you sent keeps working. From there the clock follows your readers: 7 days to start, then 30 days after the latest visit by someone other than you, up to 90 days in total. Your own visits do not count.
A page that should stay up with no end date is what Solo is for.
Free HTML hosts compared
Free is easy for a public page and harder for a private one. From each host's own pages, as of November 2026:
| Host | What is free, and who can open it |
|---|---|
| This page No account | A page for 24 hours, up to 10 MB, and 20 pages a day from one network. Private: an unguessable link plus a passcode. |
| Stacktree Free account | 3 pages, each live 7 days, and 30 days after a reader's latest visit, up to 90. Private: an unguessable link plus a passcode. |
| host-html Free account | Unlimited pages, each live for 3 days, up to 1 MB a page. The link is public, and a password is on Pro, at $9. |
| Tiiny Host | One small project of 3 MB, with a Tiiny banner. Password protection starts on the Solo plan. |
| GitHub Pages | Free for public repositories. The site is public: private Pages needs Enterprise Cloud. |
| Cloudflare Pages | Free static hosting. Public by default, and Cloudflare Access can gate it. |
| Netlify Drop | Drag a folder, no account needed. A temporary password until you claim the drop, and a lasting one is on Pro. |
If the page should be public and stay up for years, GitHub Pages, Cloudflare Pages and Netlify are built for that and cost nothing. If it is one page for one person or one client, a private link is quicker and keeps the page off the open web. Prices and paid plans for 13 hosts are in the private HTML hosting comparison.
What this hosting is, and what it is not
It is hosting for pages you send to people: a report, a mockup, a one-page site, a class project. The page sits at a private link that opens for anyone you give it to, in any browser, with no account for them.
It is not hosting for a public website. Stacktree keeps every page out of Google and away from AI crawlers on purpose, so a page here never ranks in search and nobody finds it unless you send the link. A public site with a name of its own belongs on GitHub Pages, Netlify or Cloudflare Pages, which are all free for public sites.
It is static hosting too. HTML, CSS, JavaScript, images and fonts are served as files. Server code such as PHP does not run, and there is no database.
What you can host
- One HTML file. A page with its CSS and JavaScript inside the file is the simple case.
- A zipped site. Zip the folder that holds
index.html. Its stylesheets, scripts, images and other pages are hosted together at one link, up to 1,000 files. - A Markdown file. A .md file is turned into a styled page.
Fonts from Google Fonts or Bunny Fonts load on a hosted page, and so do libraries from cdnjs, the Tailwind CDN, or npm packages on jsDelivr and unpkg. Other scripts and images from other sites do not, and the result lists anything on your page that will not load for visitors. To check a file before you host it, open it in the viewer.
Frequent questions
How do I host a free HTML website? +
Where can I host an HTML file for free? +
Is this HTML hosting really free? +
How long does free HTML hosting last? +
Can I host HTML without signing up? +
Does free HTML hosting here put ads on my page? +
Can I host PHP or a database here? +
What is the size limit for a hosted HTML file? +
Is a page hosted here public? +
What can I not publish here? +
Related
- Best private HTML hosting 13 hosts compared, with free plans, prices and where each one wins.
- HTML to website What turning code into a live page means, for one file or a folder.
- HTML to URL What the link looks like, who can open it, and how long it works.
- Private HTML hosting What private by default means on Stacktree, and how the link works.
- Password-protect an HTML page What the passcode does, and the other ways to lock a single page.
- Host Claude HTML The same tool for a page Claude made, with how to get the file out of Claude.
- Can GitHub Pages be private? Only on Enterprise Cloud, what that costs, and the alternative.
- Tiiny Host alternative Drag-and-drop hosting compared with a link that is private by default.
- Pricing What each plan holds, and how long pages last on each.
Sources and further reading
- MDN: What is a web server? ↗ What hosting a file means, and how a static server differs from one that runs code.
- GitHub Docs: GitHub Pages ↗ Free hosting for a public site kept in a repository.
- Cloudflare Docs: Pages direct upload ↗ Cloudflare's drag-and-drop deploy for a static site, with an account.
- Google Search Central: robots meta tag and X-Robots-Tag ↗ How a host tells search engines to leave a page out of their results.