Discord documents link previews and adds component embeds for websites
What changed
On October 5, 2026 Discord let websites customize link previews by adding a discord:component-embed JSON payload, which Discord renders with a Components V2 layout. Component embeds are display-only and need no app or bot. Messages with such previews have a new components embed type. Discord also published Link Previews documentation listing the Open Graph, Twitter Card and oEmbed tags it reads. The docs warn that link previews are subject to change.
What it means
Websites can control how their links look when shared in Discord, and Discord now documents which Open Graph, Twitter Card and oEmbed tags it reads.
Who is affected
Publishers and marketers who share links to their site in Discord, and bots that read embeds from messages.
What to do by 5 Oct 2026
Optional. Check your Open Graph tags against Discord's Link Previews docs, and add a discord:component-embed JSON payload if you want a custom preview layout.
What this means for you
When you paste a link into Discord, it shows a little card with a title and picture. Discord has now written down exactly how it builds that card, and a website can even design its own card. If your links look wrong in Discord, the new guide explains which tags on your page to fix.
The details
- Component embed: a
<script id="discord:component-embed" type="application/json">in the page<head>, or a<link rel="discord:component-embed">to a JSON file on the same site. The payload is limited to 3,000 bytes. - Allowed components: Action Row, link-style Button, Section, Text Display, Thumbnail, Media Gallery (10 items across the embed), Separator and one top-level Container.
- Requirements: server-rendered markup (Discord does not run scripts), reachable by
Discordbot/2.0, the whole fetch including images within 10 seconds, and Open Graph tags as a fallback. - Message data: previews built this way have embed type
componentswith acomponentsarray holding one Container. - Standard previews: Discord reads
og:title,og:description,og:site_name,og:image(andtwitter:equivalents),og:video(video/mp4,video/webm,video/quicktime),twitter:card, JSON-LDVideoObjectand oEmbed. At most 50 MB is fetched within 10 seconds. - Cache: previews are cached for about 30 minutes; share the URL with a new query string, such as
?v=2, to see edits at once.
What to do next
- Business owners: Nothing required. Your site's existing Open Graph tags keep working.
- Marketers and agencies: Check that pages you share in Discord have
og:title,og:descriptionandog:image, and addtwitter:cardset tosummary_large_imagefor a big image. - Developers: Bots that read embeds should handle the new
componentsembed type; sites can add adiscord:component-embedpayload under 3,000 bytes.
Primary sources
- Discord Developer change log: Component Embeds and Link Preview Docs (October 5, 2026)
- Discord Developer docs: Link Previews
- Discord Developer docs: Component Embeds
Get an email when a new API change is added
Follow new entries with the RSS feed. Each platform also has its own feed, for example X or Meta.