← Back to all articles

How to Host a Single HTML File for Free

Host one HTML file for free with Tiiny Host: check the page works as one file, upload it, get an HTTPS link and update it later on the same address.
Elston Baretto
By Elston Baretto · 12 mins read
How to Host a Single HTML File for Free

You’ve finished an HTML page on your laptop, and now someone else needs to open it.

Sending it to a colleague or a class tends to hit the same snags:

  • An emailed .html file has to be downloaded first, then opened in a browser by hand.
  • The address bar shows a file:/// path that only exists on your computer.
  • Pictures and stylesheets saved beside the file get left behind.
  • Hosting tools built for whole websites ask for far more setup than one page needs.
  • Each correction means another attachment, with the older copy still circulating.

Tiiny Host deals with each of these on its free plan:

  • Download and open steps: the page opens from a link, in any browser.
  • A path that works for you alone: the file gets an HTTPS address of its own, such as book-club-picks.tiiny.site.
  • Files left behind: a page that needs its own pictures can go up as one ZIP with them.
  • Setup for a single page: a drag and drop replaces the server and the repository.
  • Old copies in circulation: a corrected file replaces the old one at the same address.

The upload itself takes about a minute.

Based on my experience, a short check of the file beforehand saves most of the follow-up emails.

That check comes right after the quick answer.

Hosting one HTML file on the free plan

Tiiny Host’s free plan takes one HTML file of up to 3 MB and gives it an HTTPS address ending in .tiiny.site.

The whole job is a drag onto the upload box at tiiny.host, followed by a link name of your choosing.

Clicking Publish puts the page live.

Your first publish includes a one-off email check, with a short code sent to the address on the account.

The link has no expiry date, as long as you sign in to your account every three months or sooner.

The HTML file hosting page has the same upload box if you’d like to start there.

Checking that the page works as one file

A single HTML file carries only what’s written inside it.

Before uploading, I open the file in a text editor and look for anything it pulls in from my own computer:

  • Stylesheets: a line such as <link href="style.css" rel="stylesheet"> points to a separate file, and those rules can move into a <style> block in the head.
  • Scripts: <script src="app.js"></script> works the same way, with the code pasted between the script tags.
  • Pictures: src="photo.jpg" needs that photo uploaded too, unless the picture is written into the page as a data URL.
  • Fonts and libraries from a full web address: anything loaded from an https:// link keeps working, because the visitor’s browser fetches it from there.

Data URLs suit icons and small logos.

Encoding a picture that way makes it about a third larger, and big photos use up the free allowance quickly.

A page that needs several pictures of its own is easier to host as a ZIP.

In that case, I’d normally rename the page to index.html and put it in one folder with everything it uses.

The zipped folder then goes onto the upload box like any single file.

A checklist for a single HTML file. Styles inside a style tag, scripts inside script tags, small pictures as data URLs and libraries from https links all travel with the file. A stylesheet, script or photo saved next to it does not, and the page then goes up as a ZIP with index.html at the top.

What travels inside one HTML file, and when the page needs a ZIP.

A last test I always run is copying the HTML file on its own into an empty folder and opening it from there.

With nothing saved beside it, any missing picture or style points to a file the page still needs.

How do I upload one HTML file to Tiiny Host?

  1. Go to tiiny.host, or open your dashboard if you already have an account.
  2. Drag the .html file onto the box that reads Drag & drop zip or single file here.
  3. Type a link name. It becomes the address, for example riverside-quiz.tiiny.site.
  4. Click Publish.
  5. On your first upload, enter the code from the confirmation email.

The Tiiny Host upload box with a link-name field ending in .tiiny.site, a row of upload options with the code icon labelled Paste HTML, a drop area reading Drag & drop zip or single file here, an Upload file button and a Publish button

The upload box, with Paste HTML under the code icon on the right.

Each link name can belong to one project only, so popular words tend to be claimed.

If you see “Sorry, that link name is taken”, adding your name or the year usually gets it through.

Publishing HTML code that isn’t saved as a file

Code copied from an email or a chat window can go online without a file.

In the dashboard, Upload file opens the upload window, and the code icon in its top row is Paste HTML.

Whatever goes in that box is saved as code.html once you click Continue, and the link name comes next.

Pasting a second time gives you a second project at a different address.

On the free plan, that second project goes over the one-project limit and publishes as a one-hour preview.

The tidier route for a later change is saving the new code as an .html file and swapping it in for code.html.

What the free plan covers for one page

The free plan was made for exactly this size of job.

Free plan limit What it means for a single HTML file
1 live project One page or site online at a time
3 MB per project Room for a long page, with photos as the usual thing that fills it
3 uploads a day Creating, updating and replacing a file each count as one
5,000 visits a month Every opening of the link counts, repeat visits included
5 GB bandwidth a month A 1 MB page reaches its limit at about 5,000 visits
Tiiny Host branding bar Shown on free pages until you upgrade

A few kinds of upload publish only as a one-hour preview on the free plan.

The most common is a second project while the first one is still live.

The same happens to a page with a password box, a mock sign-in form for example, and to a page with a script that sends visitors elsewhere.

A project over the size limit, or one containing a video file, goes the same way.

