> ## Documentation Index
> Fetch the complete documentation index at: https://interceptor-docs.requestly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download Rules

> Learn how to download HTTP rules for  sharing as files.

***

Downloading HTTP rules allows you to save them locally for offline use or share them as files with others. This feature provides flexibility for scenarios where direct sharing through workspaces or Shared Lists is not possible.

## Why Use the Download Option?

* **Internal Documentation:** Maintain a local copy for internal documentation or historical reference.

* **Reusable Templates:** Use the downloaded rules as templates for creating similar configurations in other environments or projects.

* **Automation:** Automate workflows by integrating the downloaded file using Requestly Interceptor's public API.

* **Backup Storage:** Safeguard your rules by keeping a backup that can be re-imported when needed.

* **Flexible Sharing:** Share the file with external collaborators who may not have direct access to your workspace or Shared Lists.

## Steps to Download Rules

<Steps>
  <Step title="Navigate to &#x22;My Rules&#x22;">
    Go to HTTP Rules, and open "My Rules" from the left sidebar. Select the rules you wish to download by checking the boxes next to the rules.

    <img src="https://mintcdn.com/interceptor/XXK0nJZwW3sklrNQ/images/download-rules/1da1190e-db5d-46ec-a4e3-e2d87d54db70.png?fit=max&auto=format&n=XXK0nJZwW3sklrNQ&q=85&s=7e5c5565ddd94694ed6a2bd67b2f1485" align="center" fullwidth="false" width="2400" height="1460" data-path="images/download-rules/1da1190e-db5d-46ec-a4e3-e2d87d54db70.png" />
  </Step>

  <Step title="Open the Share Modal & Switch to the Download tab">
    Click on the "Share" button located in the toolbar appear after selecting rules. This action will open the Share modal. Switch to the Download tab.

    <img src="https://mintcdn.com/interceptor/XXK0nJZwW3sklrNQ/images/download-rules/0cce6ec7-f7bf-48d9-a545-a02115beb614.png?fit=max&auto=format&n=XXK0nJZwW3sklrNQ&q=85&s=09be0e3e8e0e499a4a3f761568685cb5" align="center" fullwidth="false" width="2400" height="1272" data-path="images/download-rules/0cce6ec7-f7bf-48d9-a545-a02115beb614.png" />
  </Step>

  <Step title="Save the File">
    Click on the “Download rule” button to download a JSON file having all the selected rules.

    <img src="https://mintcdn.com/interceptor/XXK0nJZwW3sklrNQ/images/download-rules/922263f0-7083-435c-8e2b-3708f8123d74.png?fit=max&auto=format&n=XXK0nJZwW3sklrNQ&q=85&s=ed0f944d7e3fd62cf9fe0c5b055fa8bd" align="center" fullwidth="false" width="2400" height="1434" data-path="images/download-rules/922263f0-7083-435c-8e2b-3708f8123d74.png" />
  </Step>
</Steps>

## Steps to Import Rules

<Steps>
  <Step title="Open the Import Feature">
    Go to HTTP Rules, open "My Rules" from the left sidebar, and click on the "Import" button in the toolbar.

    <img src="https://mintcdn.com/interceptor/XXK0nJZwW3sklrNQ/images/download-rules/10c6f812-0829-478b-aadc-3b19d5e6d5cf.png?fit=max&auto=format&n=XXK0nJZwW3sklrNQ&q=85&s=7a6ae2988e7ecf78d01b71816601df3f" align="center" fullwidth="false" width="2400" height="1360" data-path="images/download-rules/10c6f812-0829-478b-aadc-3b19d5e6d5cf.png" />
  </Step>

  <Step title="Upload the File">
    Select the downloaded file from your device and upload it using the import dialog.

    <img src="https://mintcdn.com/interceptor/XXK0nJZwW3sklrNQ/images/download-rules/0ffade2d-5acc-4445-8321-ee2583d9da26.png?fit=max&auto=format&n=XXK0nJZwW3sklrNQ&q=85&s=4296b3588314a2fb1a2fbbaf1c32ab45" align="center" fullwidth="false" width="2400" height="1272" data-path="images/download-rules/0ffade2d-5acc-4445-8321-ee2583d9da26.png" />
  </Step>

  <Step title="Confirm and Save">
    Review the rules in the preview section and click "Import" to add them to your workspace.

    <img src="https://mintcdn.com/interceptor/XXK0nJZwW3sklrNQ/images/download-rules/04f94ae6-2b8e-4096-8cdd-d0ba0a0351e2.png?fit=max&auto=format&n=XXK0nJZwW3sklrNQ&q=85&s=9845e57636ba3800b50af84f428fad79" align="center" fullwidth="false" width="2400" height="1272" data-path="images/download-rules/04f94ae6-2b8e-4096-8cdd-d0ba0a0351e2.png" />
  </Step>
</Steps>
