OpenGraph Viewer

Twitter Card Validator

X took the preview out of its official Card Validator in 2022. This free validator brings it back. Paste a URL to see your X (Twitter) card and check every twitter: tag against X's limits.

Validate a Twitter Card

Fetches the page and checks the card tags X reads.

Enter a public URL like example.com or https://example.com/blog.

Paste a URL above to see how it looks on social media

Works with any public website. No login needed.

What Happened to the Official Twitter Card Validator

The old tool at cards-dev.twitter.com/validator (now cards-dev.x.com/validator) used to draw a preview of your card. Twitter removed the preview in 2022 and told developers to check cards in the post composer instead. The page still loads, but it no longer shows you the card.

That leaves two ways to check a card:

  • Paste the link into a new post on x.com. You need an account, and you see X's cached copy, which can be days old.
  • Use a validator like this one. It reads the tags straight from your page, so you see the current version.

How to Use This Validator

  1. Paste your page URL above and click Check Preview.
  2. Read the X report. Red means X won't render that part of the card.
  3. Look at the preview. The badge in the corner shows the card type you set.
  4. Fix the tags, deploy, and check again.

What This Validator Checks

  • twitter:card exists and uses a real card type.
  • The title is there and fits in 70 characters.
  • The description fits in 200 characters.
  • The image exists, uses a full https:// URL, and sits inside X's size limits for your card type.
  • Which values X will pull from your Open Graph tags when the twitter: version is missing.

Twitter Card Types

twitter:card valueWhat it looks likeUse it for
summary_large_imageA large image across the full width of the post.Blog posts, landing pages, almost everything.
summaryA small square thumbnail next to the title and description.Pages without a strong image.
playerAn inline video or audio player.Media you host yourself.
appAn app name, icon and install button.Mobile app download pages.

The Minimum Tags for a Card

X falls back to og:title, og:description and og:image when the twitter: versions are missing. So if you already have Open Graph tags, one extra line is enough:

<meta name="twitter:card" content="summary_large_image" />
<meta property="og:title" content="Your page title" />
<meta property="og:description" content="One or two sentences about the page." />
<meta property="og:image" content="https://example.com/social-image.png" />

The Twitter card tags reference lists every tag and its limit.

Why Your Twitter Card Isn't Showing

  • There's no twitter:card tag. It's the one tag X really wants.
  • robots.txt blocks Twitterbot. X's crawler obeys it, for the page and for the image.
  • The image is too big or the wrong type. Keep it under 5 MB. JPG, PNG, WEBP and GIF work. SVG doesn't.
  • The image URL is relative. Use the full https:// address.
  • The tags are added by JavaScript. Twitterbot doesn't run scripts.
  • X cached the old version. Cards are cached for about a week. Add a query string like ?v=2 to the link when you post it and X fetches it fresh.

Frequently Asked Questions

Is cards-dev.twitter.com/validator still working?

The page still loads at cards-dev.x.com/validator, but the card preview was removed in 2022. X's advice is to paste the link into the post composer to see the card. A third-party validator like this one shows the preview without an account.

Do I need twitter: tags if I already have Open Graph tags?

Only twitter:card. X falls back to og:title, og:description and og:image for everything else. Add the twitter: versions only when you want different text or a different image on X.

What size should a Twitter card image be?

For summary_large_image use a 2:1 image such as 1200x600. A 1200x630 Open Graph image works too, since X only trims a few pixels. The minimum is 300x157 and the maximum is 4096x4096. For a summary card use a square image of at least 144x144. Keep the file under 5 MB.

How do I refresh a Twitter card after changing my tags?

X doesn't have a refresh button anymore. It re-fetches cards about once a week. To force it sooner, add a query string such as ?v=2 to the URL when you post it, because X treats that as a new link.

Is it Twitter Cards or X Cards?

Same thing. The company renamed itself, but the meta tags still use the twitter: prefix and the crawler is still called Twitterbot.

Last checked Nov 30, 2026.