TechCompare LogoTechCompare

How Discord link previews work: Open Graph, oEmbed, and the embed cache

Discord embeds are fully OG-compatible. Use standard 1200x630 images. If you update your OG tags and need embeds to refresh, add a cache-busting query parameter. Test in a private Discord server before sharing publicly.

Discord generates link embeds using og:title, og:description, and og:image tags. When a user posts a URL in a Discord channel, Discord's servers fetch the page, extract the OG tags, and cache the result. The embed appears automatically with no user action needed. Image size and placement depend on the embed layout, so use a 1200x630 source when you want a reliable large preview.

By TechCompare · Updated

Platform or focus
Platforms
Social media and messaging apps
Topic detail
Discord embeds
discord-embeds

How this is calculated

Discord's embed cache is aggressive and hard to bust. Once Discord fetches your OG tags, it may cache them for hours or days. Changing the tags on your server won't immediately update embeds already posted. The workaround is to append a query parameter (?v=2) to the URL, which can make Discord treat it as a new link. If og:image is missing, unreachable, or unsuitable for the embed layout, Discord may omit the image or show a smaller preview. Discord's public guidance does not establish a universal hard minimum for every embed layout. For best results, use a 1200x630 image. Discord also respects og:site_name, og:video for embedded video, and theme-color for the embed's left border color.

Verdict

Discord fetches and stores OG tags aggressively, so changing the tags on the server may not refresh embeds already posted. Appending ?v=2 to the URL can trigger a new fetch. There is no documented universal hard cutoff for every embed layout. Use a reachable 1200x630 og:image for the best chance of a large preview, and remember that Discord can show thumbnails or omit images depending on the embed data.

More OG scenarios

Frequently asked questions

Why does Discord show an old preview after I updated my OG tags?
Discord caches embeds aggressively, for hours or days, and editing the tags on your server doesn't refresh embeds that already exist in channels. The workaround is a cache-busting query parameter - append ?v=2 to the URL and Discord treats it as a fresh link and re-fetches your tags.
Why is there no image in my Discord link embed?
Check that og:image is present, publicly reachable, and returns an image that Discord's crawler can fetch. Discord's public guidance does not define a universal hard cutoff. Use a 1200x630 image for a consistent large-preview source, then test the exact URL because embed layout and cache behavior can affect whether Discord shows a large image, thumbnail, or no image.
Can I change the color of a Discord embed's left border?
Yes, with a theme-color meta tag. Setting <meta name="theme-color" content="#5865F2"> tints the embed's accent bar to match your brand. Discord also respects og:site_name for the header line and og:video for playable video embeds, both beyond what most platforms read from OG.