Cloudflare Pages vs Netlify vs GitHub Pages: the best free static host
Three free ways to host a static site, compared on bandwidth, builds, file limits and what happens when you go over. One is the clear pick for a growing publication.
For a content site that should stay free as it grows, Cloudflare Pages wins: unlimited bandwidth on the free plan and generous build and file limits. Netlify's free plan now runs on a 300-credit monthly cap that pauses your sites when used up. GitHub Pages is simple but carries a soft 100 GB monthly bandwidth limit and bars commercial use.
- Cloudflare Pages' free plan has no bandwidth cap, allows 500 builds a month and up to 20,000 files per site.
- Netlify's credit-based free plan includes a 300-credit monthly limit; bandwidth costs 20 credits per GB, and every project pauses when the limit is hit.
- GitHub Pages limits published sites to 1 GB with a soft 100 GB/month bandwidth limit and 10 builds an hour.
- GitHub's own docs say Pages isn't meant for running an online business or e-commerce site.
Free static hosting used to be a three-way tie. In 2026 it isn’t. The difference comes down to one question: what happens when people actually show up?
The short comparison
| Cloudflare Pages | Netlify (Free) | GitHub Pages | |
|---|---|---|---|
| Bandwidth | Unlimited | Counts against 300 credits/month (20 credits per GB) | Soft limit of 100 GB/month |
| Builds | 500 per month | 15 credits per production deploy | Soft limit of 10 per hour |
| Site size | 20,000 files, 25 MiB per file | Not the main constraint | 1 GB published site |
| Over the limit | Builds queue until next month | All projects pause until next cycle | Possible throttling or an email from support |
| Commercial use | Allowed | Allowed | Not for online businesses or e-commerce |
Cloudflare Pages
Cloudflare’s free plan is unusually generous where it counts: there’s no bandwidth cap. You get 500 builds a month, up to 20,000 files per site and files up to 25 MiB each. For a text-first publication, those ceilings are far away.
Catch: if you publish many times a day, 500 builds a month is the limit you’ll feel first. Batch your publishing or deploy from your own machine.
Netlify
Netlify moved new accounts to credit-based pricing. The free plan is still free forever, but with a hard 300-credit monthly limit covering deploys, compute, bandwidth and requests. Bandwidth costs 20 credits per GB and each production deploy 15 credits, so a modest site can reach the limit sooner than you’d think.
Catch: when you hit the limit, Netlify pauses your projects until the next billing cycle, and one busy project pauses every project on the account.
GitHub Pages
GitHub Pages is the simplest to start with if your code already lives on GitHub. Published sites can be up to 1 GB, with a soft 100 GB monthly bandwidth limit and a soft limit of 10 builds an hour (lifted if you build with your own GitHub Actions workflow).
Catch: GitHub’s own documentation says Pages isn’t intended for running an online business or e-commerce site. Fine for docs and portfolios; a weaker fit for a publication with ambitions.
Which to choose
- Growing publication or content brand: Cloudflare Pages.
- Quick prototype or client preview: Netlify.
- Docs, open-source project or personal site: GitHub Pages.
Host on Cloudflare Pages. It's the only one of the three whose free plan doesn't put a ceiling on traffic, which is the number that matters most for a publication. Keep Netlify for prototypes and GitHub Pages for docs and personal projects.
Questions people ask
Is Cloudflare Pages really free forever?
The free plan has no time limit. Its caps are on builds (500 a month) and files (20,000 per site), not on visitors or bandwidth.
What happens if a Netlify free site gets too much traffic?
On the credit-based free plan, when usage reaches the monthly limit your projects are paused until the next billing cycle, and if one project goes over, all projects on the account pause.
Can I use a custom domain on all three?
Yes. All three support custom domains with free HTTPS.
Sources
- Cloudflare Pages limits, Cloudflare
- Netlify pricing and plans, Netlify
- GitHub Pages limits, GitHub Docs
Spotted something wrong? We fix errors fast and note every correction. How corrections work or Tell us