Platforms

Free Hosting for an HTML Website: Four Options, Their Limits, and How to Upload

You have an HTML file, or a folder of HTML, CSS and images, and you want it online without paying for hosting. Search results for this are mostly the hosts' own landing pages, each one recommending itself. This guide compares four established options side by side: Cloudflare Pages, Netlify, GitHub Pages and Neocities. Every limit comes from the provider's own page, read on 16 November 2026, and we say which ones we have used ourselves.

Free Hosting for an HTML Website: Four Options, Their Limits, and How to Upload

Key takeaways

  • A plain HTML site can be hosted for nothing. Static hosts serve finished files, so there is no server to rent.
  • Drag and drop is enough. Cloudflare Pages and Netlify both accept a folder or zip file dropped into the browser. No code tools needed.
  • Cloudflare Pages gives its Free plan a 20,000-file allowance, with single files capped at 25 MiB. Netlify's Free plan has a limit of 300 credits a month.
  • GitHub Pages is not for business sites. GitHub's own usage rules bar running a shop or a commercial service on it.
  • Neocities is free with 1 GB of storage, but its comparison table lists custom domains only on the $5 a month Supporter plan.
  • The domain name is the one thing you still pay for if you want your own address.

The short answer

For a business or portfolio site made of HTML files, use Cloudflare Pages or Netlify. Both let you drag a folder into the browser and give you a live address in a minute or two, and both let you connect your own domain on the free plan. Use GitHub Pages if the site is a personal project or documentation and you already work with Git. Use Neocities if it is a hobby page and you are happy with a neocities.org address. Whichever you pick, name your home page index.html and keep every file the site needs in one folder.

Disclosure: Amariq is a web design studio, and amariq.com is a static HTML site served from Cloudflare Pages. That is the only one of the four we use day to day. We have not run sites on the other three for this post; their details are from their own pages.

What you find when you search, and what is missing

On 16 November 2026, Google (US, English) showed these for "free website hosting for html": Static.app, EdgeOne Pages, LinkyHost, a Reddit thread in r/HTML, Tiiny Host, Hostmora, Wasmer, Paste.page and Neocities. Almost all are a provider's own sales page. Each says it is free and simple; none compares itself with the others, and it is rarely clear what happens when you want your own domain or run a business on it.

So the missing piece is a neutral table: what each free plan includes, how you get files onto it, and whether a business may use it. We limit it to four providers whose limits pages we could read in full. For the wider picture, including website builders and free WordPress hosts, see our guide to free website hosting.

What "HTML hosting" means

An HTML website is a set of files: pages ending in .html, style sheets, scripts and images. A static host stores those files and sends them to visitors as they are. Nothing runs on a server, so there is no database to maintain and very little to attack. That is why providers can offer it free.

The limits follow from this. You can host pages, images and downloads. You cannot run PHP, WordPress or anything that needs a server program on a static host alone. Forms need a small outside service or a function. Our account of moving amariq.com from Webflow to a static site describes how that works in practice.

The four options side by side

Cloudflare PagesNetlifyGitHub PagesNeocities
Free plan limitsUp to 20,000 files in a site; any one file up to 25 MiB; 500 builds monthly; 100 projects in an account300 credit limit a monthPublished site no larger than 1 GB; bandwidth soft-capped at 100 GB monthly; builds soft-capped at 10 hourly1 GB storage, 200 GB bandwidth
Drag and drop uploadYes: a zip file or a single folderYes: a folder, zip file or single HTML fileNo. Files go into a Git repositoryUploads through its own site editor
Free addressyourname.pages.devA Netlify linkA github.io addressA neocities.org subdomain, with SSL
Own domain on free planYesYes, "custom domains with SSL" is listed under FreeYesNo. Custom domains are listed for Supporter, $5 a month
Business useSee Cloudflare's termsSee Netlify's termsBarred for shops, sites built around transactions, and paid software servicesAimed at personal and creative sites
Source, read 16 Nov 2026Pages limits and Direct Upload docsNetlify pricing page and Netlify DropGitHub Pages limits pageNeocities Supporter page

Notes on the table:

  • Cloudflare Pages. The limits page says sites can contain up to 20,000 files on the Free plan and that the maximum size of a single asset is 25 MiB. Paid plans raise the file count to 100,000.
  • Netlify. Its pricing page describes Free as "$0 forever" with a 300 credit limit a month. Credits are Netlify's unit for usage, so check its documentation for how many a small site uses.
  • GitHub Pages. It is available for public repositories on GitHub Free. Deployments time out after 10 minutes. The limits are described as soft, meaning GitHub may contact you instead of cutting the site off.
  • Neocities. The free tier also has restrictions on which file types you can upload; the Supporter plan removes them.

Which one fits your situation

