All posts
Platform migrations

Webflow to Next.js Migration: The Complete Guide

Webflow to Next.js migration guide: choosing a headless CMS, replacing forms, moving content and meta fields, mapping redirects and handing the site to editors.

By Mehdi Hassan12 min read

The short answer

A Webflow to Next.js migration is a full rebuild: you recreate pages as React components, move CMS collections into a headless CMS such as Sanity or Payload, replace Webflow forms with a form backend, carry over meta fields, map every URL to a 301 redirect, and hand editors a CMS they can use without a developer.

Key takeaways

  • There is no converter. Webflow's code export lacks the CMS, so every page and collection is rebuilt.
  • Choose the headless CMS by who edits and who hosts: Sanity for hosted editing, Payload for full ownership.
  • Forms, memberships and ecommerce each need a replacement service, chosen before the build starts.
  • SEO risk sits in URL mapping. Keep paths identical where you can and 301 everything else.
  • Editor handover decides success. Marketers need sections, previews and roles, not just a login.

How do you migrate a Webflow site to Next.js?

You migrate a Webflow site to Next.js by rebuilding it, not converting it. Pages become React components, CMS collections move into a headless CMS, forms move to a form backend, and every old URL is either kept or redirected. Our research found no converter for this move, and Webflow's code export leaves out the CMS.

We build on Webflow, Framer and Next.js, and our own site runs on Next.js with Payload, so this guide is written from both sides. It's the hub for our Webflow-to-code series. Each section answers one part of the plan and links to a deeper article where you need more detail.

Phase

What happens

Main decision

1. Decide

Confirm code is the right destination

Stay, move to code or move to another builder

2. Audit

Inventory URLs, CMS, forms, scripts, integrations

What moves, what's cut

3. Architect

Pick CMS, hosting, form backend and auth if needed

Hosted or self-hosted CMS

4. Build

Components, templates and section library

How flexible editors need to be

5. Move content

Export, transform and import collections and assets

Rich text format, references

6. SEO

Meta fields, redirects, sitemap, structured data

Which URLs change

7. Launch

DNS switch, checks, monitoring

Timing and freeze window

8. Hand over

Editor training, roles, previews, docs

Who owns changes long term

Should you leave Webflow for Next.js at all?

Leave Webflow for Next.js when you need features, performance control or ownership that Webflow can't give, and you have developers who will maintain the result. Stay if marketers build new pages every week without help and the site has no product features.

Our research found that pricing is the most common trigger. Webflow changed seat and bandwidth billing between late 2024 and 2025, and in May 2026 merged its CMS and Business plans into a Premium plan with a 20,000-item limit, according to BRIX Templates. A higher bill is a reason to look, but not by itself a reason to rebuild.

  • Good reasons: product data on marketing pages, logged-in areas, complex integrations, a content model Webflow can't express, or a team that already runs Next.js.
  • Weak reasons: a slow page that's slow because of images and scripts, a bill that a plan change would fix, or a wish to use newer technology.
  • Red flag: no developer will own the site after launch.

We weigh these arguments in detail in why companies leave Webflow for code, and compare the two platforms by team type in Webflow vs Next.js for marketing sites. If a visual builder still suits you better, moving from code to a visual builder covers the reverse path.

Which headless CMS should replace Webflow CMS?

Replace Webflow CMS with a headless CMS chosen by two questions: who edits the content, and who should host it. Sanity suits teams that want a hosted, highly customizable editor. Payload suits teams that want the CMS inside their own Next.js codebase and database.

CMS

Hosting

Editing feel

Best for

Sanity

Hosted content lake, customizable studio

Flexible, real-time, structured

Marketing teams with many content types

Payload

Self-hosted inside your Next.js app

Admin panel you own and extend

Full ownership, one codebase

Contentful

Hosted

Mature, enterprise workflows

Large orgs with governance needs

Strapi

Self-hosted or managed cloud

Admin panel, open source

Teams with backend capacity

Watch plan structure on hosted options. Our research found Contentful's tier jumps, including limits on content types per space, push some teams toward Sanity or Payload. Check each vendor's current plan page for limits before modelling content.

We cover each route in depth: Webflow to Next.js with Sanity for the hosted, marketer-friendly architecture, and Webflow to Next.js with Payload CMS for owning your content and stack. If your site is mostly articles and docs, Webflow to Astro migration may be a better fit than Next.js.

How do you move Webflow CMS content into a headless CMS?

Move Webflow CMS content by exporting each collection, transforming it into your new content model, re-hosting every asset and importing it with a script. Rich text and references are the two places where most of the work goes.

  • Export. Use Webflow's CSV export for small sites, or the Webflow Data API for large ones, since the API keeps item IDs for rebuilding references.
  • Rich text. Webflow exports rich text as HTML. Convert it to your CMS's format, such as Sanity's Portable Text or Payload's rich text, and decide what happens to embeds.
  • Assets. Every image URL points to Webflow's CDN, including images inside rich text. Download and re-upload them before you cancel Webflow.
  • References. Import referenced collections first, such as authors and categories, then link items by slug or ID.

