Twitter card validator

X retired its official Card Validator preview in 2022. Paste a URL to see which card type your page asks for, what X will fall back to, and why an image might not show.

Try it: which tag wins?

Switch tags on and off. X reads twitter: tags first and falls back to Open Graph; Facebook never reads twitter: tags.

Tags on the page

X title ← twitter:title
Ship it Friday: the X-only headline

X image ← og:image

X layout: summary_large_image (full-width image)

Facebook title ← og:title
How we cut deploy time by half

Facebook image ← og:image

The two card types that matter

X still renders two link-card layouts. summary_large_image shows the image across the full width of the post (1.91:1, displayed at about 2:1) with the domain underneath. summary shows a small square thumbnail next to the title. The app and player types exist but need approval or special markup.

Minimum tags for a large card

X reads twitter: tags first and falls back to Open Graph for anything missing, so this is enough when you already have og: tags:

  • <meta name="twitter:card" content="summary_large_image">
  • og:title, og:description and og:image already on the page
  • Optional: twitter:site with your @handle, twitter:image:alt for accessibility

Checking how X actually renders it

Since the Validator’s preview pane was removed, the only first-party way to see a card is to draft a post in the X composer: the card appears after you paste the link (you don’t need to publish). X caches cards for about seven days; changing the URL (for example adding ?v=2) shows the new card immediately.

Frequently asked questions

Is the Twitter Card Validator still available?

The page at cards-dev.twitter.com/validator still loads but no longer shows a preview; it only reports whether the card loaded. This tool shows the preview and the reasons behind it.

Why does X show a small card instead of a big image?

Either twitter:card is set to summary or missing, or the image is too small. For summary_large_image the image must be at least 300×157 pixels; we recommend 1200×630. Images over 5 MB are rejected.

Do I need both twitter: and og: tags?

No. X falls back to og:title, og:description and og:image. The only tag with no Open Graph equivalent is twitter:card, so always add that one.

Which image formats does X accept?

JPG, PNG, WebP and GIF (only the first frame is used). SVG is not supported.