Import and export environments and routes

Learn how to easily import and export your environments and routes in JSON format with Mockoon

Get Mockoon latest version and start mocking!

Download

Mockoon supports two types of import/export. Full import/export based on files or a single environment or route based on the clipboard.

All environments import/export

  1. To export all environments to a file, open the Tools menu and select Export all environments:
Export all environments
  1. To import all environments from a file, open the Tools menu and select Import all environments from a file:
Import environments from a file

Environments imported from a file will be added at the end of the environments list. No data will be overwritten even if imported environments share the same names.

Single environment or route import/export

  1. To export a specific environment or route's JSON data to the clipboard, right-click on the environment or route and select Copy to clipboard (JSON):
Copy environment JSON data to the clipboard
  1. To import a specific environment or route's JSON data from the clipboard, open the Tools menu and select Import environment/route from clipboard:
Import environment JSON data from the clipboard

Environment imported from the clipboard will be added at the end of the environments list, and routes at the end of the active environment's routes list.

Currently, Mockoon supports import/export in its own JSON format. More formats will come in future releases.

Join Mockoon's mailing list to receive latest updates