Cloudflare Pages
Cloudflare Β· π Static Hosting
Cloudflare Pages is a JAMstack platform for frontend developers to collaborate and deploy websites on Cloudflare's global edge network.
Overview
Cloudflare Pages builds your Git repository and serves the output from Cloudflareβs global edge network of 300+ cities. It is tightly integrated with Cloudflare Workers, so a static front end and serverless edge functions can live behind the same domain β with none of the cold-start penalty you get on traditional serverless platforms.
The free tier is unusually generous for static hosting: bandwidth and requests are unlimited, you get 500 builds per month, and you can host unlimited sites and custom domains with free SSL. Dynamic logic runs on the Workers free allocation, and you can attach KV, D1 (SQLite) and R2 (object storage) bindings directly to your project.
It is a natural fit for static and hybrid frameworks like Astro, Next.js, SvelteKit and Remix β especially when you want edge rendering, data bindings, or simply prefer to keep everything inside the Cloudflare ecosystem. Free-tier limits change periodically, so always confirm the current numbers on the providerβs site before relying on them.
Pros
- βUnlimited bandwidth and requests on the free plan
- βGlobal edge delivery from 300+ cities with free SSL
- βDeep Workers integration β edge functions plus KV, D1 and R2 bindings
- βUnlimited sites and custom domains
- βFast Git-based preview deployments
Cons
- β500 builds per month cap on the free plan
- βBuild system is younger than Vercel's or Netlify's for some frameworks
- βAdvanced Workers features carry their own usage limits
- βEdge-only β not for long-running stateful servers
Best for
- βStatic sites and JAMstack apps (Astro, Next.js, SvelteKit)
- βProjects that want edge functions close to users
- βTeams already using Cloudflare DNS, Workers or R2
Getting started
- 1 Push your project to a GitHub or GitLab repository
- 2 In the Cloudflare dashboard, create a Pages project and connect the repo
- 3 Pick a framework preset and set the build command and output directory
- 4 Deploy β every push builds a preview, and main publishes to production
- 5 Optionally add a custom domain and Workers bindings (KV, D1, R2)
Features
- βUnlimited bandwidth
- βGlobal CDN
- βWorkers Integration
- βPreview Deployments
- βGit Integration
- βCustom Domains
Frameworks
FAQ
Yes. The free plan includes unlimited bandwidth and requests, 500 builds per month and unlimited sites; functions use the Workers free allowance. Limits change over time, so confirm the current numbers on Cloudflare's site.
Yes, through Pages Functions, which run on Cloudflare Workers at the edge. They suit APIs and server rendering rather than stateful, long-lived processes.
Pages builds and hosts your front end with optional Functions; Workers is the underlying serverless runtime. Pages Functions are Workers under the hood.
Deploy these projects to Cloudflare Pages
Open-source projects and templates that run on Cloudflare Pages's free tier.