Importing and exporting data

Postman can import and export Postman data, including collections, environments, data dumps, and globals. Postman can also import non-Postman data in the form of API schemas to help you consolidate your API development workflow.

Contents

Importing data into Postman

You can import your Postman data (e.g. collections) as well as your API specifications directly into the app.

To import your data into Postman, click Import in the upper-left corner of the Postman app.

Import modal

You can import your data via files, folders, links, or raw text.

Importing Postman data

You can import Postman data you previously exported, including collections, environments, data dumps, and globals.

To import Postman data, click Import. Select your file or folder, input your link, or paste your raw text. Postman will automatically recognize Postman data, confirming the name, format, and what the file will import as. Click Import to bring your data into Postman.

Import collection and environment

Importing API specifications

Postman supports the following API specification formats:

To import your API specifications into Postman, click Import. Select your file or folder, input your link, or paste your raw text. Confirm the name, format, and what you would like your data to import as, then click Import to bring your data into Postman.

Import file

You can also configure your Import Settings, which will differ depending on your API specification.

Exporting Postman data

You can export your Postman data, including collections, environments, data dumps, and globals, as JSON files. These files can be imported back into any Postman instance, or utilized by Newman, Postman's command-line collection runner.

Exporting collections

You can export your collections from the Postman app by selecting the ... next to the collection, then Export.

Export collection menu

You can then select the format you'd like your collection to export as. Click Export to download your newly generated JSON file.

Export collection format

Learn more about Postman's v1 and v2 formats.

Exporting environments

You can export your environments from the Postman app by selecting the gear icon in the upper-right corner to open Manage Environments. Click the download symbol next to your environment to download your newly generated JSON file.

Export environment menu

Exporting data dumps

You can export a data dump of all of your collections, environments, globals, and header presets in Postman. Select the wrench icon in the upper-right corner to open Settings. Click to open the Data tab, then Download to save the newly generated JSON file of your Postman data.

Export data dump

Next steps

Learn more about Postman's API workflow.