SEO

Twitter Card Tags

Also called X card tags, twitter:card

Markup read by X that sets the card layout, title, text and image shown when a link is posted.

Quick facts: Twitter Card Tags

Category
SEO
Also called
X card tags, twitter:card
Level
Beginner
Affects
Link preview layout on X, post click-through, referral traffic
Where to see it
Page source, the X post composer preview
In this article4
  1. How Twitter Card tags work
  2. Why Twitter Card tags matter
  3. Common mistakes with Twitter Card tags
  4. How to act on it

How Twitter Card tags work

When a link is posted on X, the platform fetches the page and looks for tags with a twitter prefix. The name has outlasted the rebrand, so the markup is still written as twitter:card, twitter:title, twitter:description and twitter:image. The first of those is the one that changes the layout: a summary card puts a small square image beside the text, while the large-image variant gives the picture the full width of the post.

The part people miss is the fallback. If a page has no twitter tags but does have Open Graph tags, X will generally use those instead. That is why a page can preview correctly on X without a single twitter tag in its source — and why the honest answer to “do I need them?” is usually “only where you want X to differ from everywhere else”.

Why Twitter Card tags matter

A post on X is short. The card is often larger on screen than the words above it, so the image and headline are carrying the click, not your copy. Choosing the large-image card for an article and the compact one for a routine page is a real decision about how much attention a link deserves.

They also let you write for a different audience without touching the rest of the site. The wording that suits a professional network is rarely the wording that suits X, and separate tags mean you can be blunter or more specific there while leaving the page’s own title and the previews on other platforms alone.

Common mistakes with Twitter Card tags

The first is duplicating Open Graph exactly. If the title, description and image are identical, the extra tags add weight to the page and nothing to the preview; leave them out and let the fallback do its job.

The second is a broken or unreachable image. The file has to be publicly fetchable, and a large one on a slow connection can time out before the card is built, so a heavy hero photo is a genuine cause of blank previews. The third is expecting to see changes instantly: the platform caches what it fetched, and the old card can persist after the page is fixed.

Finally, X no longer runs the public card validator it once offered, so a workflow built around that tool has quietly stopped working. Checking now means drafting a post with the URL and looking at the preview before you publish it.

How to act on it

Decide first whether X is a channel you genuinely use. If it is not, set good Open Graph tags, let X inherit them and spend the time elsewhere. If it is, set the card type deliberately per page, give articles their own image and a headline written for that feed, and credit the account so the card carries your name.

Then test on a phone. Cards are cropped differently at small sizes and text placed near the edge of an image disappears. Where link previews are part of how you distribute posts, fold the check into your social media marketing process so nothing goes out untested.

Do and do not

Do

  • Set the card type deliberately for articles and key pages
  • Keep images light enough to fetch on a slow connection
  • Check the preview in a draft post before publishing

Do not

  • Duplicate Open Graph values into twitter tags for no reason
  • Rely on the retired public card validator
  • Place important text near the edge of the image

Questions people ask about this

Do I still need Twitter Card tags now the platform is called X?

The markup kept its original names, so the tags themselves are unchanged. Whether you need them is a separate question. X reads Open Graph tags when the twitter ones are missing, so most sites get a correct preview without them. Add them only where you want the title, description, image or card layout on X to differ.

Why is my card showing no image?

Usually the image cannot be fetched. Check that the URL is absolute rather than relative, that the file is not blocked from crawling, and that it is not behind a login or a firewall rule. Very large images can also time out while the card is being built. If the page was recently fixed, a cached older version may still be showing.

Can I use a different headline on X from the one on the page?

Yes, and it is often sensible, because the audience and the reading context differ. Keep it honest, though. A card headline that promises something the page does not deliver produces a click and an immediate exit, which helps nobody. Make it a sharper version of the same message rather than a different message.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.