Export data from Postman

You can export your Postman data, including collections, environments, global variables, and data dumps, as JSON files. You can import these files back into any Postman instance, share them with others, or use them with Newman, Postman's command-line collection runner.

Export collections

  1. Select Collections in the sidebar.

  2. Select the more actions icon More actions icon next to a collection, then select Export.

    Export collection
  3. Select the export format for your collection.

    Learn more about Postman's collection format.

  4. Select Export to download the generated JSON file.

Export environments

  1. Select Environments in the sidebar.
  2. Select the more actions icon More actions icon next to an environment, then select Export.
  3. Select Save to download the generated JSON file.

To export your global variables, select Environments in the sidebar. Select Globals in the sidebar, then select Export in the workbench.

Export data dumps

You can export a data dump of all your collections and environments in Postman. You can then import the data into any Postman instance.

To export a data dump, do the following:

  1. Select the settings icon Settings icon in the header, then select Settings.

  2. Select the Data tab, then select Request Data Export.

  3. Select Export Data, then select the data types you want to export. You can export collections, environments, or both.

  4. Select Request Data Export.

    Export data dump

The Export page shows information about your data export request, including the file size, the date the export expires, and the status.

When the export is ready, you'll get an email with a link to download the data dump file. You can also download the file from the Export page by selecting Download. The download will be available for two days, after which it expires.

Import a data dump into Postman

After exporting a data dump file, you can import it into any Postman instance. You must unzip the data dump file before importing it.

Unzipping the data dump file results in a folder with a unique name. Inside you'll find a subfolder for each data type you chose to export, with individual JSON files for each exported collection and environment. You'll also find an archive.json file which lists the IDs of all exported collections and environments.

To import the data dump into Postman, do the following:

  1. Select Import in the sidebar.
  2. Drag the unzipped data dump folder into the import window.
  3. Select the environments and collections you want to import, then select Import.

Learn more about importing data into Postman.

Last modified: 2024/06/06