Framer to HTML: static export or React source code?
Can you export a Framer site to HTML? What Framer's help center says, what static HTML exporters give you, and when a React or Vite project fits better.
Short answer
Framer itself has no HTML export: its help center says it does not offer HTML export for self-hosting. Third-party exporters save the published pages with Framer's compiled scripts, which works as a snapshot but is hard to edit. If you want to change the site, convert it into a React project instead; a Vite + React build still gives you static files.
"Framer to HTML" usually means one of two wishes: a copy of the site you can host anywhere, or a site you can open in an editor and change. Those need different exports. Here is what each option gives you, starting with what Framer itself says.
What Framer says
Framer's help center is direct: "Framer does not offer HTML export for self-hosting." Published Framer sites depend on Framer's infrastructure for things like optimisation after publishing, so they are not plain static files (article updated September 15, 2026, read November 18, 2026).
Option 1: Save the published HTML with an exporter
Static exporters crawl your published site and save each page's HTML, the images and the scripts into a ZIP. It is quick, and the result can be hosted on any static host.
- What you get: the rendered markup, generated class names such as
framer-1x2y3z, and usually Framer's compiled JavaScript so interactions keep working. - Good for: an archive, or a site that will not change.
- Hard part: editing. Changing a layout or an interaction means working in generated markup and compiled scripts, not in components.
Option 2: Convert to React source
A converter reads the code your site publishes and writes source files instead: a .tsx file per component, CSS in cascade order, a route per page and the interactions rebuilt in React. FrameToNext does this and builds the result before it is offered. Anything it cannot convert is shown as a labelled placeholder and listed in the report.
You can still get static HTML files
If static hosting is the goal, choose the Vite + React project type. npm run build writes dist/ with one HTML file per page, each with its own title and description, plus a 404 page. Pages are rendered by React in the browser from your own components. If you want each page's full HTML rendered ahead of time or on a server, choose the Next.js project type instead.
Side by side
| HTML exporter | Vite + React project | Next.js project | |
|---|---|---|---|
| What you edit | Generated HTML and compiled scripts | React components and CSS | React components and CSS |
| Runs Framer's compiled runtime | Usually yes | No | No |
| Hosting | Any static host | Any static host | Any Next.js host or Node.js server |
| Page HTML | As published | One file per page; content rendered by React | Rendered by Next.js at build time or on the server |
| Backend code | None | None (add an API elsewhere) | Route handlers and server actions |
Which should you pick?
- An archive or a frozen site: an HTML exporter is enough.
- Static hosting and a site you will keep changing: Vite + React.
- A backend, server rendering or a Next.js host: Next.js.
Whichever you choose, export only sites you own or have permission to export, and keep the Framer site published until the new one is live.
Frequently asked questions
Can I export my Framer website as HTML?
Not from Framer itself. Framer's help center says it does not provide a way to export published sites as HTML files or static bundles. Third-party tools can save the published pages, assets and scripts.
Will animations work in an HTML export of a Framer site?
Usually only because the exporter keeps Framer's compiled JavaScript in the files. The interactions keep running on that compiled code rather than on source you can edit.
What is the difference between an HTML export and a React export?
An HTML export saves what the browser received. A React export gives you source files: components, CSS and routes a developer can read, change and build.
Can I get static files from a converted React project?
Yes. Choose Vite + React as the project type and vite build writes one HTML file per page, with its title and description, that any static host can serve.