The fastest free way to put one HTML file online is to drag it onto Netlify Drop, but unless you sign up within the hour, the site is deleted. Every free option trades a little setup for permanence. This page walks through four, in order of how quickly you get a link, and says what each one keeps and for how long. One step applies to all of them: name your file index.html, because that is the page a web server shows when someone opens the address.
logo.png, not by a path such as C:\Users\..., which only works on your machine.Open app.netlify.com/drop and drag the folder onto the page. You get a live address ending in netlify.app straight away. Without an account, an unclaimed site is deleted within an hour, so this is for showing someone something now. Sign up and claim it to keep it; it then sits on Netlify's free plan with its monthly credit limit.
Make a free GitHub account and a public repository, upload index.html, then turn on Pages in the repository's settings. The site appears at yourname.github.io or a path under it. Sites can be up to 1 GB with a soft limit of 100 GB of traffic a month. GitHub does not allow Pages to be used as free hosting for an online business or shop, so keep it for personal pages, documentation and projects.
Make a free Cloudflare account, create a Pages project, choose to upload files directly, and drag in the folder. The site gets an address ending in pages.dev, and you can add your own domain. The free plan lists unlimited bandwidth and allows commercial sites, with up to 20,000 files per site and 25 MiB per file. This is the most generous of the four if you are happy to use a dashboard.
ModelBrain Live is our product. Add ModelBrain to ChatGPT, Claude or another AI app as a connector (nothing to install: the setup guide shows each click), paste the HTML or attach the file, and say "publish this". Live puts it online at yourname.modelbrain.app; publishing the same name again updates it. With the ModelBrain app on your computer, Claude can also publish a file straight from a folder: "publish menu.html from my Downloads".
What you get beyond the hosting:
method="post" sends each message to your email and to an inbox, with no form service to set up.The free plan is one site with a small badge, no card and no time limit; business use is allowed. Up to 25 MB per publish.
| Option | Account needed | How long it stays up | Business use |
|---|---|---|---|
| Netlify Drop | No, to start | Deleted within an hour unless claimed | Yes, once claimed |
| GitHub Pages | Yes | Until you remove it | No |
| Cloudflare Pages | Yes | Until you remove it | Yes |
| ModelBrain Live | Yes, an email sign-in | Until you remove it | Yes |
How can I host an HTML file for free? Rename it index.html and upload its folder to Cloudflare Pages or GitHub Pages, both free and permanent. For a link in a minute with no account, drag it onto Netlify Drop, but claim the site within an hour or it is deleted.
Why does my page show without its pictures? The images are probably referred to by a path on your own computer. Put them in the same folder as index.html, refer to them by file name, and upload the whole folder.
Can I host a business page on GitHub Pages? No. GitHub says Pages is not intended for or allowed as free hosting for an online business or e-commerce site. Cloudflare Pages allows commercial sites on its free plan.
Can I make a form on a static HTML page work? Not on its own; something has to receive the message. On ModelBrain Live any form with method="post" emails each message to you. On other hosts you add a form service or a serverless function.
Can Claude publish an HTML file for me? Yes, with ModelBrain Live. Ask Claude on your computer to publish the file or its folder, and it goes online at yourname.modelbrain.app.
Last checked November 21, 2026.