# Export pipeline from Azure DevOps

You can export your build and release definition from the Azure DevOps portal as a JSON file. To do so, follow the steps outlined below:

## Build

1. Click on spaceship icon from the left-side menu.
2. Select the build definition you want to export (if you have more than one).
3. Click on the 3-dots-menu icon as pictured below.
4. From the list of options, select Export.&#x20;

![](https://534879326-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMlY6_3lslz22cVc3_a%2F-LMzkNj2BV-fB-1M7tbZ%2F-LMzkdtvQAgs-UGfi4cj%2Fexport-buildjson-steps.png?alt=media\&token=fd896ec0-e97f-48e2-8088-fb28cf6101ae)

## Release

To export the release definition select Releases from the options when you hover your mouse over the spaceship icon.

![](https://534879326-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMlY6_3lslz22cVc3_a%2F-LMzkNj2BV-fB-1M7tbZ%2F-LMzkhgu3SK1hqEuIZGE%2Fnav-release-steps.png?alt=media\&token=c15437f2-b14b-43b9-b497-7aa776a8f2bc)

1. Select the release definition you want to export (if you have more than one).
2. Click on the 3-dots-menu icon as pictured below.
3. From the list of options, select Export.&#x20;

![](https://534879326-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMlY6_3lslz22cVc3_a%2F-LMzkNj2BV-fB-1M7tbZ%2F-LMzkjuiQhagInN_xZfa%2Fexport-releasejson-steps.png?alt=media\&token=31c4edf1-35c7-466d-9263-0ad6e5ea8b53)
