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.

  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 bulk data dump of all your collections and environments in Postman. You can then import the data into any Postman instance. If you are on a team, only Team Admins and Super Admins can do a bulk data export.

To export a data dump, do the following:

  1. Select your avatar in the Postman header, then select Settings.

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

  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

When the export is ready, you'll get an email with a link to download the bulk data file. 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