---
title: "Copy a decision model variant"
slug: "copy-a-decision-model-variant"
abstract: "There are different methods to copy a decision model variant in Sitecore Personalize. You can use a base variant, clone an archived variant, export a variant as XML or PNG file, and import XML files."
---
# Copy a decision model variant

Sitecore Personalize lets you copy a decision model variant in several ways, helping you create new decision model variants based on existing ones without starting from scratch.

## Copy a base variant

When creating a new decision model variant, you have the option to use an existing variant as its base. Doing so allows you to retain the original variant while having a duplicate that you can edit.

To copy a base variant:

1. On the **Decision Model** page, in the **Draft** column, click **Add Variant**.

    ![The Decision Model Profile page displays the different decision model variants and their states.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Move_states_archive2.png)

2. In the **Choose a Base Variant** dialog, select the radio button next to the variant you want to use as the base.
3. Click **Get Started**.
4. In the **Title of new variant** field, enter a name for the decision model variant.
5. Click **Create**. The new decision model variant will appear in the **Draft** column, containing the content of the base variant.

## Clone an archived variant

You can clone any archived decision model variant. Cloning lets you copy and reuse the same logic and structure of a variant that is no longer editable.

To clone an archived variant:

1. On the **Decision Model** page, in the **Archive** column, find the variant you want to copy and click **Clone**.
2. In the **Title of new variant field**, enter a name for the decision model variant.
3. Click **Create**. The cloned decision model variant will appear in the **Draft** column.

## Export a variant as a PNG file

You can export a decision model variant as a `.png` file to create a snapshot of it. Unlike an [XML export](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-decisioning-in-sitecore-personalize/managing-decision-model-variants-in-sitecore-personalize/copy-a-decision-model-variant.html#UUID-75f2228a-f087-5bdf-8c18-53be689d6080_section-idm4622936990560034049056450219 "Export a variant as an XML file"), a PNG export provides only a static image of the layout and design of the variant. You can use it as a visual reference when creating a new variant.

To export a variant as a PNG file:

1. On the **Decision Model** page, click the decision model variant you want to export as a PNG file.
2. In the decision canvas, click **Export as PNG** ![ExportPNG.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/ExportPNG.png).
3. Click **Download**. The `.png` file of the variant will download to your default location.

## Export a variant as an XML file

You can export a decision model variant as an `.xml` file to create a backup, share it with others, or reuse the exported content to a different environment.

To export a variant as an XML file:

1. On the **Decision Model** page, click the decision model variant you want to export as an XML file.
2. Remove any data systems added to the variant from the decision canvas to avoid errors when [importing the XML](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-decisioning-in-sitecore-personalize/managing-decision-model-variants-in-sitecore-personalize/copy-a-decision-model-variant.html#UUID-75f2228a-f087-5bdf-8c18-53be689d6080_section-idm4597782113368034049070471867 "Import an XML file into a variant").
3. Click **Export as XML** ![ExportXML.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/ExportXML.png). The `.xml` file of the variant will download to your default location.
4. When the export is complete, you must manually re-add any removed data systems to continue working with the variant.

## Import an XML file into a variant

You can reuse the structure and logic of an existing decision model variant by importing it into a new variant.

To import an XML file into a variant:

1. On the **Decision Model** page, click the decision model variant where you want to import an XML file.
2. On the decision canvas, click **Import XML** ![ImportXML.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/ImportXML.png).
3. Browse the location of the `.xml` file and click **Open**. The content will load onto the decision canvas. You can use it as it is, or you can modify it as needed.