Export data from Postman
You can export your Postman data, including collections, environments, and global variables, as JSON files. You can import these files back into any Postman instance, share them with others, or use them with the Postman CLI.
You can connect your workspace to a Git repository to ensure continuous flow of your data from and to the repository and help you and your team maintain a single source of truth. You can keep your data local and push updates to Postman Cloud when you’re ready. For more information, see Native Git.
Export collections
- Click Collections in the sidebar.
- Click
View more actions next to a collection, then select More > Export collection.
- (Optional) Invite teammates or click Copy Collection Link to share the collection.
- Click Export JSON to download the generated JSON file.
Export environments
- Click Environments in the sidebar.
- Click
View more actions next to an environment, then Export. The file will download automatically.
Tip
To export your global variables, click Variables in the upper-right of the workbench to open the variables pane. Click Globals in the sidebar, then click Export in the workbench.
Import a data dump into Postman
If you previously exported 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 that lists the IDs of all exported collections and environments.
To import the data dump into Postman, do the following:
- In a workspace, click the
menu in the sidebar, then click Import.
- Drag the unzipped data dump folder into the import window.
- Select the environments and collections you want to import, then click Import.
Learn more about importing data into Postman.