top of page

How to export a Wix Studio Two site to React and import it back

Learn how to export a Wix Studio Two site as React code, edit it anywhere and import it back.

​

Profile picture of Deborah Dagan Boucai

11.30.2026

7 min read

6 hours ago
7 min read


A site built in Wix Studio Two is standard React code underneath, and you can export that code to work on it outside Wix. Edit it in your own IDE or with an AI coding agent, preview it on your computer and import your changes back into the editor.


Import and export is currently in beta, so this guide covers how it works today, what the import replaces and the limits to plan around on client projects.


Build websites faster with AI, while staying in control of every detail. Wix Studio Two’s AI agent, Aria 2.0, builds sites, pages and custom components from simple prompts, and custom React code is there whenever a project needs it. Design visually and code on the same project.




TL;DR: exporting and importing a Wix Studio Two site


Wix Studio Two can export a site as a standard React project that you edit with any AI tool or IDE, preview locally and import back into the editor. The feature is in beta, each export is a one-time snapshot and importing replaces the site with the exported version.


You'll learn:


  • What export and import do in Wix Studio Two

  • What an exported site contains

  • How to export a site and import your changes back

  • What the import replaces and how to protect your work

  • How hosting an exported site outside Wix works

  • Current beta limitations and tips for client projects



Start creating with Wix Studio Two


What is export and import in Wix Studio Two?


Creating a site in the Studio Two Editor generates standard React code that most external platforms can read, write and host. Export gives you that code as a complete, runnable project, and import brings edited code or custom components back into the site.


Agencies use it to build a site in Wix and host it on their own infrastructure, to create content in another tool and bring it into Studio Two, or to customize a site with an external AI tool or IDE and then re-import it for visual editing.


Worth knowing: import and export is currently in beta, so it's subject to change and may have bugs or limitations. Check the Help Center before a client deadline depends on it, and keep the visual editor as your main workflow for now.



What's inside an exported site


An exported site is a workspace with a site package, plus a code package if the site has a code project. Here's what each one holds.


Package

What it holds

What you can change

Site package

Pages, shared sections such as the header and footer, menus and the theme

Components, their props, CSS within each component's allowed properties, colors, fonts and text styles

Code package

The site's code project, exported as a standard Wix CLI app

Editor React Components, Data Sources and other extensions


Page files describe the components on a page and how they look, while behavior lives in the code package, where custom components and other extensions work the same way they do in the editor's Code tab.


The workspace also includes instruction files for AI coding agents, so an agent makes every change in a form Studio Two can import back. A component catalog lists every component the site can use, with a short description of each.



How to export a Wix Studio Two site


You can export a site to an AI agent through the Wix MCP, or work locally in your computer's terminal with the Wix CLI. To export a site, follow these steps.


  1. Open the site in the Studio Two Editor.

  2. Click the Studio Two dropdown at the top left of the editor.

  3. Hover over Site, then hover over Export/Import.

  4. To use an AI agent, connect it with the Wix MCP and paste the export prompt into its chat.

  5. To work locally, click Advanced: Work Locally and run the commands to install the Wix CLI and export the site.

  6. Open the exported project and preview it on your computer.



Exporting and importing a Studio Two site in 6 steps


One thing worth knowing: working locally needs Node.js 24.18 or later on your computer. Check the version before an export so the commands run on the first try.



Edit and preview your exported site


The exported site runs locally as a preview, so you can see changes before you import them. Each page becomes a route, which means a new page shows up in the preview without extra setup.


The project's lint applies the import's rules on your computer, so you can catch most problems before you import. To add behavior, build it in the code package, for example a custom component for a new piece of UI or a Data Source that shares data with the components on a page.


Learn more:



Worth knowing: the export is a one-time snapshot and isn't synced to later changes in the editor. Re-exporting into the same folder removes your local changes, so back them up or export to a new folder first.



How to import your changes back


Importing brings your edited code back into Studio Two. Open the Studio Two dropdown, hover over Site and then Export/Import, copy the import prompt or command for your workflow and run it in your AI tool or in a second terminal.


