Best Free Hosting for Your First Project in 2027: Cloudflare Pages, Vercel, GitHub Pages

A successful website deployment interface showing build and deploy completed

Best Free Hosting for Your First Project in 2027: Cloudflare Pages, Vercel, GitHub Pages

Your first project is done. Now it needs a home on the internet — a link you can send to friends, put on your resume, or open on your phone. The good news is that you do not need to pay anything. Three of the biggest hosting platforms will put a static site online for free, with HTTPS and a global network included.

The bad news is that “free” means something different on each of them. One caps your bandwidth, one bans commercial use, and one limits how big your site can be. Pick the wrong host and you will find out about the limit at the worst moment — the day your project gets shared.

This guide compares Cloudflare Pages, Vercel and GitHub Pages on their documented free-plan limits, then shows you how to deploy on each one. Prices checked: December 2026.

Table of Contents (19)
  1. What "free hosting" actually means
  2. The three hosts at a glance
  3. Cloudflare Pages: the generous one
  4. Vercel Hobby: the framework specialist
  5. GitHub Pages: the simplest one
  6. Which host fits which project
  7. How to deploy on Cloudflare Pages
  8. How to deploy on Vercel
  9. How to deploy on GitHub Pages
  10. The catches nobody mentions on the homepage
  11. The bottom line
  12. FAQ
  13. Is free hosting really free, or is there a hidden charge?
  14. Can I use my own domain name on a free plan?
  15. Which free host is best for a Next.js app?
  16. What happens if my site gets too much traffic?
  17. Can I host a site with a database on these free plans?
  18. Do I need Git to deploy?
  19. Sources

What “free hosting” actually means

All three hosts in this guide serve static sites: HTML, CSS and JavaScript files, with no server of your own running. That covers portfolios, blogs, documentation, landing pages, small web apps and the to-do app from our vibe-coding guide.

None of them will run a traditional server for free — no always-on Node.js app, no database server, no PHP. If your project needs a database or user logins, you add those as separate services. For a first project, static hosting is the right starting point: it is fast, it is hard to break, and it costs nothing.

The three hosts at a glance

Cloudflare PagesVercel HobbyGitHub Pages
Price$0$0$0
BandwidthUnlimited (static)100 GB/month100 GB/month (soft limit)
Builds500/month100 deployments/day10/hour (soft limit)
Custom domainYes, freeYes, freeYes, free
HTTPSYes, freeYes, freeYes, free
Commercial useAllowedPersonal onlyNot allowed
Serverless functionsYes (100,000/day)Yes (1M/month)No
Best forMost first projectsNext.js and frameworksDocs and portfolios

Cloudflare Pages: the generous one

Cloudflare Pages is the most generous free plan of the three, and it is the default recommendation for most first projects. Prices checked: December 2026.

Static asset requests and bandwidth are unlimited on the free plan. Your site can go viral and Cloudflare does not charge per gigabyte — that is the limit that surprises people on other hosts, and it simply does not exist here.

The documented free-plan limits are:

  • 500 builds per month, one build at a time, each with a 20-minute timeout.
  • 20,000 files per site, with a maximum of 25 MiB per file.
  • 100 custom domains per project and 100 projects per account.
  • Unlimited preview deployments, though only the 100 most recent deployments plus the live one are kept for good.

If you add dynamic code through Pages Functions, that code runs as a Cloudflare Worker, and the Workers free plan applies: 100,000 requests a day, 10 ms of CPU time per request, and 50 subrequests per invocation. A purely static site never touches that limit.

Commercial use is allowed on the free plan, so the same host can carry a portfolio today and a small client site tomorrow. The paid plan, Pro at $20 a month, raises builds to 5,000 a month and concurrent builds to 5.

The limit to watch is the build count. 500 builds a month is about 16 a day, which is generous for one project but thin if you have several projects under one account with a preview build on every pull request. Turn off automatic preview builds for minor branches if the number starts to climb.

Vercel Hobby: the framework specialist

Vercel is the company behind Next.js, and its Hobby plan is the smoothest free host if you build with modern frameworks. It is also the most restricted. Prices checked: December 2026.

The Hobby plan includes, each month:

  • 100 GB of Fast Data Transfer and 1,000,000 CDN requests.
  • 1,000,000 function invocations, 4 hours of active CPU and 360 GB-hours of function memory.
  • 100 deployments a day, one concurrent build, and a 45-minute build timeout.
  • 200 projects, 50 domains per project, and 5,000 image transformations.

Two rules matter more than the numbers. First, Hobby is for personal, non-commercial projects only. Ads, payments, affiliate sites, being paid to build or host the site, and even Google AdSense all count as commercial. Once anyone makes money from the project, Vercel expects it on Pro at $20 per developer seat a month. Second, you cannot buy more usage on Hobby. When a project passes a limit, in most cases you wait about 30 days before that feature works again.

