How to download your Framer site's code
If you want the real files behind your Framer site — not a screenshot, not view-source — here's how to download a complete, organized copy of the code and assets you can open, edit, and put under version control.
What “your code” actually includes
A complete download is more than one HTML file. It's every page's markup, the CSS, the JavaScript modules, and every image and font the site uses — all wired together with local paths so the whole thing works as a unit.
- HTML for each page of the site.
- CSS and JavaScript, saved locally.
- Images and fonts in their own folders.
- Everything cross-linked with root-relative paths so it runs anywhere.
Why view-source and “Save As” don't work
Saving a page from the browser grabs one page's HTML and usually leaves its assets pointing back at Framer's CDN. You end up with something that looks right for a minute and then falls apart — missing images, broken fonts, dead interactions. To actually own a working copy you need every asset captured and rewritten.
Download the code with unhost
unhost renders your published site, captures the assets as they load, rewrites every URL to a local path, and zips it up:
- Paste your Framer URL on the home page.
- Preview the result for free to confirm it's complete.
- Download the ZIP — it unzips into a clean, ready-to-host folder.
- Want content as Markdown, design tokens, and CMS-as-JSON too? The Migration Kit adds those alongside the code.
Edit it and put it in Git
Because it's just files, you can open the folder in any editor, commit it to a Git repository, and deploy it with your normal workflow. Re-exporting later to refresh the copy is free, so your repo can stay current as you keep editing in Framer.
FAQ
Does Framer give me the full source code?
Framer can export individual components as React code, but not your whole published site as hostable files. A tool like unhost captures the rendered site and packages all the files for you.
Can't I just use view-source or Save As?
That grabs one page and usually leaves assets pointing at Framer's CDN, so it breaks. A real download captures every page and rewrites all assets to local files.
What's in the ZIP?
HTML for each page, the CSS and JS, and folders of images and fonts — all linked with local paths so the site runs offline and on any host.
Can I put the export under version control?
Yes — it's a normal folder of static files. Commit it to Git and deploy it however you like; re-exporting to refresh it is free.