Articles / AI-ready builds

Framer vs Astro: When to Move Your Site to Code

Stay on Framer while your site is small, design-led and edited mostly by designers. Move to Astro when you hit Framer’s limits on pages, CMS items or locales, when per-site costs and add-ons add up, or when you need code and content you can take with you. Framer does not export your site as code, so leaving means a rebuild.

By ,

Framer is one of the nicest tools there is for designing and launching a marketing site quickly. Many startups start there, and many are happy to stay. This article is for the ones wondering whether they've reached the point where a code-based site in Astro makes more sense.

The short answer: stay on Framer while the site is small, design-led and changed mostly by designers. Move to Astro when you hit Framer's limits on pages, CMS items or locales, when the per-site costs add up, or when you need content and code you can take with you.

What Framer does well

  • Designing in a canvas that feels like Figma, with publishing built in.
  • Smooth animation and interaction without code.
  • A fast route from idea to live page for a small team.

Where teams hit the ceiling

Plan limits

Framer prices each site separately, and each plan caps pages, CMS collections, CMS items, bandwidth and locales. At the time of writing, the Pro plan allows 2,500 CMS items, with more sold as paid add-ons. A growing blog, a set of location pages or a second language can push a site up a tier or into add-ons.

No code export

Framer does not export your site as code. If you leave, the design is rebuilt somewhere else. Your words and images are yours, but the site itself stays on Framer. This is the biggest difference from a code-based site, and worth knowing before the site gets large. See platform lock-in.

Content beyond the website

Framer's CMS is made for the Framer site. If you want the same content to feed an app, a help centre, a newsletter or AI search tools, a headless CMS like Sanity is built for that.

Working with AI

Framer has its own AI features for generating and editing pages. What it can't offer is an assistant like Claude working directly on your codebase, with rules, locks and checks around it. That is what an AI-ready website gives you.

What changes when you move to Astro

  • Design changes move from the canvas to code. Your team still edits words and images visually in the Studio.
  • Limits go away: Astro has none, and Sanity's free plan includes 10,000 documents.
  • Speed usually improves, because Astro pages start as plain HTML.
  • Costs shift from a monthly per-site fee to a one-off build plus near-free hosting on Cloudflare.
  • Ownership moves to you: code in your GitHub, content in your Sanity project, hosting in your Cloudflare account.

How a move from Framer works

  1. List every page and URL on the Framer site, including CMS items.
  2. Get the content out. Copy CMS content into a spreadsheet, using an export where your plan allows it, and download every image.
  3. Rebuild the design as components in Astro, matching the look your customers know.
  4. Import the content into Sanity with a script, so nothing is retyped.
  5. Keep every URL the same, or redirect it:
public/_redirects
# Framer CMS paths that changed in the new site
/blog/:slug    /articles/:slug    301
/work          /case-studies      301
  1. Launch and watch Search Console for missing pages in the first weeks.

Is it time?

If Framer is cheap, fast and doing the job, keep it. If you are paying for add-ons to stay under limits, worrying about what happens if you need to leave, or wishing an AI assistant could just make the change, it is probably time. Our website migration service moves Framer sites to Astro with every URL kept.

Rather have us do it?

Send a few lines about it. Mark replies within 48 hours to set up a free call and a fixed quote.

Book a free call