X (Twitter) card validator alternative
X reads twitter: tags first and falls back to Open Graph. X retired its official Card Validator preview, so you need another way to check cards.
Tags X (Twitter) reads
| Field | Tags, in fallback order |
|---|---|
| Card type | twitter:card |
| Title | twitter:title → og:title |
| Description | twitter:description → og:description |
| Image | twitter:image → og:image |
Image requirements
| Recommended | 1200×628 for summary_large_image, 400×400 for summary |
|---|---|
| Minimum | 300×157 (large) or 144×144 (summary) |
| Maximum weight | 5 MB |
| Formats | JPEG, PNG, GIF, WebP |
Card layout
summary_large_image shows a full-width image with the title overlaid and “From domain” underneath. summary shows a square thumbnail beside the text.
How to refresh the X (Twitter) preview cache
There is no public refresh. Cards are cached for about a week, so change the URL (for example ?v=2) to force a new fetch.
Common problems
- Small card instead of a large image: set twitter:card to summary_large_image.
- No card: robots.txt blocks Twitterbot, or the image is over 5 MB.
Rule confidence: documented.