GitHub Pages vs Cloudflare Pages

Free plans, prices, upload methods and features, side by side.

The short version

Choose GitHub Pages for

Project docs and personal sites kept in a GitHub repo

Watch out for: Free accounts need a public repo; commercial-transaction sites are prohibited

Choose Cloudflare Pages for

Fast global static hosting with optional edge functions

Watch out for: Superseded by Workers static assets for new projects; apex domains need a Cloudflare zone

Full comparison


DeveloperFree static hosting served directly from a GitHub repository

DeveloperStatic and full-stack hosting on Cloudflare's network; Workers now recommended
Plans and limits
TypeDeveloperDeveloper
Free plan1 GB · 100 GB/moYes
Free site limit?100 projects
Free addressusername.github.io/repositoryproject.pages.dev
Cheapest paid planNone—
Pricing detailsFree for public repositories; the 100 GB/mo bandwidth is a soft limit. Publishing from private repositories needs a paid GitHub plan.Limits are 20,000 files per site and 25 MiB per file rather than total storage. $5/mo is the Workers Paid minimum, which also covers Pages Functions.
Custom domainFreeFree
HTTPSYesYes
Upload methodsGit, Browser upload, Drag and dropBrowser upload, Drag and drop, ZIP upload, Git, CLI
File restrictionsBrowser uploads capped at 25 MiB per file; commercial SaaS and sites handling passwords or card data not allowed25 MiB per file; dashboard drag-and-drop limited to 1,000 files
Paid plan, monthly—$5/mo
Paid plan, yearly—None listed
Features
Free planYesYes
No build stepYesYes
Browser uploadYesYes
Online editorYesNo
SFTP / FTPNoNo
Git deployYesYes
Free custom domainYesYes
Built-in formsNoNo
Includes (SSI)NoNo
Serverless functionsNoYes
No ads on free sitesYesYes
CommunityNoNo
AI / MCP??
Open sourceNoNo

Highlighted rows are where the two differ. “?” means we couldn't confirm it on the provider's site. Data last reviewed 27 November 2026. How listings are checked.

Go deeper

Related comparisons