Alpha: Exporting your site to code is currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.
Imports an exported site back into Studio Two. The import replaces the site's pages, shared sections, menus, theme, and code with the exported site's versions, and deletes pages that aren't in the exported site. It doesn't ask before it makes these changes, and it doesn't publish the site. For more information, see Import back into Studio Two.
By default, the command imports the exported site in the current folder into the site that you exported from.
If the exported site has images that aren't in Wix Media yet, such as images added from a URL or from a file on your computer, the command lists them and offers to upload them to the site's Media Manager first. Images that aren't in Wix Media don't display on the imported site. To upload them separately, run wix origami upload-media.
Notes:
origami flow. To use it, add the flow to the CLI.origami flow, so in its root you can also run the command with npx wix origami import-site.The following flags are available for the wix origami import-site command:
| Flag | Description |
|---|---|
--site <site> | The name or ID of the site to import into. Defaults to the site that you exported from. |
-d, --dir <path> | The folder of the exported site. Defaults to the current folder. |
--verbose | Displays diagnostic details during the import. |
--json | Outputs the result in JSON format. |
Last updated: 29 October 2026