Launchpack
Free tool · X (Twitter)

Twitter card validator

X took the preview out of its own Card Validator. Paste a URL to see your card in light and dark mode, check your tags and image against X's rules, and get a list of what to fix.

Try: ·

What happened to X's Card Validator

For years, cards-dev.twitter.com/validator showed exactly how a link would look in a tweet. In 2022 X removed that preview, and the page no longer shows your card. X hasn't released a replacement. There are now two ways to check a card:

  1. Paste the link into the X post composer and look under the text box. That's the real card, but it can be the cached version, and it doesn't tell you what's wrong.
  2. Use a validator like this one: it reads the same tags X reads, shows an approximate card in light and dark mode, and lists each problem with the fix.

Card types

twitter:cardWhat it showsImage
summary_large_imageA wide image across the post, with your domain on it2:1; use 1200 × 630 or 1200 × 600; at least 300 × 157
summaryA small square thumbnail beside the title and description1:1; at least 144 × 144
playerInline video or audioNeeds approval from X
appAn app with store linksUses the store listing

For a product, a launch or an article, use summary_large_image. Images must be under 5 MB, as JPG, PNG, WebP or GIF (X uses the first frame of a GIF). SVG isn't supported. More on sizes in the OG image size guide.

The tags X reads

X falls back to your Open Graph tags for the title, description and image, so most sites need only one extra line:

<meta name="twitter:card" content="summary_large_image">
<meta property="og:title" content="Your product: what it does">
<meta property="og:description" content="One sentence on who it's for and why.">
<meta property="og:image" content="https://yourdomain.com/og-image.png">

Add twitter:title, twitter:description or twitter:image only if you want X to show something different from other platforms. The meta tag generator writes the full set.

If your card doesn't show

  • Tags added by JavaScript: X's crawler doesn't run it. The tags must be in the HTML the server sends.
  • The image is blocked: robots.txt, a login, or bot protection in front of the image stops X fetching it.
  • A relative image URL like /og.png: use the full https address.
  • The old card is cached: share the link with ?v=2 added to see the new one.

The OG image not showing guide goes through every cause, and the link preview checker shows the same link on LinkedIn, Slack, Facebook and iMessage.

No card image yet?

Launchpack makes a 1200 × 630 image from your name, tagline and a screenshot in 30 seconds, plus the X header and post image in the same style. The card image is free.

Make my card image

Questions

Does the official Twitter Card Validator still work?

X removed the card preview from its Card Validator in 2022, and it no longer shows how your link will look. To see the real card, paste your URL into the post composer on x.com and look under the text box without posting. This validator reads the same tags and shows an approximate preview with a list of fixes.

What size should a Twitter card image be?

For the large card (summary_large_image), X shows the image at 2:1. Use 1200 × 630 (or 1200 × 600), at least 300 × 157, under 5 MB, as JPG, PNG, WebP or GIF (only the first frame of a GIF is used). For the small summary card the image is shown square: at least 144 × 144.

What's the difference between summary and summary_large_image?

summary shows a small square thumbnail beside the title. summary_large_image shows a wide image across the full width of the post, which gets more attention. For a product or article link, use summary_large_image.

Do I need twitter:title and twitter:image if I have Open Graph tags?

No. X falls back to og:title, og:description and og:image. You do need twitter:card, because there is no Open Graph equivalent for the card type.

Why does X still show my old card?

X caches cards. Once your tags are fixed, share the URL with something added, like ?v=2, and the new card appears. The old URL updates when X's cache expires.

Do you store the URLs I check?

No. The page is fetched once to read its tags, and nothing is saved or logged.