Framer doesn't let you export your site as code, so moving a Framer site to Astro means rebuilding the pages and exporting the CMS with a plugin. The live site is the spec. The design carries over by eye, the content carries over as CSV, and the search rankings carry over only if the URLs and metadata are kept on purpose. Astro is a good place to land. It ships fast, plain HTML, keeps CMS content as files and runs on almost any host. This guide covers what Framer lets you take, what to preserve, and each step in order. Sherpa will also do the whole move for free, covered at the end.
What Framer lets you take with you
What comes out of Framer
- CMS items as CSV or JSON, with a plugin
- Images, logos and other assets
- The live site, as your reference
- Every page, since there is no code export
- Animations and effects
- Form handling
- Redirects from site settings
- Markdown pages Framer serves to AI tools
There's no export button. Framer's help center says it does not offer HTML export for self-hosting, because published sites rely on services that run on Framer's own infrastructure. The published pages are standard HTML, CSS and JavaScript, and a browser can save them. What comes out is the built output of Framer's renderer, not source anyone can comfortably edit, so treat it as a reference and not a starting point.
CMS content does come out. Framer says it can be exported using plugins into CSV or JSON, and the CMS Export plugin in Framer's marketplace exports any collection as a CSV. Images and other assets can be exported from the Framer app or saved from the live site.
Will a migration hurt your SEO?
Not if you migrate it correctly. There are a lot of rules, and this section covers them in order of importance. The design is the easy part of leaving Framer. What a move can quietly lose is everything search engines and AI assistants already know about your site. Your search rankings are tied to your URLs and the metadata on each page. If you lose either, you can lose traffic for months, even if the new site looks the same. So before you start building, make a list of everything that needs to survive the move. The graphic below is that list.
- 1URLsEvery page stays at the same address
/pricing stays /pricing - 2RedirectsA 301 for anything that moves, plus the old ones
/plans 301 /pricing - 3Titles and descriptionsCopied word for word, page by page
<title> and meta description - 4Social imagesWhat shows when a link is shared
og:image - 5Canonical tagsEach page points at itself
rel="canonical" - 6Structured dataArticle, FAQ and Organization markup
"@type": "FAQPage" - 7Sitemap and robots.txtRebuilt, then resubmitted to Google
/sitemap.xml - 8Image alt textTravels with every image
alt="Team dashboard" - 9Analytics and pixelsEvery script back on the pages that had it
GA4, Meta pixel, HubSpot
Done right, a move to Astro usually helps SEO. Astro sends plain HTML with very little JavaScript, so pages load faster, and page speed is one of the things Google looks at. Lindy’s mobile Lighthouse score went from around 50 to over 90 the night it left Webflow. A month later every core SEO metric was the same or better, and some collections were getting 50% more organic traffic. Bolto’s Lighthouse scores went up more than 20 points, and three weeks in every SEO metric was holding steady. Pillar gained 21 points when it left Webflow.
URLs and redirects
The simplest way to keep your SEO intact is to keep every page at the same path it has today. A page that keeps its address needs no redirect, and keeps everything it has earned. If you have to change a path, add a permanent 301 redirect from the old one. Google's site move guide says 301 and other permanent redirects don't cause a loss in PageRank.
Google's John Mueller says to keep redirects for at least a year. Carry over any redirects you already have in Framer's site settings too. Old links from years ago still point at them. If you have CMS pages under a prefix such as /blog/ or /work/, keep the same prefixes in Astro's src/pages folders so every item keeps its address.
Titles, descriptions and social images
Every page has a title and a description, which is what people see in Google. They're set in Framer's page settings. Copy them over exactly as they are. Same with the Open Graph title, description and image, which is what people see when you share a link in Slack, LinkedIn or iMessage. In Astro, you'll have a head component that every page uses. It'll look something like this.
---
const { title, description, image, canonical = Astro.url.href } = Astro.props;
---
<title>{title}</title>
<meta name="description" content={description} />
<link rel="canonical" href={canonical} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={image} />Canonicals, structured data, sitemap and robots.txt
Framer adds a canonical tag to each page and generates the sitemap for you. After the move, both are your job. Keep the canonical tag on each page pointing to its own URL, run npx astro add sitemap and set site in astro.config, and Astro will generate a sitemap-index.xml on every build.
Copy over the robots.txt file and resubmit the sitemap in Google Search Console when the new site is live. If you had structured data on the old site, such as Article, FAQ or Organization JSON-LD, copy the script tags into the relevant templates. These are what get you rich results, and they help AI assistants understand the page. Framer also automatically serves a Markdown version of each page to AI tools. That stops when you move, so if AI traffic is important to the business, plan to publish Markdown versions of your key pages.
Alt text, analytics and tracking
Alt text is easy to lose in a move, because it's on each image and not in the page settings. Make sure to bring it across with the images.
Make a list of every script on your old site (Google Analytics, Tag Manager, ad pixels, chat, HubSpot tracking) and add them back to the pages that had them. Keep your Search Console verification tag or file in place, otherwise your property will stop being verified. Google's site move guide calls this out. After launch, send a test conversion and find it in your analytics tool before trusting the numbers.
How to do it, step by step
1. Capture the live site
Since Framer doesn't offer an export, the live site is the only record of what you have. Before you change anything, take a snapshot of it.
- All the URLs, from yoursite.com/sitemap.xml
- A full-page screenshot of each page at desktop, tablet and phone sizes, because Framer designs each breakpoint separately
- The fonts, colors, spacing and type sizes, noted as a small design system
- Every CMS collection and how many items are in each
- All the forms and where they send submissions
- Any custom code, embeds and tracking scripts
- Every animation and effect, with a screen recording of the important ones
2. Export the CMS and the assets
Open the CMS Export plugin and download a CSV for each collection. The slug column is the one that will keep your URLs intact. The images in the CSV are links to Framer's servers. Download each one and keep it in the project, because the links stop working when the Framer site is gone. Export logos, icons and illustrations from the Framer app at full size. Download font files you have a license for, or note the Google Fonts names.
3. Rebuild the pages in Astro
Create a new Astro project and start with the pieces that repeat. The nav, the footer, buttons and cards become components. Put the colors, fonts and spacing from step 1 into CSS variables first. Every page then pulls from the same values and stays consistent.
Build each page in src/pages at the same path it has on Framer. /pricing stays /pricing. Work from the screenshots one breakpoint at a time and compare side by side with the live site. An AI coding agent such as Claude Code does this well when given the screenshot and the live URL for each page.
4. Rebuild the animations
The appear, scroll and hover effects don't come with you. Most of them are just a few lines of CSS, and fades and slides on scroll, hover states and sticky sections all work with CSS transitions and scroll-driven animations. For the complex ones, Motion is the open source animation library that started life as Framer Motion. It runs on any site and will feel familiar. Start with the animations people notice first, like the hero and the nav, and decide honestly whether the rest earn their weight.
5. Rebuild the CMS as content collections
Astro keeps CMS content as files in the project, as described in its content collections docs. Each CSV row becomes its own JSON file, and a few lines of Python will do the conversion.
import csv, json, pathlib
out = pathlib.Path("src/data/blog")
out.mkdir(parents=True, exist_ok=True)
with open("blog.csv", newline="", encoding="utf-8") as f:
for row in csv.DictReader(f):
(out / f"{row['Slug']}.json").write_text(json.dumps(row, indent=2))Then tell Astro where the files live, in src/content.config.ts.
import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
const blog = defineCollection({
loader: glob({ pattern: '**/*.json', base: './src/data/blog' }),
});
export const collections = { blog };For each collection, create a template like src/pages/blog/[slug].astro and use getCollection to generate a page for each entry. Use the slug from the CSV as the URL, so nothing moves. Map the fields Framer used for the page title, description and social image into your head component.
6. Reconnect forms and add redirects
Framer handles form submissions and sends them to an email, a sheet or a webhook. That stops when you leave. If you use HubSpot, use its embed. Otherwise, use a form service or the form handling your host provides. Send a test submission from every form to make sure it works.
If a page kept its address, you don't need a redirect. For any page that moved, add a redirect in astro.config like this, following Astro's redirect docs. If you use a host adapter, Astro will send a real 301. If you build a static site, Astro writes a small page that redirects in the browser, without a 301 status code. In that case, set up the redirects at your host.
import { defineConfig } from 'astro/config';
export default defineConfig({
site: 'https://www.yoursite.com',
redirects: {
'/old-page': '/new-page',
'/blog/[...slug]': '/articles/[...slug]',
},
});7. Check everything, then switch
The best check is to open every URL from the old sitemap on the new site. Each one should load or redirect. Check the titles and descriptions on the top 20 pages by traffic. Count the pages and CMS items on both sites. Submit every form and find the test where it should land. Run Lighthouse on the homepage and the heaviest pages.
When everything passes, point the domain's DNS at the new host. Keep the Framer plan for a few weeks in case you need to fetch something, then cancel. Watch the Pages report in Search Console for 404s for the first month.
Clean up the code so agents can work with it
A visual editor writes code for itself, not for whoever edits the site next. A published Framer page is made of generated class names, deeply nested wrappers and styles repeated on every page. Copy that markup into Astro and all of it comes along.
Rename classes and styles to say what they are, like pricing-card. Pull anything repeated into a component, so the nav, the footer and each card live in one file. Move colors, fonts and spacing into shared variables. Then Claude or ChatGPT can change one component and it updates everywhere, with no hunting through copies.
Or have Sherpa do the move for free
Do it yourself7 steps, all yours
- Capture the site
- Export CMS and assets
- Rebuild pages
- Rebuild animations
- Rebuild CMS
- Forms and redirects
- Check and switch
Sherpa does itFree
- Send your URL
- Preview in about 24 hours
- Review it together
- Switch DNS when ready
Sherpa has a free migration tool that does everything above, and you can run it yourself. You see the whole migration for free. Sign up, enter the URL of your Framer site and Sherpa rebuilds it as an Astro site with clean class names and real components, from what's public today. There's no export, no login to share. In as little as 24 hours, you'll have a preview of the whole site. Pages keep their URLs, anything that moves is redirected, and titles, descriptions, social images, CMS content, forms and scripts are carried across.
The Framer site stays live the whole time. The switch is a DNS change you make when the preview has passed your review. Framer's interactions are rebuilt as real code, and they're the part worth checking closest in the preview. Sherpa's team walks through the preview with you against a checklist, and anything that feels off goes on it to fix.
After the move you get Astro code that you own forever, synced to GitHub and free to take anywhere. Sherpa hosts your site and gives Claude or ChatGPT 150+ tools over MCP to run it. Anyone on your team asks for a change, gets a preview link, and a person presses publish. Sherpa also keeps an eye on the things this guide is about. On the Growth plan, its proactive improvements check your site every week, SEO included, and hand you fixes that take one click to ship. Clone your site to see it on Sherpa, or read how migration works.
Hear from people who left Framer for Sherpa
Designers who built on Framer for years are moving their sites and their clients’ sites to Astro on Sherpa. Here’s what two of them said.
“I just pitched your product to one of our other clients to see if we can replace Framer with Sherpa, just because it’s so much easier and so much better. Genuinely having fun with the product and not sure if I can go back to Framer after this.”
“I genuinely wish I found out about you guys sooner. I’ve been using Webflow and Framer for years, but now I can finally let them go. I just made all 30+ Figma screens within a couple hours.”
Common questions
Can you export code from Framer?
No. Framer's help center says it does not offer HTML export for self-hosting. CMS content can be exported as CSV or JSON with a plugin. The pages themselves have to be rebuilt.
Will moving from Framer to Astro hurt SEO?
Not when every URL stays the same or has a 301 redirect, and each page keeps its title, description and canonical. Google says permanent redirects don't lose PageRank. Done right, it usually helps. A month after Lindy moved to Astro on Sherpa, every core SEO metric was the same or better and some collections had 50% more organic traffic.
What happens to Framer animations?
They are rebuilt. Most appear, scroll and hover effects are a few lines of CSS. Complex ones can use Motion, the open source library that began as Framer Motion.
How long does a Framer to Astro migration take?
It depends on the number of pages, breakpoints and animations, since every page is rebuilt by hand. Sherpa has a full preview ready in as little as 24 hours. Lindy moved more than 2,000 pages in under 24 hours.
Do you own the code after Sherpa moves your site?
Yes. It’s Astro code synced to GitHub that you own forever and can take anywhere. Sherpa hosts it and gives Claude or ChatGPT the tools to run it.
Will the new site be faster?
Usually. Lindy went from around 50 to over 90 on mobile Lighthouse the night it moved. Bolto gained more than 20 points and Pillar gained 21.