Hobby also allows only one developer seat. The moment a second person needs to deploy, the project moves to Pro.

So why pick Vercel at all? Because for a Next.js or other framework project, nothing else deploys as smoothly: connect your Git repository, and every push becomes a live preview link with a unique URL. If your project is personal and framework-based, Hobby is excellent. If it might earn money, start on Cloudflare Pages instead.

GitHub Pages: the simplest one

GitHub Pages turns a GitHub repository into a website. It is the oldest and simplest host in this guide, and the right choice when your project already lives on GitHub. Prices checked: December 2026.

The limits come straight from GitHub’s documentation:

  • Published sites may be no larger than 1 GB. Source repositories have a recommended limit of 1 GB.
  • Soft bandwidth limit of 100 GB per month. Soft means GitHub does not bill you; it may throttle the site or email you suggesting alternatives if you go over it consistently.
  • Soft limit of 10 builds per hour. This does not apply if you build and publish with a custom GitHub Actions workflow.
  • Deployments time out after 10 minutes.
  • One user or organisation site per account, plus unlimited project sites.

Pages is free for public repositories on GitHub Free. To publish from a private repository you need a paid GitHub plan, starting at $4 per user a month for Pro — though the published site itself is still public. Custom domains and HTTPS cost nothing. There is no server-side code at all: Pages serves static files only, and GitHub’s terms do not allow commercial or e-commerce use.

For documentation, open-source project sites, portfolios and blogs, GitHub Pages is hard to beat: the site sits next to its source code, every push can rebuild it, and there is nothing to configure beyond a settings page.

Which host fits which project

  • Portfolio, blog or landing page: Cloudflare Pages. Unlimited bandwidth means a viral post costs nothing, and commercial use is allowed if the site later earns money.
  • Next.js, React or another framework app: Vercel Hobby, if the project is personal. The Git integration and preview links are the best in this guide.
  • Documentation or an open-source project site: GitHub Pages. It is already where your code lives, and the setup takes minutes.
  • A small app with a contact form or an API route: Cloudflare Pages with Functions, inside the 100,000 free requests a day. Vercel Hobby can do it too, inside its 1 million monthly invocations, but remember the non-commercial rule.
  • A site that might make money one day: Cloudflare Pages. It is the only free plan here that allows commercial use without an upgrade.

How to deploy on Cloudflare Pages

The steps below are documented steps, verified from Cloudflare’s official documentation. They were not run hands-on on this machine.

From Git (recommended):

  1. Push your project to a GitHub or GitLab repository.
  2. In the Cloudflare dashboard, go to Workers & Pages, then Create, then Pages, then Connect to Git.
  3. Pick the repository and the branch to deploy.
  4. Choose your framework preset (or “None” for plain HTML), set the build command and output folder if the preset asks, then Save and Deploy.
  5. Cloudflare gives you a your-project.pages.dev link. Every push to the branch rebuilds and redeploys automatically.

From your computer with Wrangler:

  1. Install Wrangler, Cloudflare’s command-line tool, with npm install -g wrangler.
  2. Build your site into a folder, for example dist.
  3. Run npx wrangler pages deploy ./dist and follow the login prompt.
  4. To add a custom domain, open the project in the dashboard, go to Custom domains, and add your domain. Cloudflare handles the HTTPS certificate for free.

How to deploy on Vercel

The steps below are documented steps, verified from Vercel’s official documentation. They were not run hands-on on this machine.

From Git (recommended):

  1. Push your project to GitHub, GitLab or Bitbucket.
  2. Go to vercel.com/new and Import the repository.
  3. Vercel detects the framework automatically. Check the build settings, then Deploy.
  4. You get a your-project.vercel.app link, plus a unique preview link for every later push.

From your computer with the CLI:

  1. Install the CLI with npm i -g vercel.
  2. In your project folder, run vercel and answer the setup questions. The first deploy asks which account and project to use.
  3. Later deploys are just vercel again, or vercel --prod for the production link.
  4. Add a custom domain in the project dashboard under Settings, then Domains. Vercel issues the HTTPS certificate automatically.

How to deploy on GitHub Pages

The steps below are documented steps, verified from GitHub’s official documentation. They were not run hands-on on this machine.

From a branch (simplest):

  1. Push your site files to a GitHub repository. The site must be in the repository — a single index.html at the root is enough.
  2. Open the repository on GitHub, go to Settings, then Pages.
  3. Under Build and deployment, set Source to “Deploy from a branch”.
  4. Pick the branch (usually main) and the folder (/ (root) or /docs), then Save.
  5. Your site goes live at https://your-username.github.io/repository-name/. A user site from a repository named your-username.github.io goes live at https://your-username.github.io/.

