Twitter Card Validator
Preview and validate Twitter Card meta tags.
Related Tools
OG Tag Previewer
Preview Open Graph tags as they appear on Facebook, Twitter, and LinkedIn.
Use tool →Meta Tag Generator
Generate meta tags, Open Graph tags, and Twitter Card markup for any page. Real-time preview with copy and download.
Use tool →Schema.org Generator
Generate JSON-LD structured data for LocalBusiness, Product, FAQ, Article, and 12+ schema types.
Use tool →Canonical Checker
Verify canonical URL tags in your page source.
Use tool →How to Validate Your Twitter Cards
View Source on your page (Ctrl+U on Windows, Cmd+Option+U on Mac), copy the entire HTML, and paste it above. The tool parses every Twitter Card and Open Graph meta tag, shows you exactly how your card will render on Twitter/X, and runs a validation checklist against Twitter's requirements. You'll know what's missing, what's too long, and what's falling back to OG tags before you tweet a single link.
Twitter retired their official Card Validator in 2022. Third-party alternatives usually require a live URL. This tool works with raw HTML — test your cards before the page is even deployed.
What Are Twitter Cards?
Twitter Cards are meta tags that control how your link appears when someone shares it on Twitter/X. Instead of a bare URL, Twitter shows a rich card with an image, title, and description. You control this by adding <meta name="twitter:..."> tags to your page's <head>. Without them, Twitter falls back to Open Graph tags — and if those are missing too, you get whatever Twitter's crawler decides to grab.
Summary vs Summary Large Image
Twitter supports two card types for most sites. The summary card shows a small square thumbnail on the left with title and description on the right — good for articles and reference pages where the image isn't the main draw. The summary_large_image card puts a large banner image on top — ideal for blog posts with hero images, product launches, or anything visual. Set the type with <meta name="twitter:card" content="summary_large_image">.
Twitter Card Image Requirements
For summary cards: minimum 144×144 pixels, maximum 4096×4096 pixels, 1:1 aspect ratio. For summary_large_image cards: minimum 300×157 pixels, recommended 1200×600 pixels, 2:1 aspect ratio. Both types: maximum 5 MB file size, JPG, PNG, WEBP, and GIF formats supported. The image URL must be absolute (full https:// path) — relative URLs won't work.
The OG Tag Fallback Chain
Twitter reads twitter:* tags first. If they're missing, it falls back to Open Graph (og:*) tags. If those are missing too, it looks at your HTML <title> and <meta name="description">. This means you can often get away with just OG tags and a twitter:card tag. But if you want different copy on Twitter than on Facebook or LinkedIn, set explicit twitter:title and twitter:description values.
Do I need both twitter: and og: tags? +
og: tags when twitter: tags aren't set. But you must set twitter:card to control the card layout — without it, Twitter defaults to a small "summary" card. Best practice: set your OG tags, add twitter:card, and only add other twitter: tags if you want different content on Twitter vs other platforms.
What happened to the official Twitter Card Validator? +
Why is my Twitter Card not showing an image? +
https:// URL), the image is too small (144×144 minimum for summary, 300×157 for large), the image is behind authentication or a CDN that blocks Twitter's crawler, or the file is over 5 MB. Check your twitter:image tag points to a publicly accessible, correctly sized image.
What card types does Twitter/X support? +
summary (small square image, title, description) and summary_large_image (large banner image on top). There are also player and app card types, but these require approval from Twitter and are used for embedded media and app install cards respectively. Stick with summary or summary_large_image for standard web pages.
How long until Twitter refreshes my card after I update tags? +
?v=2) forces Twitter to treat it as a new URL and fetch fresh metadata.