The import saves a site revision before it writes changes and another after it succeeds, so you can restore either one from the editor's Site History. It doesn't change installed apps, CMS collections or other site data, and it doesn't publish the site.



What the import replaces


The import replaces the site's pages, shared sections, menus and theme with the exported version, and its code too when the export includes a code package. Pages that aren't in the exported site are deleted, and any changes made in the Studio Two Editor after the export are removed.


One thing worth knowing: agree on where edits happen in each phase of a project. Make editor changes before you export or after you import, and review the imported site in the editor before you publish it to a new client project.



Craft the difference. Start creating with Wix Studio


Host an exported site outside Wix


Building the exported site produces a Node server that serves each page, and you can host it on any platform that runs Node. The site isn't fully independent, though. It still loads fonts and media from Wix and calls Wix APIs for any business features on the page.


Think of an exported site as a frontend you host for a site Wix still runs. Deploy the whole exported project, not only the build, because the server loads the site's packages at runtime.


Learn more:




Current beta limitations


Some site features aren't supported in an exported site yet, so check this list before you choose export for a client project.


  • Sites with dynamic pages can't be exported.

  • An import can't add or change breakpoints, so add them in the editor and export again.

  • Lightboxes are kept on import but don't appear on the running exported site.

  • Widgets from installed apps, other than custom components, fail in the preview and the build.

  • Visitors can't log in to an exported site.

  • Custom code that waits for visitor consent, such as analytics, doesn't load.


Worth knowing: these limits apply to the exported site, not to the site in Wix. A client site that relies on dynamic pages or member login keeps running normally in Studio Two.





Tips for using export and import on client projects


Use export where it adds the most, like letting a developer refine a custom component in their own IDE or running a site through your agency's tooling, and keep day-to-day design work in the editor.


Gali Erez, VP Studio Two at Wix

“Studio Two brings together the things professionals need to do their best work. They can start with AI, work visually on the canvas, or go into code, and move between those approaches as the project requires. They stay in control of the result, while Wix provides the tools to make that work ready for clients.”

Export again before every new round of code changes so you always work from the site's current version, and treat the imported site like any other release by reviewing it before you publish.


Write down which parts of a client site live in code and which in the editor. The developer mode in Studio Two and the export both work on the same project, so a short note saves the next person on the team from overwriting the other's work.



Ready to design and code on the same canvas? Start creating with Studio Two today →



Export and import FAQ:


Can I export a Wix Studio Two site as React code?

Yes. Wix Studio Two can export a site as a standard React project that you can edit in any IDE or AI tool, preview locally and import back into the editor. The import and export feature is currently in beta, so it's subject to change and may have limitations.

An exported site includes a site package with pages, shared sections, menus and the theme, plus a code package with the site's code project if it has one. It also includes instruction files and a component catalog that help AI coding agents make changes Studio Two can import.

Importing replaces the site's pages, shared sections, menus and theme with the exported version, plus its code when the export includes a code package. Changes made in the Studio Two Editor after the export are removed, and pages missing from the export are deleted. The import saves site revisions you can restore from Site History.

Yes. Building an exported site produces a Node server you can host on any platform that runs Node. The site still loads fonts and media from Wix and calls Wix APIs for business features, so it works as a frontend you host for a site Wix still runs.

While the feature is in beta, sites with dynamic pages can't be exported, imports can't add breakpoints and visitors can't log in to an exported site. Lightboxes don't appear on the running site, and custom code that waits for visitor consent doesn't load.


RELATED ARTICLES

Find new ways FWD

Thanks for submitting!

By subscribing, you agree to receive the Wix Studio newsletter and other related content and acknowledge that Wix will treat your personal information in accordance with Wix's Privacy Policy.

Do brilliant work—together

Collaborate and share inspiration with other pros in the Wix Studio community.

Image showing a photo of a young group of professionals on the left and a photo highlighting one professional in a conference setting on the right
bottom of page