> ## 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:

**1. Open the Export links modal**

In your Dub workspace, navigate to your [short links page](https://app.dub.co/links).

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

![Click on the more options dropdown menu to open the export links modal](https://mintcdn.com/dub/HiK27QP5TPB3P_le/images/dub-links/links-dropdown.png?fit=max\&auto=format\&n=HiK27QP5TPB3P_le\&q=85\&s=fa1ae1e357674a2eb9398f4b61f5fd76)

**2. Select the date range**

Choose the date range for the links you want to export. By default, Dub will export all links.

![Select the date range for the links you want to export](https://mintcdn.com/dub/2odcH-mdlu39xaWT/images/dub-links/export-link-modal.png?fit=max\&auto=format\&n=2odcH-mdlu39xaWT\&q=85\&s=3070ed1a5c9a144fe6cacf7a62866f72)

**3. 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.

![Select the columns that you want to export](https://mintcdn.com/dub/2odcH-mdlu39xaWT/images/dub-links/export-links-columns.png?fit=max\&auto=format\&n=2odcH-mdlu39xaWT\&q=85\&s=9c80e891aef8cd2129b342186b937f39)

**4. Apply current filters**

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.

![Apply current filters to the links you want to export](https://mintcdn.com/dub/2odcH-mdlu39xaWT/images/dub-links/export-links-columns-with-filters.png?fit=max\&auto=format\&n=2odcH-mdlu39xaWT\&q=85\&s=e52826cccba2faa929ed9f70f4365435)

**5. Download the data**

Once you have selected the date range and columns to export, click on **Export links**.

After the export has finished processing, you'll receive an email with link to download the exported CSV file.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.