Best free website hosting options and how to host for free in 2026
You can put a website online in two ways: upload or deploy files to GitHub Pages, Cloudflare Pages,
Netlify, Vercel, Neocities or InfinityFree, or use a builder like Heya, Google Sites or WordPress.com.
Free storage ranges from 1 GB (GitHub Pages, Neocities, WordPress.com) to 5 GB (InfinityFree) and 10 GB
of deployment storage (Vercel). Here is how all 9 compare.
Heya is ours, so read its row with that in mind. Every other number comes from each company's own pages,
checked on October 28, 2026.
The short answer
-
Best for static code Cloudflare Pages and GitHub Pages host static files for free
with custom domain support; Cloudflare allows up to 20,000 files and GitHub allows 1 GB per site.
-
Best for PHP and MySQL InfinityFree gives you 5 GB of disk space, unlimited
bandwidth, PHP 8.4, 400 MySQL databases and no ads on your site for free.
-
Best for building on a phone Heya Free ($0) includes 68 templates and hosts up to 3
small sites at yourname.heya.bio, while Pro Plus ($15/mo) lets you export a ZIP of HTML, styles, fonts
and images.
-
Best for free custom domain Google Sites lets you build with drag-and-drop and
connect up to five custom domains per site without coding.
Free website hosting compared side by side
This table splits platforms that host files you already have from website builders that host the pages
you create.
| Service |
Hosting type |
Free storage or size limit |
Free bandwidth or credit limit |
Custom domain on free plan |
Paid upgrade starts at |
| GitHub Pages |
Static file host (Git) |
1 GB published site limit |
100 GB/month soft limit |
Yes |
Not stated |
| Cloudflare Pages |
Static file host (Git) |
20,000 files (25 MiB max/file) |
500 builds/month |
Yes (up to 100/project) |
Workers Paid from $5/month |
| Netlify |
File and app host (Git/AI/API) |
Not stated |
300 credits/month (20 credits/GB) |
Yes (with SSL) |
$9/month (Personal) |
| Vercel |
File and app host |
10 GB deployment storage |
100 GB Fast Data Transfer/month |
Not stated |
$20/month (Pro) |
| Neocities |
Static file host (browser/upload) |
1 GB storage |
200 GB bandwidth |
Not stated |
$5/month (Supporter) |
| InfinityFree |
PHP and MySQL host + builder |
5 GB disk space |
Unlimited bandwidth |
Yes |
Not stated |
| Heya |
No-code builder (HTML export on Pro Plus) |
3 sites, 5 pages/site, 200 files/site |
Not stated |
No (uses yourname.heya.bio) |
$3/mo (Pro Lite) |
| Google Sites |
No-code drag-and-drop builder |
Not stated |
Not stated |
Supports up to five per site (free plan not stated) |
Not stated |
| WordPress.com |
CMS and site builder |
1 GB storage, unlimited pages |
Not stated |
No (paid plans only) |
$2.75/month billed every 3 years |
Swipe the table sideways to see every column.
Detailed breakdown of the 9 free website hosts
GitHub Pages
Free with GitHub Free (public repos)
GitHub Pages hosts static sites from HTML, CSS and JavaScript in public repositories on GitHub Free.
Published sites can be up to 1 GB with a 100 GB per month soft bandwidth limit. You get a github.io
address or can connect a custom domain with HTTPS.
- Better at
- Static sites in Git that want free custom domains and HTTPS.
- Watch out
- Not allowed for online businesses, e-commerce or commercial SaaS websites.
Cloudflare Pages
Free; Workers Paid from $5/month
Cloudflare Pages connects to GitHub and GitLab on a Free plan that allows 500 builds per month and 1
build at a time. Each Free site holds up to 20,000 files (25 MiB per asset) and supports custom
domains plus a *.pages.dev subdomain.
- Better at
- High-file-count static sites needing up to 20,000 files and custom domains.
- Watch out
- Only 1 concurrent build on Free, and builds timeout after 20 minutes.
Netlify
Free ($0 forever); paid from $9/month
Netlify's Free plan costs $0 forever and deploys from AI, Git or API with custom domains and SSL.
You get 300 credits per month: production deploys cost 15 credits, and bandwidth costs 20 credits
per GB. The Personal plan is $9 per month for 1,000 credits.
- Better at
- Developers deploying from Git, AI or API who want Functions and database storage.
- Watch out
- The 300 monthly credit limit covers at most 20 production deploys or 15 GB of bandwidth.
Vercel
Free (Hobby $0/month); Pro from $20/month
Vercel's Hobby plan is $0 per month for personal projects. You get automatic CI/CD, a global CDN, 1M
CDN requests per month, and 100 GB of Fast Data Transfer per month. Pro plans start at $20 per month
for teams.
- Better at
- Personal web apps needing serverless functions, CI/CD and 100 GB data transfer.
- Watch out
- Hobby is for personal projects with 1 developer seat and retains runtime logs for 1 hour.
Neocities
Free; Supporter $5/month
Neocities hosts static sites for free with 1 GB of storage, 200 GB of bandwidth, SSL, and an ad-free
.neocities.org subdomain. You can edit HTML in your browser. The $5 per month Supporter plan gives
50 GB storage and 3000 GB bandwidth.
- Better at
- Hand-coded static sites that want an in-browser HTML editor and community features.
- Watch out
- Static HTML host only; check Free vs. Supporter comparison for custom domains and SFTP.
InfinityFree
Free forever (no credit card)
InfinityFree gives you 5 GB of disk space, unlimited bandwidth, PHP 8.4, MySQL 8.0, and MariaDB 11.4
with no ads on your site. Upload via FTP, install WordPress through Softaculous, and use your own
domain or 25+ free subdomain extensions.
- Better at
- Running WordPress, PHP apps or MySQL databases for free without site ads.
- Watch out
-
Your site must receive a few hits every month to remain active; ads show in the control panel.
Heya
Free ($0); Pro Lite $3 a month; Pro Standard $6 a month
Heya is our no-code builder for small sites. The Free plan costs $0 with 3 sites, 5 pages per site
at yourname.heya.bio, 68 templates, and 10 block types. Pro Plus at $15 a month lets you download
your site as a ZIP of HTML, styles, fonts, and images.
- Better at
-
Building a small site on a phone with 68 templates, hosted free at yourname.heya.bio or exported
as HTML on Pro Plus ($15/mo).
- Watch out
-
Free sites show a small Made with Heya badge and cap at 5 pages per site; a custom domain
requires Pro Standard at $6 a month.
Google Sites
Pricing details not stated
Google Sites is a drag-and-drop builder with templates and an automatic grid layout. It links with
Google Docs, Sheets, and Presentations and uses the same sharing permissions. You can connect up to
five custom domains after verifying ownership in Google Search Console.
- Better at
- Teams and individuals in Google Workspace who want custom domain mapping.
- Watch out
-
Custom domain URLs must include a subdomain like www, and moving to a Team Drive can break
domains.
WordPress.com
Free; paid from $2.75/month (billed every 3 years)
WordPress.com has a free plan with 1 GB of storage, unlimited pages and posts, SSL, a global CDN,
and a yoursite.wordpress.com subdomain. It shows ads until you upgrade, starting at $2.75 per month
when billed every 3 years or $4 per month billed annually.
- Better at
- Blogs and content sites that want unlimited posts and a path to 60,000+ plugins.
- Watch out
- Free plan puts ads on your site, blocks plugins, and does not allow custom domains.
Two ways to host a website for free: file hosts vs. hosted builders
Free website hosting splits into two categories depending on whether you already have website files.
If you write HTML, CSS, and JavaScript or use a static site generator, file hosts like GitHub Pages,
Cloudflare Pages, Netlify, Vercel, and Neocities take your code and put it online. Need a database and
PHP? InfinityFree lets you upload files over FTP or install WordPress and over 400 scripts through
Softaculous.
If you don't want to touch code or files, builders like Heya, Google Sites, and WordPress.com give you
a visual editor and handle the hosting when you hit publish. Heya bridges both: you can build visually
with 68 templates and host for $0 at yourname.heya.bio, or use Pro Plus at $15 a month to download a
ZIP with an index.html per page, styles, fonts, and images to drop onto any static file host.
How to host a website for free with Heya + a static host
You can start building on Heya in your browser or on a phone without an account, picking from 68
templates or a blank page. Once you sign in with Google, Heya Free publishes up to 3 sites (up to 5
pages per site) at yourname.heya.bio for $0 with HTTPS, sitemap.xml and robots.txt included.
You can build with 68 templates and host on yourname.heya.bio for $0, connect 1 custom domain on Heya
Pro Standard for $6 a month, or download your HTML on Pro Plus for $15 a month. Every plan lets you
download a ZIP with an index.html per page, styles, fonts and images, which you can push to GitHub
Pages, Cloudflare Pages or Netlify, or upload to InfinityFree.
Free custom domains, subdomains and branding compared
Whether you can use your own domain name for $0 depends on the host. GitHub Pages, Netlify, Cloudflare
Pages (up to 100 domains per project), and InfinityFree all let you connect a custom domain for free,
and Google Sites also lets you connect up to five custom domains to a site. Stick with a free
subdomain and your address will look like owner.github.io, *.pages.dev, .neocities.org,
yourname.great-site.net, yourname.rf.gd, yourname.heya.bio, or yoursite.wordpress.com.
Ads and badges vary too. Neocities and InfinityFree never put ads on your actual site, though
InfinityFree shows ads inside its control panel. Heya Free puts a small Made with Heya badge on your
site (which comes off on the $3 a month Pro Lite plan), while WordPress.com shows ads to your visitors
unless you upgrade to a paid plan starting at $2.75 per month billed every 3 years.
Commercial use rules, storage limits and hidden catches
Free plans carry usage rules and technical caps you should check before launching. GitHub Pages
forbids running an online business, e-commerce site, or commercial SaaS website, and Vercel's free
Hobby plan is for personal projects with 1 developer seat. Heya includes templates made for businesses
like plumbers, photographers and restaurants, while InfinityFree has the Site.pro builder for landing
pages to online stores.
For storage and traffic, InfinityFree gives 5 GB of disk space and unlimited bandwidth if your site
gets a few hits every month. Neocities gives 1 GB of storage and 200 GB of bandwidth, GitHub Pages
caps sites at 1 GB and 100 GB of monthly bandwidth, and WordPress.com gives 1 GB of storage.
How we checked
We compared nine free website hosting platforms by separating services that host existing code files
from visual website builders that include hosting, evaluating each on storage, bandwidth, custom
domain rules, and commercial restrictions from their official documentation. The facts come from
developers.cloudflare.com/pages/platform/limits,
cloudflare.com/plans/developer-platform,
docs.github.com/en/pages/getting-started-with-github-pages/github-pages-limits,
docs.github.com/en/pages/getting-started-with-github-pages/what-is-github-pages, workspace.google.com/products/sites,
support.google.com/sites/answer/9068867,
infinityfree.com,
neocities.org,
neocities.org/supporter,
netlify.com/pricing,
vercel.com/pricing,
wordpress.com/pricing,
heya.page/pricing,
heya.page/docs.
Plans change often. If a number here is out of date, email hello@heya.page and we'll fix it.
FAQ
How can I host a website for free with my own custom domain?+
You can connect a custom domain on the free plans of GitHub Pages, Cloudflare Pages, Netlify, and
InfinityFree. On Heya, building with 68 templates and hosting up to 3 sites at yourname.heya.bio
is $0, connecting a custom domain you own starts on Pro Standard at $6 a month, and downloading an
HTML ZIP to upload to a static host is on Pro Plus at $15 a month.
Which free web hosts do not put ads or badges on my website?+
Neocities and InfinityFree never put ads on your hosted site, though InfinityFree shows ads in its
control panel. Heya Free includes a small Made with Heya badge that you can remove for $3 a month
on Pro Lite, and WordPress.com shows ads unless you upgrade starting at $2.75 per month billed
every 3 years.
Can I host a business website on free hosting?+
It depends on the host's terms. GitHub Pages doesn't allow online businesses, e-commerce sites, or
commercial SaaS websites, and Vercel's Hobby plan is strictly for personal projects. For business
sites, Heya includes 68 templates on every plan, lets you embed Calendly for bookings or Google
Maps for directions, and lets you link buttons to a Google Form, Tally form, or checkout page.
Where can I host a PHP and MySQL website or WordPress for free?+
InfinityFree supports PHP 8.4, MySQL 8.0, MariaDB 11.4, and 400 MySQL databases on its free plan,
and it includes the Softaculous installer for WordPress and over 400 other scripts. Or you can use
WordPress.com, which has a managed free plan with 1 GB of storage and unlimited pages and posts on
a yoursite.wordpress.com subdomain.
What is the difference between GitHub Pages, Cloudflare Pages and Netlify?+
All three host static sites from Git repositories for free with custom domains. GitHub Pages caps
sites at 1 GB with a 100 GB per month soft bandwidth limit and forbids commercial sites.
Cloudflare Pages allows 500 builds per month and 20,000 files per site, while Netlify gives you
300 credits per month where a deploy costs 15 credits and a GB of bandwidth costs 20 credits.
What are the limits of Heya's free hosting?+
Heya's $0 Free plan includes up to 3 sites, 5 pages per site, and 200 files per site (up to 20 MB
each) at yourname.heya.bio, with a small Made with Heya badge and Google sign-in required to
publish. Removing the badge and going up to 20 pages per site starts on Pro Lite at $3 a month,
and connecting a custom domain starts on Pro Standard at $6 a month.
Try Heya free
Start building your site on Heya in your browser with 68 templates and no account required, then
publish up to 3 sites for $0 at yourname.heya.bio (or download your HTML files on Pro Plus at $15 a
month).