Skip to content
Framer export

Can you export code from Framer? Your options explained

Framer has no button to download your site as a React project. What you can get out: saved HTML, single components or a full Next.js project, and trade-offs.

  • Framer export
  • React
  • Next.js

Short answer

Not as a whole project from inside Framer. Framer's help center says it does not offer HTML export for self-hosting, so getting code means a marketplace plugin or a third-party tool. To get the whole site as editable code, convert the published site into a Next.js project with its pages, styles, CMS data and interactions, or save a static HTML copy as an archive.

Short answer: not from inside Framer itself. Framer is built to design, publish and host websites, and at the time of writing it has no built-in option to download a whole published site as a standalone React or Next.js project. You can still get your site out, in several ways that give very different results.

Why there is no simple export button

A published Framer site is a React application, but it is compiled for Framer's own runtime: JavaScript modules served from Framer's servers, Framer components for layout, links and overlays, and generated class names such as framer-1x2y3z. Downloading those files gives you something that only runs while it matches that runtime. It is not code a team can read and maintain.

Option 1: Save the published HTML

Static export tools crawl your site and save the rendered pages, images and scripts. This is quick and gives you files you can host anywhere. What you get is the rendered output, usually with Framer's compiled scripts kept so the interactions keep working. It is a good archive, but changing anything beyond text and images means editing generated markup.

Option 2: Rebuild single components

If you only need one section in an existing React app, rebuilding it by hand is reasonable. Code components you wrote yourself in Framer are already React files you own, so you can copy those. This does not scale to a whole site with breakpoints, CMS pages and animations.

Option 3: Convert to an editable Next.js project

A converter can read the code your site publishes and rebuild it as source: one route per page, a .tsx file per component, CSS in cascade order, local assets and the interactions. That is what FrameToNext does. The result builds with next build and runs without Framer. Anything it cannot convert is listed in a report and shown as a labelled placeholder, never guessed.

Which option fits you?

You want…Best option
An offline archive of the siteSave the published HTML
One section inside an existing React appRebuild that component
To own, edit and host the whole site as codeConvert to a Next.js project
To keep designing visually every week, with no custom codeStay on Framer for now

Before you export anything

  • Make sure you own the site or have permission to export it.
  • List what depends on Framer: form submissions, analytics, embeds and scripts in custom code all need a new home.
  • Keep the Framer site published until the new version is live and checked.

Ready to try it? The step-by-step export guide walks through the whole process.

Frequently asked questions

Does Framer have an export code button?

Not for a whole site. At the time of writing, Framer's help center says Framer does not offer HTML export for self-hosting. Marketplace plugins can export selected components as React code.

Can I download my Framer site as HTML?

Third-party static exporters can save the published pages, images and scripts. The result is the rendered output, usually with Framer's compiled runtime scripts, not source code a team can maintain.

What is the best way to get editable code from Framer?

Convert the published site into a React project. FrameToNext produces a Next.js App Router project (or Vite + React) with .tsx components, CSS, routes, CMS data and interactions, built with next build before it is offered.

Can I export any Framer site?

Export only sites you own or are authorized to convert. FrameToNext checks ownership with a meta tag or DNS record before converting.

Do it with FrameToNext

Keep reading

Step-by-step guides

Your Framer site, as code you own.

Converting is free. See the pages and every file before you pay anything.