You haveBest fitWhy
A folder of HTML for a small businessCloudflare Pages or NetlifyDrag and drop, own domain on the free plan
A single HTML page to show someone todayNetlify DropIt accepts one HTML file and gives a link straight away
A large site: several thousand pages, or lots of imagesCloudflare PagesThe 20,000 file allowance is generous. Keep each file under 25 MiB
A personal project already in a Git repositoryGitHub PagesIt publishes from the repository you already have
A hobby or fan page, no domain neededNeocitiesSimple editor, community, free subdomain
An online shopNone of these aloneA shop needs a cart and payments. See our ecommerce platform guide

How to upload your site

Before you start, on any host

  1. Put everything in one folder: pages, CSS, scripts, images.
  2. Name the home page index.html, in lower case.
  3. Use relative links between your own pages and files, such as images/photo.jpg, so they work at any address.
  4. Open index.html on your computer and click through the site to check nothing is broken.

Cloudflare Pages, by drag and drop

Cloudflare's Direct Upload guide gives the path in its dashboard: go to Workers & Pages, select Create application, then Get started, then drag and drop your files, and select Deploy site. Drag and drop takes a zip file or a single folder. The site is served at your project name followed by .pages.dev, or the name plus a few random characters if it is already taken.

One thing to know first. The guide warns that if you choose Direct Upload you cannot switch that project to Git integration later; you would create a new project for that. For a site you update by hand a few times a year, drag and drop is fine. Cloudflare also has a command-line tool, Wrangler, which uploads a folder and is what we use for amariq.com.

Netlify, with Netlify Drop

Netlify Drop is a page where you drop a folder, a zip file or a single HTML file and get a link. Its page says you can keep dragging and dropping updates with no Git required, and that you then claim the project with an account. Custom domains with SSL are listed under the Free plan on Netlify's pricing page.

GitHub Pages

GitHub Pages publishes a site from a repository. You create a public repository, add your files, and switch Pages on in the repository's settings. It suits people who already use Git, or want to learn it. Remember the usage rule above: personal and project sites, not shops or company sites. GitHub's own documentation has the current steps.

Neocities

You sign up, get a neocities.org address, and upload or edit files in the browser. The free tier gives 1 GB of storage and 200 GB of bandwidth.

Connecting your own domain

A free host gives you an address such as yourname.pages.dev. For a business you will want your own domain, which is the one cost that remains. You buy the domain from a registrar, add it in the host's dashboard, and change the DNS records to the values the host shows you. Our guides explain what a domain costs, what DNS records are and how long DNS changes take.

What free static hosting will not do

  • Run server software. No PHP, no WordPress, no database.
  • Give staff an editor. Changes mean editing files and uploading again. If non-technical people need to update the site, a builder or a content system fits better. See our website builder guide.
  • Handle forms by itself. You need a form service or a small function.
  • Send email. Business email is a separate service. See our guide to business email cost.
  • Promise support. Free plans come with documentation and community forums, not a help desk.
  • Stay the same forever. Free plans change. Keep a copy of your files on your own computer, which with a static site you already have.

How Amariq can help

We design and build static sites and publish them on Cloudflare Pages, the same way our own site runs, with forms, redirects and your domain connected. If your site needs an editor for staff, we build on Webflow, Framer, WordPress or Shopify instead and tell you which suits the job. We price each project from its scope; nothing is charged by the hour. Payment is 40% when work starts, 30% when the design is approved and 30% before launch. Once that final payment is in, you own the design, copy and code, and the domain, hosting and analytics sit in accounts under your name. See what we learned moving our own site or talk to us.

Frequently asked questions

Where can I host an HTML website for free?

Cloudflare Pages, Netlify, GitHub Pages and Neocities all host HTML files on a free plan. For a business site, Cloudflare Pages and Netlify are the usual choices because both allow your own domain on the free plan.

Is uploading one HTML file enough to get a site online?

Yes. Netlify Drop accepts a single HTML file, a folder or a zip file. Cloudflare Pages accepts a folder or a zip file by drag and drop. Name the main page index.html.

Can a company use GitHub Pages for free?

It costs nothing, but GitHub's usage rules exclude sites that run a business online, sell things or offer paid software. Keep it for personal projects and documentation.

Can I use my own domain with free HTML hosting?

On Cloudflare Pages, Netlify and GitHub Pages, yes. On Neocities, custom domains are listed only for the Supporter plan at $5 a month. You pay the registrar for the domain itself.

What are the limits of Cloudflare Pages free hosting?

On the Free plan the limits page gives 20,000 files in one site, a 25 MiB cap on any single file, 500 builds monthly and 100 projects in an account.

Can I host a PHP or WordPress site on these?

No. They serve static files only. WordPress needs hosting that runs PHP and a database. Our WordPress hosting cost guide covers that.

Is free hosting good enough for a real business site?

For a small site made of static pages, yes, as long as the provider's terms allow business use and you stay within the limits. Our website hosting cost guide compares it with paid hosting.

Rahat Khondokar, founder of Amariq

Rahat Khondokar

Founder & CEO, Amariq

Rahat designs and builds websites for marketing teams and ecommerce brands, and writes here about the structure, copy and conversion work behind them. More about Amariq. Find him on YouTube, Dribbble and LinkedIn.

Keep reading

Related articles.

All articles