How to export a Framer site to Next.js
A step-by-step guide to turning a published Framer site into an editable Next.js App Router project: verify, convert, compare, download and run it locally.
Short answer
Create a free FrameToNext account, add your published Framer site and verify it with a meta tag or DNS record, then convert. The engine reads your published code, writes a Next.js App Router project and builds it. Compare it with your live site for free, unlock it with one credit to read and download the code, then run npm install and npm run dev.
Framer is a great place to design and publish a website. Sooner or later many teams want the code: to host it themselves, add a backend, or hand the site to developers who work in React. This guide walks through exporting a published Framer site to a Next.js project with FrameToNext, and what to check before you ship it.
What you need
- A published Framer site, on a framer.website or framer.app address or your own domain.
- Permission: you own the site or are authorized to convert it.
- Node.js 20.9 or newer, to run the project on your computer.
Step 1: Add and verify your site
Create a free account, add your site's address, and choose how to prove it is yours. With the meta tag method you paste one tag into your site's custom code for the <head> in Framer's site settings and publish. With the DNS method you add a TXT record at your domain provider.
Verification is what stops anyone from exporting a site that is not theirs. You only do it once per site.
Step 2: Convert
Start a conversion. FrameToNext reads your published HTML, the JavaScript modules Framer serves and, where they exist, their source maps. It analyses that code as data: your site's JavaScript is never run during analysis, and no AI is involved. You see each step live:
- Convert: discover pages and modules, analyse components and interactions, write the project.
- Clean up: format the code and name files, classes and colours after your own components.
- Install: install the project's packages.
- Type check: run TypeScript over the project.
- Build: run
next build, the same build you would run before deploying.
Step 3: Check the result
When the build finishes you can open Compare and see the list of files in the project for free. Unlocking the conversion with one credit opens the code and the download. Compare shows your live site and the converted project side by side, at desktop, tablet and phone widths, with scrolling kept in sync, so differences are easy to spot.
Step 4: Run it locally
unzip my-site.zip -d my-site
cd my-site
npm install
npm run devOpen http://localhost:3000. The project is a normal Next.js App Router app: npm run build makes a production build and npm start serves it.
What is in the project
app/: one route per Framer page, with its title and description.components/: one .tsx file per Framer component, named after it (for exampleProjectCard.tsx).styles/:site.cssin its original cascade order,tokens.cssfor colour variables andfonts.cssfor web fonts.public/: images, fonts and other assets copied locally.runtime/: small React functions that stand in for Framer's runtime, as readable source (only the ones your site uses).user/: the place for your own changes (site.tsx,styles.css).README.md,generation-manifest.json(so converting again keeps your edits) and license notices for every npm package used. The conversion report stays with the conversion in your account.
Before you go live
- Read the conversion report: placeholders, effects left out and features not fully converted, each with the reason.
- Connect your forms to a backend you choose. Submissions are flagged, never faked.
- Check the list of files still loaded from the original site and move them if you plan to unpublish it.
- Follow the deployment guide to host the project and move your domain.
Frequently asked questions
How long does a conversion take?
It depends on the size of the site. You watch each of the five steps live: convert, clean up, install, type check and build.
What Node.js version does the project need?
Node.js 20.9 or newer.
Can I export a Framer site I do not own?
No. Ownership is verified with a meta tag or a DNS record before any conversion.