# How it works
URL: https://frametonext.com/how-it-works

## Ownership check
Before any conversion you prove the site is yours, once per site:

- **Meta tag:** paste one tag into your site's custom code for the `<head>` in Framer's site settings and publish. Best for framer.website and framer.app addresses.
- **DNS record:** add a TXT record at your domain provider. Best for sites on your own domain. DNS changes can take a while to appear.

## The five conversion steps
Every conversion runs the same pipeline, with its own time limit per step, and you can watch each step live:

1. **Convert:** Fetch your published HTML, JavaScript modules and source maps. Follow every import. Parse the code into a syntax tree and extract routes, components, variants, event handlers, overlays, transitions and breakpoints. Write the Next.js project (or the Vite + React one, if you chose it).
2. **Clean up:** Format the code, name files, classes and colours after your own components and styles, and organize the stylesheet, checking it rule by rule against the original.
3. **Install:** Install the project's npm packages, each pinned to an exact version, with install scripts turned off.
4. **Type check:** Run TypeScript over the whole project. Type warnings are shown to you; they do not stop the build.
5. **Build:** Run next build (vite build for Vite + React), the same production build you would run before deploying. A conversion is only offered when it builds.

## After converting
- **Free preview of the result:** see the converted pages and the full list of files, at no cost.
- **Compare:** your live site and the converted project side by side at desktop, tablet and phone widths, with synced scrolling.
- **Code and download:** read every file in the browser, then download a ZIP and run `npm install` and `npm run dev`.

---

FrameToNext (Framer to Next.js converter) · https://frametonext.com/ · All pages: https://frametonext.com/llms.txt · Start free: https://frametonext.com/sign-up
