Twitter Card Validator
Preview exactly how your links appear on Twitter/X. Validate your twitter:card meta tags and fix issues before sharing.
What are Twitter Cards?
Twitter Cards are rich media previews that appear when you share a link on Twitter/X. Instead of a plain URL, Twitter displays a card with an image, title, and description — making your links far more engaging and clickable. There are four types: summary, summary_large_image, player, and app.
Twitter Card vs Open Graph tags
Twitter uses its own twitter: meta tags, but falls back to Open Graph (og:) tags if Twitter-specific tags are missing. For best results, set both. The twitter:card tag is the most important — it tells Twitter which card type to use. Without it, Twitter may not show a rich preview at all.
How to fix Twitter Card images
The recommended image size for summary_large_image cards is 1200×628 pixels. Images must be less than 5MB and use an absolute URL (starting with https://). The easiest way to generate perfect Twitter Card images is with OGMagic — one API URL gives you a perfectly-sized image for both Twitter and Facebook. Read our complete Twitter Card image guide for more details.
Why isn't my Twitter Card showing?
Common reasons: missing twitter:card tag, image URL is relative instead of absolute, image is too large (>5MB), or Twitter's cache hasn't updated. Try this tool to diagnose the issue, then check our troubleshooting guide for step-by-step fixes.
Twitter Card meta tag reference
twitter:cardRequiredCard type: summary, summary_large_image, player, or apptwitter:titleRecommendedTitle shown on the card (max ~70 chars)twitter:descriptionRecommendedDescription shown on the card (max ~200 chars)twitter:imageRecommendedImage URL (1200×628px for large image, 144×144px min for summary)twitter:image:altOptionalAlt text for the image (accessibility)twitter:siteOptionalYour site's @usernametwitter:creatorOptionalContent author's @username