Model the content before writing import scripts. A Webflow collection with twenty fields often becomes three cleaner types in a headless CMS, and that's one of the main benefits of moving.

What replaces Webflow forms, memberships and ecommerce?

Each Webflow feature needs a separate replacement in Next.js: a form backend or your CRM's forms for Webflow Forms, an auth library for Memberships, and a commerce platform such as Shopify for Ecommerce. Choose them during architecture, not after the build.

Webflow feature

Common Next.js replacement

Decision to make early

Forms

CRM-hosted forms, or a route handler plus email or form service

Where submissions are stored

Form spam protection

Bot checks and server-side validation

Which check fits your audience

Memberships

An auth library or hosted auth provider

Login methods and gated content rules

Ecommerce

Headless Shopify or a payment provider

Catalogue size and checkout ownership

Site search

A search service or built-in index

Which content is searchable

Forms are the most common gap after launch. Export Webflow's stored submissions before you switch, rebuild every form, and test that each one reaches the right inbox or CRM. The full list of options is in what replaces Webflow forms, memberships and ecommerce in Next.js.

How do you keep SEO when moving from Webflow to Next.js?

Keep SEO by preserving URLs, carrying over every meta field, adding 301 redirects for anything that changes, and checking the site with a crawl after launch. Our research found the SEO risk in migrations sits in URL mapping.

  1. Crawl Webflow and export every URL, title, description, canonical, Open Graph image and status code.
  2. Add SEO fields to every content type in the new CMS, so editors control titles and descriptions per page.
  3. Generate metadata in Next.js from those fields using the Metadata API described in the Next.js documentation.
  4. Write redirects in your Next.js config or middleware for every changed path, and keep the list in version control.
  5. Generate a sitemap and robots file from the CMS so new pages appear automatically.
  6. Rebuild structured data for articles, FAQs and organization details where you used it on Webflow.
  7. Crawl the live site after launch and fix 404s, chains and missing tags within days.

Speed is the other half. Next.js gives you control over images, fonts and scripts, but control isn't the same as speed. Our guide to Core Web Vitals for Framer, Webflow and Next.js lists the fixes that make the difference.

What are the steps in a Webflow to NextJS migration?

A Webflow to Next.js migration runs in eight steps, from audit to handover. The order matters: content model and redirects are decided before anyone builds pages.

  1. Audit the Webflow site

    Inventory URLs, collections, forms, scripts, integrations and top pages by traffic.

  2. Design the content model

    Turn Webflow collections into clean types in the new CMS, including SEO fields and reusable sections.

  3. Choose the stack

    Pick CMS, hosting, form handling and any auth or commerce services.

  4. Build components and templates

    Rebuild the design as a section library that editors can compose into pages.

  5. Script the content import

    Export, transform rich text, re-host assets, rebuild references and import. Run it more than once.

  6. Map and write redirects

    Match every old URL to a new one and test the redirect list on staging.

  7. Launch with a freeze

    Freeze Webflow edits, run a final import, switch DNS and test forms, analytics and top pages.

  8. Hand over and monitor

    Train editors, document the section library and watch Search Console for a month.

A hypothetical walkthrough: a 20-page SaaS site with a blog

Hypothetical example: a SaaS company has 20 Webflow pages built from eight templates, a blog of 150 posts with authors and categories, three forms feeding a CRM and a customer-stories collection.

In the audit, the team cuts four outdated pages and maps them to redirects. The content model turns four Webflow collections into five CMS types plus a page builder with twelve sections. Forms switch to the CRM's own embedded forms. The import script runs three times on staging before the numbers match. URLs for the blog stay identical, so only the four cut pages need redirects.

At handover, marketers get a short guide to building pages from sections and a preview link for drafts. We walk through a fuller version of this in our hypothetical Webflow to Next.js walkthrough, which is illustrative, not a client result.

How do you hand a Next.js site over to editors?

Hand a Next.js site over by giving editors a section library, live previews, sensible roles and a short guide, then checking a month later that they're shipping without help. This is the step that decides whether the migration succeeds.

On Webflow, marketers could build anything visually. On Next.js, they compose pages from sections that developers build. That's a good trade only if the sections cover what marketers actually do: hero variants, feature grids, logos, testimonials, pricing, FAQs, CTAs and rich content. List the changes your team made in the last six months and check each one is possible in the new CMS.

  • Previews. Editors should see drafts on the real design before publishing, using the framework's draft mode.
  • Roles. Separate who can publish from who can edit, especially for legal and pricing pages.
  • Guardrails. Limit section options to what the design supports, so pages stay on brand.
  • Documentation. A one-page guide with screenshots beats a long manual nobody opens.

