Discord attachment link expiry checker

Short answerDiscord attachment links carry an ex value: the hex Unix time they expire. Paste one or more cdn.discordapp.com or media.discordapp.net links below to see when each link was issued and when it expires, in UTC and in your own time zone.

Check your links

Runs in this tab. The links are read as text, never opened.

How to use it

  1. 1

    In Discord, right-click an image or file and choose Copy Link, or copy links from the Attachments column of a CSV export.

  2. 2

    Paste one or more links into the box, one per line or separated by spaces.

  3. 3

    Click Check links.

  4. 4

    Read the issued time (is), the expiry time (ex) in UTC and in your time zone, and whether the link is expired now.

Worked example

This sample link is made up: the IDs, file name and signature are invented, so it does not point to a real file.

https://cdn.discordapp.com/attachments/1100000000000000001/1200000000000000002/team-photo.png?ex=65554280&is=6553f100&hm=5a1e0b7c9d2f4a6b8c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b&

FieldResult
Issued (is=6553f100)1700000000, which is 2023-11-14 22:13:20 UTC
Expires (ex=65554280)1700086400, which is 2023-11-15 22:13:20 UTC
Signature (hm)Shown as text only; the checker never tests it
StatusExpired: the expiry time is in the past

The gap between is and ex in this made-up link is not Discord's real window. Discord says the links have a preset expiry time but does not publish how long it is.

A link with no ex, is or hm, such as cdn.discordapp.com/attachments/1100000000000000001/1200000000000000004/notes.txt, gets "No signature found". Click Try the sample above to run three sample links, including one from media.discordapp.net with uppercase hex.

What do ex, is and hm mean?

Discord's API reference describes the three parameters of a signed attachment link: ex is a hex timestamp indicating when the link will expire, is is a hex timestamp indicating when the link was issued, and hm is a unique signature that remains valid until the link's expiration. Hex means base 16, so 65554280 is the Unix time 1700086400.

Inside the Discord app, attachment links are refreshed automatically, so files keep opening there. A link you copied out of Discord keeps its old ex and stops working after that time. Discord's docs also say its standard CDN endpoints, such as emoji and avatar images, are not signed and do not expire.

More in the glossary: Attachment (CDN) link, Link expiry (ex, is, hm) and Snowflake ID.

What it can't do

  • It does not open, download or test the link. It only reads the text of the address.
  • It cannot refresh an expired link or make it work again.
  • It does not check whether the hm signature is genuine; it only shows it.
  • It cannot tell how long Discord's expiry window is. Discord does not publish it, so this page does not guess.
  • It only reads cdn.discordapp.com and media.discordapp.net links.

Privacy

Your links stay in this tab. Nothing you paste is sent anywhere. The page never opens them. The checker runs in your browser and keeps working if you go offline after the page has loaded. Nothing you paste is stored.

Keep the files, not the links

Links in old messages stop working outside Discord. DiscordSuite's Media Downloader saves files from the chat you have open to your computer.

Step by step: How to download all images from a Discord channel and How to download all attachments from a Discord channel. To keep the messages too, Chat Exporter's Download attachments saves the export and its files in one ZIP. Chat export uses the Discord session already open in your browser.

Keep the files before the links expire with Media Downloader. Add DiscordSuite to Chrome, Firefox or Edge, then compare plans.

See the Media Downloader

Frequently asked questions

Do Discord CDN links expire?

Yes, attachment links do. Links to uploaded files on cdn.discordapp.com or media.discordapp.net are signed and carry an expiry time in the ex parameter. Discord does not publish how long the window is. Inside the Discord app the links are refreshed automatically.

What do ex, is and hm mean in a Discord link?

ex is the time the link expires and is is the time it was issued, both as hexadecimal Unix timestamps. hm is the signature that keeps the link valid until its expiry time.

Can this tool make an expired Discord link work again?

No. It only reads the dates written in the link. It never opens the link and cannot refresh it. To keep a file, save the file itself while you can open it in Discord.

Why does my Discord link have no ex, is or hm?

It is an older style link or a standard CDN link, such as an emoji or avatar image. Discord's docs say standard CDN endpoints are not signed and do not expire. An attachment link without a signature may not work outside Discord either.

Is anything I paste sent to DiscordSuite?

No. Your links stay in this tab, nothing you paste is sent anywhere, and the page never opens them. Nothing is stored, and the checker keeps working offline once the page has loaded.