When the hour is up, the preview is deleted.

You’ll want to glance at the dashboard right after publishing to confirm the page went live in full.

Tiiny Host scans uploads for spam and scams, with the tightest rules on the free plan.

Legitimate pages sometimes get caught.

The message “This content can’t be hosted on the free plan” comes with a way to ask the support team for a review.

Corrections go into the same project, so the address you shared keeps working.

  1. On your dashboard, click the pencil icon (Update) next to the project.
  2. Click Update files.
  3. Point at the HTML file and choose Replace file.
  4. Pick the corrected file, then Publish.

For a typo, the browser editor saves a round trip to your code editor.

Under Update, a button labelled Edit with AI, or Edit HTML on some plans, opens the page for direct changes to its text or code.

Solo and higher plans add an AI chat to the editor, for changes described in words.

Every publish counts toward the free plan’s 3 uploads a day, from the editor too.

From the Tiny plan up, Tiiny Host keeps your last 5 versions, and Rollback to selected version restores an earlier one.

Why might the hosted page look different from your copy?

These are the problems I see most often with single-file pages:

  • Missing pictures or styling: the page still points to a file on your computer, and Analyze Site (three-dot menu) lists every broken reference.
  • Broken file names: Analyze Site flags names with spaces or capital letters, and lowercase names with dashes avoid both.
  • An older version showing: the browser kept a saved copy, which a private window skips.
  • Submit buttons with no effect: nothing on a static page receives the entries, though Tiiny Host’s help center shows how to connect a free form service.
  • A link that stopped after an hour: the page hit one of the free plan’s preview rules covered above.

Settings to check once the page is live

These settings cover most of the polish a shared link needs:

  • How the link looks in a chat: Update, then Customize project, then Advanced Settings is where the preview image and the short description are set.
  • QR code: from the Tiny plan up, View QR code in the three-dot menu gives you an image to print.
  • Embedding: Embed this link in the same menu gives iframe code for another website, on every plan.
  • Search engines: Hide from Search Engines asks Google and others to leave the page out, on Tiny and above.
  • Privacy: Password protect, on Solo and above, puts a password screen in front of the page.
  • Your own address: a custom domain on Solo replaces the .tiiny.site ending.

When one page outgrows the free plan

Most single pages never need more than the free plan.

These are the moments I’d look at upgrading, each with the cheapest plan that covers it, in US dollars from the help center’s pricing and plan limits articles:

You want to Cheapest plan Billed yearly Billed monthly
Remove the Tiiny Host bar Tiny $60 ($5 a month) $9
Print a QR code for a poster Tiny $60 ($5 a month) $9
Keep the page out of Google Tiny $60 ($5 a month) $9
Put the page behind a password Solo $156 ($13 a month) $18
Move the page onto your own domain Solo $156 ($13 a month) $18
Play a video inside the page Pro $372 ($31 a month) $38

Tiny also raises the size limit to 25 MB per project and the visits to 10,000 a month.

Every paid plan removes the cap of 3 uploads a day.

Checkout can show a local price outside the US, and that figure is the one you pay.

Upgrades come with 7 days to change your mind, with the refund requested through a short form.

An approved refund also closes the account and deletes its projects, so download the page first if you want to keep it.

For one page shared with a handful of people, I’d stay on the free plan until the branding bar or a password becomes a must.

Single HTML file FAQs

Does the file need to be called index.html?

The help center recommends saving a single page as index.html before uploading.

In a ZIP holding several HTML files and no index.html, Tiiny Host asks you which one opens first.

Can I download the HTML file again later?

Yes, the project’s three-dot menu at tiiny.host/manage has a Download option.

It’s ideal to take a copy before deleting a project, because one that has spent 3 days in the Trash can’t be restored from the dashboard.

Can JavaScript run in a hosted HTML file?

Yes, JavaScript in the page runs in the visitor’s browser like on any website.

Code that needs a server, such as a PHP or Python script, runs as an app on any paid plan, at an address ending in .tiiny.io.

How do I get rid of the .html ending in a page’s address?

Rename the page to index.html and put it in a folder named after the page, for example info/index.html.

After you zip the site and update the project, the page opens at /info.

Why did I get a limit warning long before 5,000 visits?

Bandwidth is the likelier cause.

Each visit sends the whole page, so a 3 MB page uses up the free plan’s 5 GB after roughly 1,700 visits.

According to the help center’s plan limits article, compressing the images usually halves a project’s size with no visible difference.

Will Google list a hosted HTML file?

A public page can be listed, though new sites often take weeks to appear and nothing guarantees a ranking.

A clear page title and real text on the page help.

Google Search Console lets you submit the address.

Yes, under Update, then Customize project, where the link name is the first field.

The old address stops working the moment you publish the change, printed QR codes included.

I’d only rename a page before the link has gone out to anyone.

tiiny.host

Get your website live within minutes using Tiiny Host.

Try it for free

Join over 345,323 links published this year

Drag, drop, and get a live link. No code, no setup, no waiting.

link-name .tiiny.site
  • Documents
  • Images
  • Code
  • Paste HTML
  • More

Drag & drop zip or
single file here