A Twitter card is the preview box, with a title, a short description and an image, that X (formerly Twitter) shows when someone posts a link to your page, built from special meta tags in your page’s HTML. The tags all start with twitter:. They sit alongside Open Graph tags, which other apps read for the same job.
What is a Twitter card? #
Paste a web address into a post and, a moment later, a card appears under it. Without tags you might get a bare link. With tags you choose the picture and the words. The name “Twitter card” stuck after the platform was renamed X, and the tags still use the old twitter: prefix.
The main card types are:
- summary: a small square image beside the title and description.
- summary_large_image: a wide image above the title. This is the one most shops and blogs use.
- player: for video or audio that plays inside the post.
- app: for a mobile app download.
The IndieWeb wiki’s page on Twitter Cards lists older types such as photo, gallery and product too. X has since retired many of its old developer pages, so treat that longer list as history.
What do the tags look like? #
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@yourshop">
<meta name="twitter:title" content="Oak dining chair with woven seat">
<meta name="twitter:description" content="Solid oak, hand-woven seat, made in Yorkshire. Free UK delivery.">
<meta name="twitter:image" content="https://www.example.co.uk/images/oak-chair-wide.jpg">
<meta name="twitter:image:alt" content="Oak dining chair with a natural woven seat on a wooden floor">
| Tag | What it does |
|---|---|
twitter:card |
Picks the card type |
twitter:site |
The X account of the website |
twitter:creator |
The X account of the author |
twitter:title |
The headline on the card |
twitter:description |
The short text under the headline |
twitter:image |
A full address of the picture |
twitter:image:alt |
Words describing the picture for screen readers |
One detail catches people out. Twitter tags use name="...". Open Graph tags use property="...". Mix them up and the tag may be ignored.
Do I need Twitter tags if I have Open Graph? #
Often not all of them. X has long fallen back on Open Graph values when a Twitter tag is missing. Twitter’s own open-source WordPress plugin notes say that if you leave out the title tag, “a more generic title such as an Open Graph protocol title property” can be used instead. The usual safe setup:
- Full Open Graph tags. The Open Graph protocol says 4 are required:
og:title,og:type,og:imageandog:url. - Plus
twitter:card, so you choose the large image layout. - Plus
twitter:image:altorog:image:alt, which the protocol describes as “A description of what is in the image (not a caption)”.
Why does it matter for search? #
Twitter tags are not a ranking factor on Google. They matter one step earlier. A clear card earns more clicks from social posts, and those clicks are real people who may share, link or buy. Some of those shares turn into backlinks and brand mentions. That is off-page SEO by the back door.
The same thinking applies as for a title tag and a meta description: a plain promise that matches the page.
Why does it matter for AI answers? #
Many AI tools, chat apps and link previewers read meta tags when a link is shared or fetched. Consistent title, description and image tags across Open Graph, Twitter and the page itself give each of them the same facts. Clashing tags, such as an old price in twitter:description, can spread a wrong fact. Keep them in line with your schema markup and visible text. That is part of answer engine optimisation.
Common mistakes #
- A relative image address. Use the full
https://address, not/images/chair.jpg. - An image blocked to bots. If robots.txt or a firewall blocks the image folder, the card has no picture. Check your web application firewall rules too.
- Long titles. Twitter’s plugin notes say the title may be cut after 70 characters. Put the key words first.
- No alt text. People using screen readers get nothing. See alt text.
- Tags added by script. Many fetchers do not run JavaScript. Tags must be in the HTML the server sends. See JavaScript SEO.
- Expecting an instant change. X caches cards. IndieWeb users report that a new image may not show straight away.
A worked example #
A small UK furniture shop shares a product link on X. The card shows the shop logo, not the chair, and an old sale price.
- The owner runs the page through our meta tag checker. It shows
og:imageset to the logo by the theme, and notwitter:cardtag. - They set
og:imageto the wide chair photo, addtwitter:cardassummary_large_image, and add an alt text. - They fix the description so it matches the current price on the page.
- They check the image address loads, using the HTTP header checker for a 200 status and an image content type.
- They paste the link into a new draft post on X to see the preview, without sending it.
How to check it #
- Our meta tag checker lists every
twitter:andog:tag on a page. It works today. - Our social meta tag generator writes a full set of tags for you to paste.
- Our Open Graph checker will draw the preview.
- Use the robots.txt checker to make sure the image folder is not blocked.
- For a preview on X itself, the IndieWeb page says the old card validator lost its preview feature on 2 August 2022. Pasting the link into the post composer shows the card instead.
Questions #
Is it a Twitter card or an X card? #
Both names are used. The tags still say twitter:.
Does LinkedIn or Facebook read Twitter tags? #
They mainly read Open Graph. That is why Open Graph tags are the base layer of any content marketing share and of digital PR.
What image size should I use? #
X no longer keeps a full public reference we could check. A wide image, roughly 2 to 1, with the subject in the middle, is the safe choice for the large card.
Related words #
Sources #
- The Open Graph protocol, checked 24 November 2026
- Twitter on GitHub: WordPress plugin wiki, Cards, checked 24 November 2026
- IndieWeb wiki: Twitter Cards, checked 24 November 2026
Updated 24 November 2026 by URSY.
Cite this page: Twitter card. URSY. Updated 24 November 2026. https://ursy.com/wiki/twitter-card/ · Section links
Tools for this
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →