# Exporting, Importing, and Sharing Workflows
In this chapter you will learn how to export and import workflows, as well as share your workflows on the n8n workflows (opens new window) page.
# Exporting and importing workflows
Workflows can be saved locally as JSON files. This is useful if you want to share your workflow with someone else or import a workflow from someone else.
⚠️ Sharing credentials
Note that the exported JSON file of your workflow will contain your credentials as well. If you don’t want to share your credentials (recommended), delete them from the JSON file.
You can export and import workflows in two ways:
- From the Editor UI:
- Export: In the left panel, click on Download under the Workflow section. This will download your current workflow as a JSON file on your computer.
- Import: In the left pane, click on Import from URL (to import a published workflow) or Import from File (to import a workflow as a JSON file).
- From the command line:
# Sharing workflows
We love to see what users build with n8n and discover inspiring workflows while also sharing our ideas with them! On the n8n workflows page (opens new window) you can find hundreds of workflows contributed by our team or community of users. Feel free to share your workflows too!
Of course, since many users take this course and build the same workflow, there is no point in sharing Nathan’s workflow on the workflows page. However, we encourage you to build other helpful and original workflows and share them with the community.
To share a workflow, follow these steps:
Sign in to n8n.io (opens new window).
Click on the + Share New Workflow button.
Enter the name of your workflow in the Name field. The name should be descriptive for the purpose of the workflow and easy for other users to understand.
In the Description field, add a screenshot of your workflow and write a description below it.
- The screenshot should capture the entire Editor UI.
- The description should list all the nodes used in the workflow and the function they serve. You should also mention any prerequisites for building the workflow.
💡 Workflow description template
This is an example (opens new window) of a well-written description that you can use as a template for your own workflows.
In the Editor UI, select all the nodes in your workflow (Ctrl + A or Cmd + A) and copy them (Ctrl + C or Cmd + C).
In the Workflow Code field, delete the existing code and paste your workflow in it (Ctrl + V or Cmd + V).
Click on the Publish Workflow to Share button to share your workflow.
Now your workflow will be reviewed by our team and if all is well, it will appear on the n8n workflows page for everyone to see and use!