n8n-docs/docs/workflows/export-import.md
2023-07-18 16:11:46 +01:00

19 lines
898 B
Markdown

---
description: Export and import workflows
contentType: howto
---
# 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**: Click the Download button under the Workflow menu in the sidebar. 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, click and drag:
![Select a group of nodes](/_images/workflows/export-import/selectingnodes.gif)
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.