Paste your site's address
Your published site on *.framer.website, *.framer.app or your own domain. Astro is picked for you.
FramerAstro
Paste your Framer site's address and get an Astro 7 project in TypeScript: every page prerendered to static HTML, hydrated as one React island with the same animations, interactions, CMS and forms. Moving between pages keeps the layout.
How it works
The same steps whatever the site. This page picks Astro; the converter lets you change it.
Your published site on *.framer.website, *.framer.app or your own domain. Astro is picked for you.
Conversions take 5.0 seconds on a typical day. Free, and you check the result before paying anything.
A .zip of your Astro project in TypeScript, 289 files. Unzip, install, run. Nothing from Framer inside.
What you get
realmehdi.com in Astro: 17 routes and 289 files. src/pages holds one index.astro per page beside its _route.tsx island. The React components inside are the same as in every other framework.
17 routes in src/pages, each an .astro page, prerendered that sets its own title, description and canonical URL. Unknown paths get the site's 404.
35 components, each a .tsx file with typed props and its own CSS module, keeping the variants and hover states the designer set.
Props
stringstringFiles
Desktop, Laptop and Phone stay three layouts, as media queries. The converted home page is pixel-perfect: 0.00% of pixels differ at 1440, 768 and 390.
11 font stylesheets with @font-face rules, and 17 text styles as shared classes that change size at each breakpoint.
2 of the site's own and 8 from the marketplace, as source in src/code and src/vendor. 3 run only in the browser.
44 transitions, appear effects and hovers keep their springs: 35 of them stiffness 500, damping 60, played by motion.
The code
Unedited files from realmehdi.com's Astro export, 289 files in all.
src/pages/index.astro
---
// /: the page in its layout template (./_route.tsx), in the site's React island.
import Document from "@/site/document.astro";
import Site from "@/site/island";
// The route module's own styles, in the page's <head>.
import "./_route";
const head = {
"meta": [
{
"title": "Mehdi Hassan Portfolio"
},
{
"property": "og:title",
"content": "Mehdi Hassan Portfolio"
},
{
"property": "og:description",
"content": "Helping startups design & develop breathtaking products & websites. 🌟 Expert in copywriting, design, & development."
},
{
"property": "og:url",
"content": "https://mehdihassan.framer.website/"
},
{
"property": "og:image",
"content": "https://framerusercontent.com/assets/h1lpVwE2dPBKzvByiXOr3ANSFDA.jpg"
},
{
"property": "og:type",
"content": "website"
},
{
"name": "twitter:card",
"content": "summary_large_image"
},
{
"name": "twitter:title",
"content": "Mehdi Hassan Portfolio"
},
{
"name": "twitter:description",
"content": "Helping startups design & develop breathtaking products & websites. 🌟 Expert in copywriting, design, & development."
},
{
"name": "twitter:image",
"content": "https://framerusercontent.com/assets/h1lpVwE2dPBKzvByiXOr3ANSFDA.jpg"
}
],
"links": [
{
"rel": "canonical",
"href": "https://mehdihassan.framer.website/"
}
]
};
---
<Document head={head}>
<Site client:load transition:persist="site" route="_route" path="/" />
</Document>

src/pages/**/index.astrosrc/site/document.astroserver.tssrc/pages/api/forms/<form>.tsRun and deploy
An Astro project's build prerenders every page to static HTML, and its server.ts runs on Node.js 22.18 or later: any Node.js host, a container or your own server.
$
Only in Astro
astro 7.3.8
Every page, CMS items included, is rendered to its own HTML document by astro build, then hydrates as one React island.
astro 7.3.8
A link loads the next page with Astro's router, which keeps the island: the layout template two pages share stays mounted, with an open menu or a navigation bar collapsed on scroll. Page transitions play as the browser's view transitions.
The same in every framework
Next.js, TanStack Start, Astro, React Router, Vite, Nuxt and Static HTML exports share everything below. Only the routes, the document, the server and the build differ.
35 components · 17 pages
Pages, layout templates and design components are React components in src/views, src/layouts and src/components, each with its CSS module. Components keep the designer's folders, variants and hover states.
17 text styles · 11 fonts
Colour styles become CSS variables in src/styles, shared text styles become classes, and every font family gets its @font-face rules.
<collection>.json
Each Framer CMS collection becomes a schema (src/cms/<collection>.ts) and its records as JSON (src/cms/<collection>.json).
api/forms/<form>
Native Framer forms post to the project's own API route, with a rate limit, a honeypot and field checks, and deliver submissions to webhooks you set in environment variables. A Vite site, which has no server, posts them to a form service.
44 effects on motion
Animations and interactions run on motion, the open-source animation library. No Framer runtime: a small, readable kit in src/lib/deframer replaces it.
robots.txt · sitemap.xml
Every page keeps its title, description and social image. The site's redirects, robots.txt and sitemap.xml come with it, and a README lists every route.
Pricing
Convert free and check the Astro result first. Pay only to download: one credit per project, credits never expire. Or pay once for the lifetime deal: unlimited conversions, and every site you verify downloads free.
Convert for freePaste your Framer URL and check the result.
Download for 1 creditOne credit is one site's code, as a .zip.
It's yoursHost it anywhere. Credits never expire.
1 credit
Download 1 site
$20one-time
$20.00 per credit
5 credits
Download 5 sites
$50one-time
$10.00 per credit instead of $20.00
50 credits
Download 50 sites
$100one-time
$2.00 per credit instead of $20.00
Unlimited
Download every site you verify, for life
Can't add a meta tag to the site? A download without verification uses 10 credits, so Studio covers 5.
Prices in USD. Checkout by Whop, our payment provider, which adds sales tax or VAT where it applies. Credits and the lifetime deal are added as soon as you pay and aren't refundable; see the refund policy.
Compare packs on the pricing pageLimits
Plain facts before you convert.
FAQ
Limits, files and verification are in the main FAQ, credits on the pricing page.
Yes. Deframer converts a published Framer site into an Astro 7 project written in TypeScript, which you download as a .zip and own. Every page is prerendered to static HTML and hydrates as one React island, with the same animations, interactions, CMS and forms.
A Framer page is one tree: its layout, effects and interactions depend on each other. Keeping the page as one island renders it as published, and the island stays mounted between pages, so a shared navigation keeps its state.
Its pages are: astro build prerenders every one to HTML. The project also runs a small server.ts on Node.js 22.18 or later that applies the site's redirects, serves those pages and handles the form routes with Astro's Node adapter. For a static site with no server, pick Vite.
In each page's index.astro head, or its _head.json table for CMS items; the site's own tags are in src/site/head.ts.
Converting is free. Downloading the code is for your own site, or one whose owner allows it: verify the site for a 1-credit download, or confirm you own it or have permission and download for 10 credits. See pricing.
Get started