> For the complete documentation index, see [llms.txt](https://docs.toomuchmedia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toomuchmedia.com/nats-admin/tools/decode-linkcode.md).

# Decode Linkcode

*Article Topics:* [*NATS Admin*](/getting-started/common-topics/nats-admin.md)*,* [*Tracking*](/getting-started/common-topics/tracking.md)

NATS provides you with the ability to decode your NATS linkcodes which provides you with details associated with the affiliate.&#x20;

Encoded linkcodes can be decoded using base64 decoding, which uses ASCII characters and binary to encode/decode links.

## Decoding Linkcodes

NATS Admins can decode linkcodes using the "Decode Linkcode" tool which can be found in the "Tools" admin in NATS.

![](/files/VThWSGVbS1PdWijVamcn)

To decode a Linkcode insert the NATS Code and click "Decode."

<figure><img src="/files/EgBGIvNrQeAcnWFzIYfE" alt=""><figcaption></figcaption></figure>

This will display a list of information including the Affiliates, campaign, program, ad tool type, ad tool id, site, tour, sub id 1, and sub id 2.&#x20;

## Decoding using the Info bar

NATS Admins can also decode linkcodes using the info bar located at the top-right of any NATS Admin page.&#x20;

<figure><img src="/files/1T8VPatN2o3UGYiRVNFn" alt=""><figcaption></figcaption></figure>

Clicking the info bar will bring up a tool for decoding linkcodes without leaving the page you are currently on.&#x20;

You can decode your linkcodes by inserting the linkcode and clicking the blue checkmark.&#x20;

<figure><img src="/files/8pxe1Kk3zxLA7wvGBcMX" alt=""><figcaption></figcaption></figure>

This will then display all the information contained within the linkcode.&#x20;

<figure><img src="/files/KeFcyqXKn781yhGI5ghP" alt=""><figcaption></figcaption></figure>

## Related Article

{% content-ref url="/pages/y5oyYFW1vJeEm1czMPBu" %}
[Generate Linkcode](/nats-admin/tools/generate-linkcode.md)
{% endcontent-ref %}

{% content-ref url="/pages/PkcHlvcNnFhznKHnZOg6" %}
[NATS Code](/using-nats/nats-admin-features/linkcodes/nats-code.md)
{% endcontent-ref %}
