*** title: Import data using the Postman VS Code extension updated: 2025-08-22T00:00:00.000Z max-toc-depth: 2 ---------------- 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/developer/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/developer/vs-code-extension/import-data/import-environment-variables/).