# Free HTML hosting: host an HTML file, no account · Stacktree

Source: https://stacktr.ee/free-html-hosting

[Skip to content](#main) PFrom Product Hunt? Your first pages are free, no card. Code `PRODUCTHUNT` takes 50% off your first month of Studio.[Start free &rarr;](https://app.stacktr.ee/?join=1&from=producthunt)

&times;   A Stacktree customer sent you. Your first month is 50% off on any plan, taken off at checkout. [Start free &rarr;](https://app.stacktr.ee/?join=1&from=referral)

 &times;      [stacktr.ee](/)   [Examples](/#proof) [Ideas](/ideas) [How we use it](/how-we-use-stacktree) [Pricing](/pricing) [Security](/security) [Log in](https://app.stacktr.ee) [Publish one](https://app.stacktr.ee/?join=1)          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.

    Paste HTMLorChoose a fileWho can open itPasscodePasscode visitors type to open the pageVisitors type it to open the page. Change it if you like.Publish private linkNo 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

  - 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](/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 accountA 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 account3 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 accountUnlimited 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](/best-private-html-hosting).

## 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](/html-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

   -  [ Best private HTML hosting 13 hosts compared, with free plans, prices and where each one wins. ](/best-private-html-hosting)
-  [ HTML to website What turning code into a live page means, for one file or a folder. ](/html-to-website)
-  [ HTML to URL What the link looks like, who can open it, and how long it works. ](/html-to-url)
-  [ Private HTML hosting What private by default means on Stacktree, and how the link works. ](/private-html-hosting)
-  [ Password-protect an HTML page What the passcode does, and the other ways to lock a single page. ](/password-protect-html-page)
-  [ Host Claude HTML The same tool for a page Claude made, with how to get the file out of Claude. ](/host-claude-html)
-  [ Can GitHub Pages be private? Only on Enterprise Cloud, what that costs, and the alternative. ](/github-pages-private-alternative)
-  [ Tiiny Host alternative Drag-and-drop hosting compared with a link that is private by default. ](/tiiny-host-alternative)
-  [ Pricing What each plan holds, and how long pages last on each. ](/pricing)

References

## 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. ](https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_web_server)
-  [ GitHub Docs: GitHub Pages ↗ Free hosting for a public site kept in a repository. ](https://docs.github.com/en/pages)
-  [ Cloudflare Docs: Pages direct upload ↗ Cloudflare's drag-and-drop deploy for a static site, with an account. ](https://developers.cloudflare.com/pages/get-started/direct-upload/)
-  [ Google Search Central: robots meta tag and X-Robots-Tag ↗ How a host tells search engines to leave a page out of their results. ](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag)
       stacktr.ee  [How we use it](/how-we-use-stacktree) [Client project tracker](/client-project-tracker) [Weekly work report](/weekly-work-report) [Tester kit](/tester-kit) [Page video](/page-video) [Ask this page](/ask-this-page) [Client feedback](/client-feedback-loop) [Client spaces](/client-spaces) [Ideas](/ideas) [Templates](/templates) [Use cases](/use-cases) [Integrations](/agents) [Alternatives](/alternatives) [About](/about) [Blog](/blog) [Changelog](/changelog) [Pricing](/pricing) [Security](/security) [FAQ](/faq) [Made with Stacktree](/made-with)  Building with AI agents? See the [developer docs &rarr;](/developers)

---
Full markdown summary of the Stacktree marketing surface: https://stacktr.ee/llms-full.txt