From GitHub Actions (for built sites):

  1. In the same Pages settings page, set Source to “GitHub Actions”.
  2. Add a workflow file that builds your site and uploads the result with the official Pages actions.
  3. Every push to the main branch rebuilds and publishes the site. The 10-builds-per-hour soft limit does not apply to custom Actions workflows.

Custom domain: in the Pages settings page, type your domain in the Custom domain box and save. Add the DNS records GitHub shows you at your domain provider, and tick “Enforce HTTPS” once the certificate is ready.

The catches nobody mentions on the homepage

Bandwidth is the real bill. Vercel Hobby and GitHub Pages both sit around 100 GB a month. That sounds like a lot until a post goes viral with heavy images. Cloudflare Pages is the only one of the three with unlimited static bandwidth.

Free does not mean forever. Vercel Hobby stops the feature for about 30 days when you pass a limit. GitHub Pages throttles instead of billing. Neither sends you a surprise invoice, which is good — but a dead site during a launch week is its own kind of bill.

Custom domains are free, domain names are not. All three hosts give you HTTPS and let you connect your own domain at no charge. The domain itself still costs a yearly registration fee at a registrar.

Your code is visible on GitHub Pages. The free plan needs a public repository, so anything you commit — including a password you accidentally saved — is visible to the world. Never commit secrets. Use environment variables or a backend service for anything private.

The bottom line

For a first project, start with Cloudflare Pages unless you have a specific reason not to. Its unlimited bandwidth and permission for commercial use mean you will not outgrow it by accident, and the deploy flow is simple. Use Vercel Hobby when you build with Next.js and the project is personal. Use GitHub Pages when your project already lives on GitHub and you want the shortest path from repository to live site.

Whichever you pick, the important step is the same: deploy early, share the link, and keep improving. A project on the internet teaches you more in a week than a project sitting in a folder teaches you in a year.

FAQ

Is free hosting really free, or is there a hidden charge?

All three hosts are genuinely $0 for the limits in this guide — no card required. The cost appears only when you pass a limit or upgrade: Vercel Hobby cannot be topped up, so you wait or move to Pro at $20 a seat; Cloudflare Pro is $20 a month; GitHub Pages has no paid tier to buy.

Can I use my own domain name on a free plan?

Yes, on all three. Custom domains and HTTPS certificates are free on Cloudflare Pages, Vercel Hobby and GitHub Pages. You still pay the yearly domain registration fee to a registrar.

Which free host is best for a Next.js app?

Vercel Hobby, because Vercel builds Next.js and the Git integration gives you a preview link for every push. Just remember Hobby is personal, non-commercial use only — a shop or a client site needs Pro.

What happens if my site gets too much traffic?

On Cloudflare Pages, nothing — static bandwidth is unlimited. On Vercel Hobby, the feature that went over the limit usually stays off for about 30 days. On GitHub Pages, the 100 GB bandwidth limit is soft: GitHub may throttle the site or email you, but does not bill you.

Can I host a site with a database on these free plans?

Not directly. All three serve static files. You can add dynamic features with Cloudflare Pages Functions (100,000 requests a day free) or Vercel Functions (1 million invocations a month), and connect them to a free database service. GitHub Pages has no server-side code at all.

Do I need Git to deploy?

Not strictly — Cloudflare Pages and Vercel both accept direct uploads and CLI deploys. But Git is the normal path on all three: push your code, and the host builds and publishes it automatically. Learning basic Git is worth the hour it takes.

Sources

  • Cloudflare Pages limits documentation: https://developers.cloudflare.com/pages/configuration/limits/
  • Cloudflare Workers pricing (Functions limits): https://developers.cloudflare.com/workers/platform/pricing/
  • Cloudflare Pages get started (Git and direct uploads): https://developers.cloudflare.com/pages/get-started/
  • Vercel Hobby plan documentation: https://vercel.com/docs/plans/hobby
  • Vercel fair use guidelines (non-commercial rule): https://vercel.com/docs/fair-use
  • Vercel CLI deployment documentation: https://vercel.com/docs/cli
  • GitHub Pages limits documentation: https://docs.github.com/en/pages/getting-started-with-github-pages/github-pages-limits
  • GitHub Pages quickstart: https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site
  • Cloudflare Pages free tier limits compared (verified August 2026): https://dev.to/david_viejo_4d48fdfa7cfff/cloudflare-pages-free-tier-limits-pricing-2026-1f8f
  • Vercel Hobby plan limits read from official docs (October 2026): https://plainworkdigital.com/d20261012a9/vercel-hobby-plan-limits
  • Free hosting limits compared (checked 28 November 2026): https://hostlater.com/static-website-hosting/