stacktr.ee
Free. No account.

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.

or
Who can open it
Visitors type it to open the page. Change it if you like.

No account. The page lasts 24 hours unless you keep it. Up to 10 MB, 20 pages a day from one network, and no pages that ask for passwords or payment details for another site.

How to host an HTML file for free

  1. 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.
  2. Press Publish private link. The page is hosted at its own https link in about a second.
  3. 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:

HostWhat 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 HostOne small project of 3 MB, with a Tiiny banner. Password protection starts on the Solo plan.
GitHub PagesFree for public repositories. The site is public: private Pages needs Enterprise Cloud.
Cloudflare PagesFree static hosting. Public by default, and Cloudflare Access can gate it.
Netlify DropDrag 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.

FAQ

Frequent questions

How do I host a free HTML website? +
Drop the .html file, or a zip of the site folder, in the box on this page and press Publish private link. It is hosted at its own https link in about a second, with no account, no card and no server to set up. The page stays up for 24 hours, and a free account keeps it longer.
Where can I host an HTML file for free? +
It depends on who should see it. For a public site, GitHub Pages, Cloudflare Pages and Netlify are free. For a page that only the people you send it to should open, this page hosts a file free with no account, at an unguessable link with a passcode, and a free account keeps 3 pages.
Is this HTML hosting really free? +
Yes. With no account a page costs nothing, lasts 24 hours and can be up to 10 MB. A free account holds 3 pages of up to 25 MB each, with no card. What you pay for is permanence: Solo, at $19 a month, keeps 25 pages live with no expiry and adds one custom domain.
How long does free HTML hosting last? +
24 hours with no account. Kept in a free account, a page lasts 7 days. Once someone other than you opens it, it stays up for 30 days after their latest visit, up to 90 days in total. On Solo a page never expires, and starting a paid plan clears the expiry on pages you have already published.
Can I host HTML without signing up? +
Yes. The box on this page needs no account, no email address and no card, and you get the link and a passcode right away. An account only comes in if the page should outlast its first 24 hours: keeping it moves it into a free account at the same address, so the link you sent keeps working.
Does free HTML hosting here put ads on my page? +
No ads. A page hosted for free carries a small Made with Stacktree badge at the bottom of the page. There are no banner ads, no pop-ups and no ads from other companies on it. Solo, at $19 a month, takes the badge off every page you publish, and so do the larger plans.
Can I host PHP or a database here? +
No. This is static hosting: HTML, CSS, JavaScript, images and fonts are served as files, and server code such as PHP does not run. A page that does its work in the browser, such as a report, a dashboard or a calculator, is fine. A site that needs a server or a database belongs on an app host.
What is the size limit for a hosted HTML file? +
10 MB for a page published with no account. A free account takes pages of up to 25 MB each, and Solo up to 250 MB. A zipped site counts as one page and can hold up to 1,000 files, so a folder with stylesheets, images and several pages fits inside the same limit.
Is a page hosted here public? +
No, and that is deliberate. It opens for anyone who has the link, and the passcode if you set one, but it is never listed, never indexed by Google and closed to AI crawlers. That suits a page you send to someone. A public website that should rank in search belongs on a public static host.
What can I not publish here? +
Pages that ask for passwords, sign-in codes or payment details on behalf of another site are refused before they go live, and so are pages carrying personal data such as ID numbers. A page can be up to 10 MB, and one network can publish 20 pages a day without an account.
Keep reading

Related

References

Sources and further reading