Free tiers on Cloudflare Pages, Vercel, Netlify and others now cover static sites, APIs, and full-stack apps with custom domains, SSL, and global CDN built in. This guide compares the best options and tells you which fits your project.
Free Tier at a Glance
Before the deep dive, here's how these tiers compare on the three things spec sheets usually skip: whether a card is required to start, whether the free tier sleeps or expires, and whether you can pick a region.
| Platform | Credit card to start? | Sleeps / expires (free)? | Choose a region? |
|---|---|---|---|
| Cloudflare Pages | No | No — always on | Auto (global edge, no picker) |
| Vercel | No | No sleep | Auto edge; one function region in settings |
| Netlify | No | No sleep | Auto (global CDN, no picker) |
| GitHub Pages | No | No sleep | Auto (global CDN, no picker) |
| Render | No | Web services sleep after 15 min idle; free Postgres expires after 30 days; background workers are not on the free plan at all | Yes — pick a region at creation |
| Deno Deploy | No | No sleep | Auto (global edge, no picker) |
| Surge.sh | No | No sleep | Auto (global CDN, no picker) |
None of these require a credit card to get started. Only Render's free compute sleeps or expires; the static and edge hosts stay on. Most serve from a global network automatically with no region picker — Render is the exception, letting you choose a region when you create a service (check the provider's current docs for the exact region list).
The Best Free Hosting Platforms
1. Cloudflare Pages — Best Overall
Cloudflare Pages has the most generous free tier available.
- Bandwidth: Unlimited (static assets)
- Build minutes: 500/month, 1 concurrent build
- Sites: Unlimited projects
- Workers: 100K requests/day (serverless functions)
- Custom domains: Yes, free SSL
- Commercial use: Allowed
Best for: Static sites, JAMstack, anything needing unlimited bandwidth. Deploy: Connect a GitHub/GitLab repo, or run npx wrangler pages deploy ./dist.
2. Vercel — Best for Next.js
Vercel is built by the Next.js team for seamless deploys.
- Data transfer: 100 GB/month
- Builds: no minute quota — Hobby meters compute as 4 Active CPU-hours and 360 GB-hours of memory per month
- Serverless: 1M invocations/month included
- Custom domains: Yes, free SSL
- Commercial use: No — Hobby plan is non-commercial only
Best for: Next.js apps, React projects, portfolios. Deploy: npx vercel or connect GitHub. Catch: The free Hobby plan is strictly non-commercial; monetized sites need Pro ($20/month).
3. Netlify — Best for Beginners
Netlify supports drag-and-drop deploys.
- Everything: 300 credits/month, one pool covering deploys, bandwidth, compute and requests — no separate bandwidth or build-minute quota any more
- Credits do not roll over — an unused month is gone
- Bandwidth cost: 20 credits/GB, so the whole pool spent on traffic is about 15 GB
- Forms: 100 submissions/month (built-in)
- Custom domains: Yes, free SSL
- Commercial use: Allowed
Best for: Static sites, blogs, docs, landing pages — great if you're new. Deploy: Drag your build folder into the dashboard, or connect Git.
4. GitHub Pages — Best for Docs & Portfolios
GitHub Pages is free static hosting built into every repo.
- Bandwidth: 100 GB/month (soft limit)
- Storage: 1 GB per repo
- Sites: 1 per account + 1 per repo
- Custom domains: Yes, free SSL
- Build: Jekyll built-in, or any generator via GitHub Actions
Best for: Documentation, developer portfolios, simple static sites. Deploy: Push to a gh-pages branch or set it in Settings → Pages. Catch: Static only — no server-side or serverless code.
5. Render — Best Free Backend
Render is the best free option for backend services.
- Static sites: Free, unlimited
- Web services: 750 hours/month free
- PostgreSQL: Free for 30 days, then paid
- Custom domains: Yes, free SSL
- Languages: Node.js, Python, Go, Rust, Ruby, Docker
Best for: API backends, full-stack apps, microservices. Catch: Free web services spin down after 15 minutes idle and take about a minute to wake; free PostgreSQL expires after 30 days.
6. Deno Deploy — Best for Edge
Deno Deploy runs JS/TS on the global edge.
- Requests: 1M/month
- Bandwidth: 100 GB/month
- KV storage: 1 GB free
- Custom domains: Yes, free SSL
Best for: Edge APIs, lightweight functions, Deno/Fresh projects.
7. Surge.sh — Fastest Deploy
Surge deploys static sites in one command.
npm install -g surge
surge ./dist
- Bandwidth: Unlimited
- Projects: Unlimited
- Custom domains: Yes, but no SSL on custom domains (free tier)
Best for: Quick prototypes, demos, testing.
Comparison Table
| Platform | Bandwidth | Build Min | Serverless | Custom Domain | Commercial |
|---|---|---|---|---|---|
| Cloudflare Pages | Unlimited | 500 | 100K req/day | Yes + SSL | Yes |
| Vercel | 100 GB | No quota — CPU-metered | 1M/month | Yes + SSL | No |
| Netlify | 300 credits/month covering both | 125K/month | Yes + SSL | Yes | |
| GitHub Pages | 100 GB | via Actions | None | Yes + SSL | Yes |
| Render | 5 GB (then $0.15/GB) | 500 | 750 hrs/mo | Yes + SSL | Yes |
| Deno Deploy | 100 GB | N/A | 1M req/mo | Yes + SSL | Yes |
| Surge.sh | Unlimited | N/A | None | Yes (no SSL) | Yes |
Which Platform Should You Use?
| Your Project | Best Platform | Why |
|---|---|---|
| Static blog / landing page | Cloudflare Pages | Unlimited bandwidth, commercial allowed |
| Next.js app (personal) | Vercel | Built for Next.js, best DX |
| Next.js app (commercial) | Cloudflare Pages | Vercel free tier is non-commercial |
| First website ever | Netlify | Drag-and-drop, beginner-friendly |
| Project docs / portfolio | GitHub Pages | Free, integrated with Git |
| API backend / full-stack | Render | Backend languages + databases |
| Edge functions / Deno | Deno Deploy | 1M free requests, global edge |
| Quick prototype / demo | Surge.sh | One-command deploy |
No Longer Free — Watch Out
- Fly.io — trial is only 2 VM hours or 7 days, then paid
- Heroku — removed its free tier in 2022; starts at $5/month
Railway is often listed here and should not be. Its Free plan is $0/month and includes $1 of usage credit every month, plus a one-time $5 credit for the first 30 days. The catch is the size of that allowance rather than its existence: at roughly $10 per GB-month, a single always-on 256 MB database already costs about $2.50/month and overruns it. Fine for something that idles or runs briefly; not a home for a database that never sleeps. The arithmetic is in our Railway review.
Deploy Your First Site (Cloudflare Pages)
- Sign up at dash.cloudflare.com (free)
- Go to Workers & Pages → Create
- Connect your GitHub repository
- Select your framework (React, Vue, Astro, etc.) — build settings auto-detect
- Click Deploy
Your site goes live on a .pages.dev subdomain with free SSL. Add a custom domain anytime in settings.
Frequently Asked Questions
What is the best free hosting platform in 2026?
Cloudflare Pages for most projects — it's the only major free tier with unlimited bandwidth and no commercial restrictions. Use Vercel for personal Next.js and Render when you need a backend or database.
Can I host a commercial site for free?
Yes, on Cloudflare Pages, Netlify, GitHub Pages, Render, Deno Deploy and Surge. Avoid Vercel's free Hobby plan — it's strictly non-commercial, so a monetized site needs the $20/month Pro plan.
Which free host supports backends and databases?
Render — 750 free web-service hours/month across Node.js, Python, Go, Rust, Ruby and Docker, plus a 30-day free PostgreSQL. Note that free web services spin down after 15 minutes idle, and Render says the next request takes about a minute to wake them. Background workers are a separate service type and are not covered by the free plan at all, so a persistent queue worker starts at $7/month.
Do free tiers include custom domains and SSL?
Every platform here supports custom domains with free SSL, except Surge.sh, which serves SSL only on its own subdomains, not custom domains, on the free tier.
Final Thoughts
There's no reason to pay for hosting when starting out. Cloudflare Pages (unlimited bandwidth), Vercel (Next.js), Netlify (beginner-friendly), and Render (backends) cover almost any project for free. If unsure, start with Cloudflare Pages — the most generous tier with no commercial limits — and upgrade or migrate as you grow.