Guides

Updated

Host an HTML file for free, and what each way does at the other end

By

You have an .html file, and someone else should see it working. A static host puts it at a link for free. Below: the one thing to do first, five free hosts and their limits, and what email or Drive does instead.

See it work

Paste, get a link, open it. About ten seconds, with no account.
  1. Solta's box with a bakery's price list pasted in as HTML, and the Get a link button.
    1Paste the page
  2. The card Solta shows after publishing: E pronto., the site's link at aurora-bakery.solta.site, and buttons to copy and open it.
    2Get the link
  3. The bakery's price list open on a phone at aurora-bakery.solta.site, with today's prices and an order button.
    3Anyone can open it

First, name it index.html

A host opens index.html when someone visits the bare address, the way a book opens at its first page. Name your main page index.html, all in lower case. If it has images, a stylesheet or other pages, keep them in one folder beside it, and upload the folder. A file called My Page.html on its own may still work, but the link then has to end in its name, and a space in a name causes trouble.

To check it before you send it, open the file in the HTML viewer and see it at desktop and phone width.

Five free hosts and their limits

What each one says on its own pages, read on 13 October 2026:

HostHow you startWhat free gives youThe catch
Netlify DropDrop a folder or zip, no accountA free plan with 300 credits, and your own domain with SSLUntil you sign up and claim it, the site sits behind a temporary password. Drops under 50 MB work best.
GitHub PagesA GitHub account and a public repositorySites up to 1 GB, and your own domainA soft limit of 100 GB of traffic a month, and not for running an online business or a store
Static.appSign up for the trial, no cardA 7-day trial: 1 website, 50 MBNo free plan: after 7 days the site needs a paid one
tiiny.hostUpload an HTML file or a zip1 live site, uploads up to 3 MB, 5,000 visits a monthA tiiny.host banner, and you log in once every three months to keep it online
Solta FreePaste or drop it, no account2 live sites, files up to 10 MB, folders up to 10 MB, 100 MB in all; public, unlisted or private, and a password on 1 siteA small Solta badge, the last 3 versions kept, and your own domain only on a paid plan

More side by side: eight tiiny.host alternatives, Solta compared with one service at a time and how to host your own website. To put one online now: free HTML hosting.

The other ways to send it, and what they do

A host isn't the only way to send an HTML file. Here is what each usual way gives the person at the other end.

Attach it to an email

What they get
A file to download and open from their own disk. On a computer it opens in the browser at a file:/// address, where some of what a page does is blocked. On a phone it depends on the mail app, and it often doesn't open as a working page. Anything the page loads from beside it, such as images, a stylesheet or a CSV, is missing unless it is built into the file.
After a change
You send a new file. The old one stays in their inbox, and in every inbox it was forwarded to.
Use it for
A page that is one self-contained file, for one person, once.

Share it from Google Drive, Dropbox or OneDrive

What they get
The storage service's own preview of the file, which for HTML usually means the code as text or a download button, not the page running. These services share files, not pages. Google stopped serving web pages from Drive in 2016.
After a change
Replacing the file can keep the same link, but what they get is still a file.
Use it for
Handing over the file itself, to someone who will open it on their own computer.

Upload it to a static host

What they get
A working page at an https address. GitHub Pages, Cloudflare Pages, Netlify and tiiny.host serve your files as they are, so the page runs. On most of them the link opens for anyone who has it, and a public page can turn up in search results. A password, where a host offers one, is often on a paid plan: what a password on a page really protects.
What you do
It varies. Some want an account and a project first. Netlify Drop takes a folder or a zip with no account, and a site dropped while you are signed out sits behind a temporary password until you claim it by signing up, according to Netlify's own guide, read on 13 October 2026.
After a change
You upload again, and on most hosts the same address shows the new version straight away.
Use it for
A page meant for everyone, or a site you will keep building and updating yourself. A React file is different: served as it is, it shows a blank page, so it needs building into a page first.

Paste it into Solta

What you do
Paste the HTML into the box at the foot of this page, up to 10 MB, or drop the folder or a zip, up to 10 MB on Free and more on a paid plan. No account is needed to start: the site stays up for 24 hours, and if you sign in to keep it, the address stays the same. A React file from Claude or ChatGPT works too, and so does a PDF on its own, which opens in Solta's viewer: PDF to link.
What they get
The page running at its own address, with no account needed to open it. You choose who can: public, unlisted or private on every plan, a password on every plan (1 site at a time on Free and 5 on Plus), and named people who verify their email once on Pro and Team.
After a change
It waits as a draft, and the link keeps showing what it showed until you publish the change. Earlier versions keep their own addresses.
Before it goes up
Solta scans the file and refuses one with an API key or a password written in it, because anyone who opens the page could read it.
Use it for
Sending a page to particular people, and pages that will change after you have sent the link.

Try it with your own file

No account needed to start. Paste it or drop it, then sign in to keep it.

Or publish it from the chat

Add Solta to Claude or ChatGPT once, then ask in any conversation to publish what it built. The link comes back in the chat.