Skip to content
Home / Migrations / VercelCloudflare Pages

Vercel Cloudflare Pages

medium

Zero egress fees, Workers for compute, R2 for storage. Cheaper at scale than Vercel.

Estimated: 3-6h · 6 steps
Progress0%
Step 1: Check compatibility

Cloudflare Pages supports Next.js via @cloudflare/next-on-pages. Check if your features are supported.

Step 2: Install adapter
npm install @cloudflare/next-on-pages
Step 3: Update next.config

Set output to 'standalone' or configure for edge runtime. Some Node.js APIs unavailable in Workers.

Step 4: Deploy
npx wrangler pages deploy .vercel/output/static
Site loads correctly
Step 5: Migrate env vars

Cloudflare dashboard → Pages → Settings → Environment Variables. Or use wrangler.toml.

Step 6: Update DNS

Point domain to Cloudflare Pages. Update any webhook URLs.

What this migration involves

Moving from Vercel to Cloudflare Pages is rated medium and takes about 3-6h on a typical project. The guide breaks it into 6 steps, 2 of which ship with runnable commands and 1 with a verification check. On pricing, Vercel is freemium and Cloudflare Pages is freemium with a free plan to test the move.

FAQ

How long does migrating from Vercel to Cloudflare Pages take?

Around 3-6h for a typical project — 6 steps, difficulty rated medium, 2 of them with copy-paste commands.

Is moving from Vercel to Cloudflare Pages reversible?

No reverse guide is tracked yet, so treat this as a one-way move and keep a full export of your Vercel data before you start.

What does Cloudflare Pages cost compared to Vercel?

Vercel: freemium from $20/mo, free plan available. Cloudflare Pages: freemium from $0/mo, free plan available.