> ## Documentation Index
> Fetch the complete documentation index at: https://bruno-a6972042-mintlify-runrequest-response-fields-17751331.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Import Export Environment Variables

<Info>
  Make sure you have Bruno version 2.14 or later installed to use this feature.
</Info>

You can import and export environment variables (collection and global) to share them across teams or back them up for later use.

## Accessing Import/Export Options

1. Go to the **Environments** section (top right corner).

<img src="https://mintcdn.com/bruno-a6972042-mintlify-runrequest-response-fields-17751331/VR-IuMSc1Pv-QG-b/images/screenshots/get-started/import-export/import-export-env/env-action.webp?fit=max&auto=format&n=VR-IuMSc1Pv-QG-b&q=85&s=8ba7bf5906af43b122948338446e6078" alt="Environment Variables location" width="2480" height="1130" data-path="images/screenshots/get-started/import-export/import-export-env/env-action.webp" />

2. Click on **Configure** to access the environment settings.

3. You will see the **Import** and **Export** options in the left sidebar.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-runrequest-response-fields-17751331/VR-IuMSc1Pv-QG-b/images/screenshots/get-started/import-export/import-export-env/environment-tab.webp?fit=max&auto=format&n=VR-IuMSc1Pv-QG-b&q=85&s=a1ff0f21e7316d571f286104a5bce4cd" alt="Export Option" width="2480" height="1092" data-path="images/screenshots/get-started/import-export/import-export-env/environment-tab.webp" />

## Importing Environment Variables

The import feature accepts environment files in both **Bruno** and **Postman** formats.

### Steps to Import

1. Click on the **Import** button in the environment configuration screen.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-runrequest-response-fields-17751331/VR-IuMSc1Pv-QG-b/images/screenshots/get-started/import-export/import-export-env/import-env.webp?fit=max&auto=format&n=VR-IuMSc1Pv-QG-b&q=85&s=bcd48c32935a1de47d59a3fa92c47420" alt="Export env" width="2480" height="1092" data-path="images/screenshots/get-started/import-export/import-export-env/import-env.webp" />

2. Select the environment file you want to import.
3. The variables will be added to your environment (global or collection, depending on which you're configuring).

<img src="https://mintcdn.com/bruno-a6972042-mintlify-runrequest-response-fields-17751331/jXZIPji0x_-zXRMz/images/screenshots/get-started/import-export/import_collection/import-env.webp?fit=max&auto=format&n=jXZIPji0x_-zXRMz&q=85&s=00763eecdea443dfe5d86121e4afc1bc" alt="Import Environment" width="2622" height="1372" data-path="images/screenshots/get-started/import-export/import_collection/import-env.webp" />

## Exporting Environment Variables

### Steps to Export

1. Go to the **Environments** section.
2. Click on **Configure**.
3. Click the **Export** button.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-runrequest-response-fields-17751331/VR-IuMSc1Pv-QG-b/images/screenshots/get-started/import-export/import-export-env/click-export-option.webp?fit=max&auto=format&n=VR-IuMSc1Pv-QG-b&q=85&s=1637126a08d0e3a3c6dcd3163093ebcb" alt="Export env" width="2480" height="1092" data-path="images/screenshots/get-started/import-export/import-export-env/click-export-option.webp" />

4. If you have multiple environments, select which environments you want to export.
5. Choose the location where you want to save the exported JSON file.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-runrequest-response-fields-17751331/rUKRDoZ5Ya4p-IKk/images/screenshots/variables/export-collection-env-location.webp?fit=max&auto=format&n=rUKRDoZ5Ya4p-IKk&q=85&s=4119b47426aaa27056d7cd2c7592d4b1" alt="Export Collection Environment Location" width="2618" height="1352" data-path="images/screenshots/variables/export-collection-env-location.webp" />

6. The environment variables will be saved as a JSON file that can be shared or backed up.

The export procedure is the same for both collection and global environment variables.

<Warning>
  Secret variables (variables marked as secret) will not be included in the exported JSON file for security reasons.
</Warning>
