> ## Documentation Index
> Fetch the complete documentation index at: https://docs.requestly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Import / Export Environments

You can easily **export environments to a** `.json` file and **import them back into Requestly** whenever needed. This helps you back up environment variables, move them across devices, or sync with teammates.

## Exporting Environments

Exporting an environment downloads a `.json` file containing all key-value variable pairs in that environment.

## How to Export an Environment

<Steps>
  <Step title="Download and Open Requestly">
    Download Requestly and open app.

    <img src="https://mintcdn.com/requestly/kJ2YgeAVYHOUrgCk/images/import-export-api-environment/674bfc44-0e08-4d28-95d8-f3ee03e61dad.png?fit=max&auto=format&n=kJ2YgeAVYHOUrgCk&q=85&s=cf58b386a1dad1d24690a6a3ad9650b5" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-environment/674bfc44-0e08-4d28-95d8-f3ee03e61dad.png" />
  </Step>

  <Step title="Open the Environments Panel">
    In the left sidebar, click on the “Environments” tab to view the list of existing environments.

    <img src="https://mintcdn.com/requestly/kJ2YgeAVYHOUrgCk/images/import-export-api-environment/61e8502f-09b6-45c7-98b1-cc882083911c.png?fit=max&auto=format&n=kJ2YgeAVYHOUrgCk&q=85&s=7f93144ca2e0c7b88c3518aa82468c62" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-environment/61e8502f-09b6-45c7-98b1-cc882083911c.png" />
  </Step>

  <Step title="Export the Environment">
    Hover over the environment you want to export, click the **three-dot menu (⋮)**, and select **Export**.

    <img src="https://mintcdn.com/requestly/kJ2YgeAVYHOUrgCk/images/import-export-api-environment/c9b297f8-767e-42bb-b6df-a39e39038870.png?fit=max&auto=format&n=kJ2YgeAVYHOUrgCk&q=85&s=fa84034577df5269fb3d37412d843361" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-environment/c9b297f8-767e-42bb-b6df-a39e39038870.png" />
  </Step>

  <Step title="Download your environment">
    A modal will appear showing the collection name.

    Click **Export** to download the `.json` file to your device

    <img src="https://mintcdn.com/requestly/kJ2YgeAVYHOUrgCk/images/import-export-api-environment/30f4ec9e-9cae-4cbd-8dd9-82dd5ab5891b.png?fit=max&auto=format&n=kJ2YgeAVYHOUrgCk&q=85&s=2b1cbb6655a826ca0cce18ad343fab24" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-environment/30f4ec9e-9cae-4cbd-8dd9-82dd5ab5891b.png" />
  </Step>
</Steps>

## Importing Environments

You can re-import an exported environment into any workspace to continue using your environment variables.

### How to Import an Environment

<Steps>
  <Step title="Download and Open Requestly">
    Download Requestly and open app.

    <img src="https://mintcdn.com/requestly/kJ2YgeAVYHOUrgCk/images/import-export-api-environment/f4c6457c-b5b0-47cf-ba9c-76d049679e8f.png?fit=max&auto=format&n=kJ2YgeAVYHOUrgCk&q=85&s=334057f528418f2721e34cc32f7f5a7f" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-environment/f4c6457c-b5b0-47cf-ba9c-76d049679e8f.png" />
  </Step>

  <Step title="Click on &#x22;Import&#x22;">
    In the top-left corner of the client, click **Import**. This opens a dropdown with multiple import options.

    <img src="https://mintcdn.com/requestly/kJ2YgeAVYHOUrgCk/images/import-export-api-environment/fa7b69fa-843e-4395-b8fa-e8afbc33c65a.png?fit=max&auto=format&n=kJ2YgeAVYHOUrgCk&q=85&s=cb9c2db33d961b6ae3696c301f11ac3c" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-environment/fa7b69fa-843e-4395-b8fa-e8afbc33c65a.png" />
  </Step>

  <Step title="Select &#x22;Requestly’s Collection & Environment&#x22;">
    Choose **Requestly’s Collection & Environment** to open the import modal.

    <img src="https://mintcdn.com/requestly/kJ2YgeAVYHOUrgCk/images/import-export-api-environment/b9646ebd-03bc-4ee8-ad57-d341eef2dfca.png?fit=max&auto=format&n=kJ2YgeAVYHOUrgCk&q=85&s=49e468c5a5308c5f5cb59825194a1aaf" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-environment/b9646ebd-03bc-4ee8-ad57-d341eef2dfca.png" />
  </Step>

  <Step title="Upload Your File">
    Click to browse or drag and drop the `.json` file containing your environment.

    <img src="https://mintcdn.com/requestly/kJ2YgeAVYHOUrgCk/images/import-export-api-environment/4d3bf267-cc75-4230-91db-013b0a326edd.png?fit=max&auto=format&n=kJ2YgeAVYHOUrgCk&q=85&s=0c1df526193d5122d2661d64d6661cf4" align="center" fullwidth="false" width="1582" height="1031" data-path="images/import-export-api-environment/4d3bf267-cc75-4230-91db-013b0a326edd.png" />

    Once uploaded, the environment will appear in your workspace under the “Environments” tab.
  </Step>
</Steps>
