> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/build/manage-workflows/view-change-history.md).

# View change history

View and restore previous versions of your workflow.

{% hint style="info" %}
**Feature availability**

Full workflow history is available on:

* **n8n Cloud:** Enterprise
* **Self-hosted:** Enterprise
  {% endhint %}

Versions from the last 24 hours are available for all users. Versions from the last five days are available on n8n Cloud Pro.

Use workflow history to view and restore previous versions of your workflows.

## Understand workflow history <a href="#understand-workflow-history" id="understand-workflow-history"></a>

n8n creates a new version when you:

* Save your workflow.
* Restore an old version. n8n saves the latest version before restoring.
* Pull from a Git repository using [Source control](/administer/use-source-control-and-environments.md). Note that n8n saves versions to the instance database, not to Git.

Changes to workflow settings do not create a new version.

{% hint style="info" %}
**Workflow history and execution history**

Don't confuse workflow history with the [Workflow-level executions list](/build/understand-workflows/understand-executions/view-executions-for-a-single-workflow.md).

Executions are workflow runs. With the executions list, you can see previous runs of the current version of the workflow. You can copy previous executions into the editor to [Debug and re-run past executions](/build/understand-workflows/understand-executions/debug-executions.md) in your current workflow.

Workflow history is previous versions of the workflow: for example, a version with a different node, or different parameters set.
{% endhint %}

## View workflow history <a href="#view-workflow-history" id="view-workflow-history"></a>

To view a workflow's history:

1. Open the workflow.
2. Select **Workflow history** <img src="https://3488703508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrPN1zU5jaYNvwH7RzxqA%2Fuploads%2Fgit-blob-a8e7ec9a91dc1491d7e6a0f4e3695e5ff1bc1d93%2Fworkflow-history.png?alt=media" alt="Workflow history icon" data-size="line">. n8n opens a menu showing the saved workflow versions, and a canvas with a preview of the selected version.

## Restore or copy previous versions <a href="#restore-or-copy-previous-versions" id="restore-or-copy-previous-versions"></a>

You can restore a previous workflow version, or make a copy of it:

1. On the version you want to restore or copy, select **Options** <img src="https://3488703508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrPN1zU5jaYNvwH7RzxqA%2Fuploads%2Fgit-blob-f19a4d097d364587b73864eaed77b12bfd8f516b%2Fthree-dot-options-menu.png?alt=media" alt="Options icon" data-size="line">.
2. Choose what you want to do:
   * **Restore version**: replace your current workflow with the selected version.
   * **Clone to new workflow**: create a new workflow based on the selected version.
   * **Open version in new tab**: open a second tab displaying the selected version. Use this to compare versions.
   * **Download**: download the version as JSON.
   * **Name version**: give the version a name and description. n8n never prunes named versions automatically. Refer to [Naming versions](/build/understand-workflows/save-and-publish-workflows.md#naming-versions) for more details. Named versions are available on n8n Cloud Pro and Enterprise, and self-hosted Business and Enterprise.

## Related resources

* [Manage workflows](/build/manage-workflows.md)
* [Configure workflow settings](/build/manage-workflows/configure-workflow-settings.md)
* [Tag workflows](/build/manage-workflows/tag-workflows.md)
* [Favorite items](/build/manage-workflows/favorite-items.md)
* [Review workflows](/build/manage-workflows/workflow-reviews.md)
* [Export and import](/build/manage-workflows/export-and-import.md)
* [n8n packages](/build/manage-workflows/n8n-packages.md)
* [Share with others](/build/manage-workflows/share-with-others.md)
