Export and import workflows#
n8n saves workflows in JSON format. You can export your workflows as JSON files or import JSON files into your n8n library.
You can export a workflow as a JSON file in two ways:
- Download: Select Workflow menu
> Download. This will download the workflow as a JSON file. - Copy-Paste: Select all the workflow nodes in the Editor UI, copy them (
Ctrl + corcmd +c), then paste them (Ctrl + vorcmd + v) in your desired file.
To select all nodes, or a group of nodes, click and drag:

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.