> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt. For full content including API reference and SDK examples, see https://learning.postman.com/llms-full.txt.

# Import data using the Postman VS Code extension

With the Postman VS Code extension, you can import collection and environments that you exported from Postman. You can also import and sync environment variables from your API project's `.env` files.

## Import data into the VS Code extension

You can import your collections and environments using the VS Code extension from files, folders, or a curl command.

To learn more, see [Import Postman data using the Postman VS Code extension](/docs/reference/vs-code-extension/import-data/import-postman-data/).

## Import environment variables from your project

You can use the VS Code extension to import your `.env` files with environment variables from your API project into Postman. Each `.env` file is imported into Postman as an environment. Once your files are imported, you can sync changes made to your files, updating your environments in Postman.

To learn more, see [Import environment variables using the Postman VS Code extension](/docs/reference/vs-code-extension/import-data/import-environment-variables/).