Twitter Card Validator

Preview how your link looks as an X card before you post it. Check twitter:card, twitter:image and the Open Graph fallbacks, free.

Trusted by 10,000+ users

How to validate your Twitter card

  1. 1

    Paste your URL

    Any public page. We fetch it and read every twitter: and og: tag in its head.

  2. 2

    See the X card

    The result opens on the X preview: summary_large_image or summary, with the image, title and domain X will use.

  3. 3

    Fix what's flagged

    Each problem links to a plain-English fix, with the exact tag to add. Re-run the check to confirm it is live.

Why X's own Card Validator no longer helps

In 2022 X removed the preview from its Card Validator at cards-dev.twitter.com. The page still loads, but it no longer shows the card your link will produce. X's suggestion is to start composing a post and look at the preview there.

That works for a quick look, but it tells you nothing about why a card is broken. This validator shows the same card without posting and lists each tag it read, so you can see which one is missing or wrong.

The tags X reads, and what it falls back to

X reads Open Graph tags when a Twitter-specific tag is missing. twitter:card is the exception: it has no fallback, and without it your link can post as a bare URL.

TagFalls back toNotes
twitter:cardNonePicks the layout. Use summary_large_image for a full-width image.
twitter:titleog:titleOnly set it when X should show different copy.
twitter:descriptionog:descriptionOnly set it when X should show different copy.
twitter:imageog:image1200 × 630 for summary_large_image; under 5 MB.
twitter:siteNoneThe publisher's @handle. Attribution only; no effect on layout.
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@yourhandle" />
<meta property="og:title" content="Your page title" />
<meta property="og:description" content="One or two sentences." />
<meta property="og:image" content="https://example.com/og.png" />

Twitter card image size

For summary_large_image, X asks for an image close to 2:1, at least 300 × 157 and at most 4096 × 4096 pixels, under 5 MB, as JPG, PNG, WebP or GIF (an animated GIF shows only its first frame).

The standard 1200 × 630 Open Graph image works: at 1.91:1 it loses only a sliver at the top and bottom when X crops it to 2:1, so keep text away from those edges.

Need an image at the right size? Create one with the free OG image generator and download a ready 1200 × 630 PNG.

Fix a broken X card

Twitter Card Validator

Frequently Asked Questions

Answers to the questions people ask most about previews, missing images and stale caches.

What is a Twitter card validator?

A Twitter card validator fetches a URL, reads its Twitter Card and Open Graph tags, and shows the card X will build from them: the layout, image, title, description and domain. It flags missing or broken tags before you post the link.

What happened to X's own Card Validator?

In 2022 X removed the preview from its Card Validator at cards-dev.twitter.com. The page still exists, but it no longer shows you the card. X now suggests composing a post to see the preview, which means publishing to test. This validator shows the preview without posting anything.

Why is my Twitter card not showing an image?

The usual causes are a missing twitter:card tag, an og:image that is a relative URL or returns an error, an image under X's 300 × 157 pixel minimum, a file over 5 MB, or an SVG, which X does not render. Run the URL through the validator; each of these is flagged with a fix.

Why does X show a small thumbnail instead of a large image?

Usually twitter:card is set to summary rather than summary_large_image, or is missing. It can also happen when the image is too small for the large layout. Set summary_large_image and use a 1200 × 630 image.

Do I need twitter:image if I already have og:image?

No. X falls back to og:image, og:title and og:description. twitter:card is the one tag with no Open Graph fallback, so it is the one to add.

I fixed my tags. Why does X still show the old card?

X caches card data per URL, and posts that already exist keep their old card. Confirm the new tags are live here, then share the link again. Adding a query string such as ?v=2 gives X a fresh URL to fetch.

Is this Twitter card validator free?

Yes. There is no sign-up and no limit on the URLs you check. The same scan also previews Facebook, LinkedIn, WhatsApp and Discord.

Templates

Get more clicks with a better-converting image

Choose one of our free high-converting templates, customise in seconds, download and start sharing.

support