If you want to test variants once you're live, our guide to A/B testing in Framer, Webflow and Next.js covers the setup on each.

Can AI speed up a Webflow to Next.js migration?

Yes. AI coding agents have made the rebuild much faster, but they don't remove the SEO, QA and handover work. Our research found that the real cost of these migrations is still SEO and QA, not tokens.

Public write-ups in our research include Vellum migrating off Webflow with coding agents in about a week, zenml.io moving 2,224 pages to Astro, and cursor.com rebuilt in three days for $260. Those reports show what's possible when engineers who know the stack drive the agent.

What agents don't do well on their own is judge: which pages to cut, how to model content, whether redirects are complete, and whether editors can work without help. Our walkthrough on migrating off Webflow with Claude Code shows a practical setup and the checks a person still has to run. And whatever builds the pages, don't use Webflow's code export as a starting point; it's static markup without the CMS.

How much does a Webflow to Next.js migration cost and how long does it take?

Agency quotes for Webflow migrations range from about $1,500 to $25,000 in our research, set mostly by page count, CMS complexity and integrations. Timelines depend on the same factors, plus how quickly content decisions are made.

Typical agency migration quotes
$1.5k–$25k
Our website package, up to 6 pages
$8,000
Per extra page
+$500

Our website package is fixed at $8,000 for up to six pages, then $500 per extra page, with copywriting, custom design, a Next.js build, a CMS and animation. Migration work is scoped on the intro call, and we include redirects and SEO checks in any migration we take on. The three-year model, including CMS, hosting and developer time, is in Webflow to Next.js migration cost, and Webflow vs Framer vs Next.js total cost compares all three platforms.

Read the article that matches your next decision. The series is grouped by the question each piece answers.

Your question

Read this

Should we leave Webflow?

Why companies leave Webflow for code

Webflow or Next.js for our team?

Webflow vs Next.js

What will it cost to build and run?

Webflow to Next.js migration cost

Which CMS, hosted?

Webflow to Next.js + Sanity

Which CMS, self-hosted?

Webflow to Next.js + Payload CMS

What replaces forms and memberships?

Replacing Webflow forms in Next.js

Can we just export the code?

Exporting Webflow code

Is our site content-heavy?

Webflow to Astro migration

Going the other way?

Next.js to Webflow migration

Leaving Framer instead?

Framer to Next.js migration cost

If your marketing team wants out of engineering's queue instead, read Next.js to Framer migration, which covers the opposite trade-off.

Frequently asked questions

Does Webflow's code export help with a Next.js migration?
Very little. The export gives static HTML, CSS and JavaScript for your pages, but not CMS content or the Editor, and the markup isn't structured like React components. Teams sometimes use it as a visual reference or to pull assets. For the content, use Webflow's CSV export or the Data API, and rebuild the pages as components.
Can marketers still edit the site after moving to Next.js?
Yes, if the site is built for it. With a headless CMS, marketers edit pages, posts, images and SEO fields, and compose new pages from a library of sections. What they can't do is design brand-new layouts without a developer. Plan the section library around the changes your team makes most often.
Where should a Next.js marketing site be hosted?
Most teams host on Vercel, which builds Next.js, or on Cloudflare, which runs Next.js through adapters. Both deploy from Git and handle previews, caching and SSL. For a marketing site, hosting costs are usually modest compared with developer time. Pick the host your developers know, and check how it handles images and caching.
Should I migrate from Webflow and redesign at the same time?
Often yes, because every page is rebuilt anyway, so a redesign adds less than a separate project would. Protect the pages that rank: keep their URLs, titles and core copy stable. If URLs, layout and content all change at once, it's hard to diagnose a traffic drop. Redesign around your ranking pages, not through them.
Is Next.js overkill for a small marketing site?
For a five-page site with no product features and a marketer who ships changes weekly, often yes. A visual builder will be faster to change and cheaper to run. Next.js earns its keep when the site needs product data, logged-in areas, complex integrations or a content model a builder can't hold, or when your team already works in it.
Do Next.js redirects pass SEO value like Webflow's 301s?
Yes. Permanent redirects in Next.js signal a permanent move to search engines, the same as Webflow's 301 redirects. Keep the redirect list in your repository so it survives future changes, avoid chains of redirects pointing to redirects, and test the list on staging before launch. Check a sample on the live site after DNS switches.

In this guide

· CEO & Design Director

Copywriter, designer and developer, and founder of Designify Studio. Over five years, 60+ projects across 14+ industries, for startups that have raised $300M+.

Want this done for you? Website, $8,000.

A multi-page marketing site, written and designed by us, developed in Next.js and animated. $8,000, one-time, up to 6 pages. Book a free 30-minute call to see if it fits.

Schedule Call