> ## 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 use Tags on Dub

> Easily organize & manage your links with tags on Dub.

Tags are a great way to organize your links on Dub. You can use tags to group links together and make it easier to find them later.

<Frame>
  <img src="https://assets.dub.co/changelog/new-tag-creation-flow.png" alt="Using tags to organize links on Dub" />
</Frame>

## What is a Tag?

A tag is a label that you can assign to a link. Tags are color-coded and can be created and assigned to a link in just a few clicks.

With tags, you can:

1. Organize your links by campaigns, clients, or any other categories you can think of.
2. Filter your links by tags and get a shareable link to the filtered results.
3. [Filter your analytics by tags](/help/article/filter-analytics-by-tags) to see how your campaigns are performing.

## How to create a Tag

To create a tag, navigate to the [Tags settings page](https://app.dub.co/settings/library/tags) in your Dub workspace.

<Frame>
  <img src="https://assets.dub.co/help/tags-settings-page.png" alt="Tags settings page" />
</Frame>

Click on **Create Tag** to open up the tag creation modal, where you can create a new tag and choose a color for it:

<Frame>
  <img src="https://assets.dub.co/help/create-tag-modal.png" alt="Tag creation modal" />
</Frame>

You can also create new tags directly inside the [Dub link builder](/help/article/dub-link-builder). Once you've [created a link](/help/article/how-to-create-link), click on the tag input field and type in the name of the tag you want to create.

<Frame>
  <img src="https://assets.dub.co/help/tag-dropdown.png" alt="Input the name of the tag you want to create (e.g. 'New Tag')" />
</Frame>

If the tag already exists, you can select it from the dropdown. Otherwise, press `Enter ↩` to create a new tag.

Once the tag is created, click on the "Create Link" button to assign the tag to the link.

## How to edit or delete a Tag

Tags can be edited via the [Tags settings page](https://app.dub.co/settings/library/tags) in your Dub workspace.

<Frame>
  <img src="https://assets.dub.co/help/tags-settings-page-edit.png" alt="Editing tags in the Tags settings page" />
</Frame>

Simply click on the `⋮` button to open the menu popover for the tag, which gives you the following options:

* Edit the tag
* Copy the tag's unique ID (for [programmatic API use](/help/article/how-to-use-tags#managing-tags-programmatically))
* Delete the tag

<Frame>
  <img src="https://assets.dub.co/help/tag-menu-dropdown.png" alt="Edit a tag by clicking on the ⋮ icon" />
</Frame>

You can also use the following keyboard shortcuts to manage your tags:

| Keyboard Shortcut | Action                   |
| ----------------- | ------------------------ |
| `E`               | Edit a tag               |
| `I`               | Copy the tag's unique ID |
| `X`               | Delete a tag             |

To open the tag editing modal, click on the "Edit" button. Inside the tag editing modal, you can:

* Rename the tag
* Change the color of the tag

<Frame>
  <img src="https://assets.dub.co/help/edit-tag-modal.png" alt="Tag editing modal" />
</Frame>

## Can I assign multiple tags to a link?

Yes you can. In the tags section for a given link, you can select multiple tags to assign to the link.

<Frame>
  <img src="https://assets.dub.co/help/multiple-tags-dropdown.png" alt="Assign multiple tags to a link" />
</Frame>

The tags will show up in the link's details, and you can filter your links by these tags.

<Frame>
  <img src="https://assets.dub.co/help/multiple-tags-link.png" alt="Multiple tags assigned to a link" />
</Frame>

## How many tags can I create?

The number of tags you can create depends on your plan:

* **Free plan**: Up to 5 tags
* [**Pro plan**](https://dub.co/pricing): Up to 25 tags
* [**Business plan**](https://dub.co/pricing): Unlimited tags
* [**Enterprise plan**](https://dub.co/enterprise): Unlimited tags

Check out our [pricing page](https://dub.co/pricing) for more information on our plans.

## Managing tags programmatically

You can also manage tags programmatically using the [Dub API](/docs/api-reference/introduction).

Here are a few things you can do with the API:

* [Create a New Tag](/docs/api-reference/tags/create)
* [Retrieve a List of Tags](/docs/api-reference/endpoint/retrieve-a-list-of-tags)
