All tools / Messages

CDN image URL builder

Build a cdn.discordapp.com image URL for an emoji, avatar, guild icon, sticker, or default avatar, with a legal size.

Power-of-two sizes

Image URLs live under https://cdn.discordapp.com/. size must be a power of two from 16 to 4096. Default avatars and stickers ignore size. A hash starting with a_ can be animated; request WebP with animated=true. For the new username system the default avatar index is (user_id >> 22) % 6. Custom emoji should be requested as WebP. Sticker GIFs are at https://media.discordapp.net/stickers/{id}.gif. These standard endpoints are not signed and do not expire.

Related: Signed attachment URL expiry checker · Custom and unicode emoji formatter