# Import and Export

## Export and import workflows <a href="#export-and-import-workflows" id="export-and-import-workflows"></a>

You can export a workflow as a JSON file in two ways:

* **Download**: Select **Workflow menu** ![Workflow menu icon](https://docs.n8n.io/_images/common-icons/three-dots-horizontal.png) > **Download**. This will download the workflow as a JSON file.
* **Copy-Paste**: Select all the workflow nodes in the Editor UI, copy them (`Ctrl + c` or `cmd +c`), then paste them (`Ctrl + v` or `cmd + v`) in your desired file.

To select all nodes, or a group of nodes, you can click and drag to cover the nodes you want to select.

You can import JSON files as workflows by copying the JSON workflow to the clipboard (`Ctrl + c` or `cmd +c`) and paste it (`Ctrl + v` or `cmd + v`) into the Editor UI.
