> ## Documentation Index
> Fetch the complete documentation index at: https://dub.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How to export links from Dub

> Learn more about how to export your links from your Dub workspace to a CSV file.

In your Dub workspace, you can export your links to a CSV file. This is useful if you want to analyze the data locally or share them with an external stakeholder.

To export your links, follow these steps:

<Steps>
  <Step title="Open the Export links modal">
    In your Dub workspace, navigate to the **Links** tab.

    Then, click on the `⋮` button to open the more options dropdown menu. Select the **Export links** option.

    <Frame>
      <img src="https://assets.dub.co/help/links-dashboard-dropdown.png" alt="Click on the more options dropdown menu to open the export links modal" />
    </Frame>
  </Step>

  <Step title="Select the date range">
    Choose the date range for the links you want to export. By default, Dub will export all links.

    <Frame>
      <img src="https://assets.dub.co/changelog/export-links.png" alt="Select the date range for the links you want to export" />
    </Frame>
  </Step>

  <Step title="Select the columns to export">
    Dub will export the following columns by default:

    * Short link
    * Destination URL
    * Clicks
    * Created at

    You can select the columns you want to export under the **Columns** section.

    <Frame>
      <img src="https://assets.dub.co/help/export-links-columns.png" alt="Select the columns that you want to export" />
    </Frame>
  </Step>

  <Step title="Apply current filters" optional>
    Optionally, you can choose to apply the current filters to the links you want to export. If you do, Dub will export the links that match the current filters; otherwise, it will export all links.

    <Frame>
      <img src="https://assets.dub.co/help/export-links-columns-with-filters.png" alt="Apply current filters to the links you want to export" />
    </Frame>
  </Step>

  <Step title="Download the data">
    Once you have selected the date range and columns to export, click on **Export links**.

    After a few seconds, the CSV file will be downloaded to your computer.
  </Step>
</Steps>
