Skip to content
fixyour.page

Twitter Card Validator

Preview and validate Twitter Card meta tags.

Your data stays in your browser
Heads up. X (formerly Twitter) deprecated its official Card Validator in 2022 and publishes limited specs now. These checks use the 2020 Twitter guidelines and Open Graph protocol. Your card may still render fine even if a check warns.
Paste your HTML source. We'll tell you if Twitter agrees.

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 the main Twitter Card and Open Graph meta tags, 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 took the preview out of its official Card Validator in 2022. Third-party alternatives usually require a live URL. This tool works with raw HTML, so you can test your cards before the page is even deployed. The image preview still needs the image at a public https URL.

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. 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? +
Not always. Twitter falls back to 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? +
Twitter pulled the preview out of its Card Validator in August 2022. The old validator address now redirects to a login page, and X's developer docs no longer mention it. When it removed the preview, Twitter said to check cards in the post composer instead: start a new post and paste in the link, and the card preview renders without you posting anything. That needs a live URL and an account. This tool needs neither. Paste your HTML and see the card render.
Why is my Twitter Card not showing an image? +
Most common causes: the image URL is relative instead of absolute (Twitter needs a full 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? +
Four. X's Cards documentation lists summary (small square image, title, description), summary_large_image (large image on top), app (a direct download link to a mobile app), and player (video or audio). X has since taken those pages out of its developer docs, so that list is the last one it published. Most web pages want summary or summary_large_image. This tool checks and previews those two. It accepts app and player as valid card types, but it can't draw them.
How long until Twitter refreshes my card after I update tags? +
Up to 7 days. That's the cache window Twitter's developer team gave in 2022, and its Cards troubleshooting guide said the crawler re-indexes card tags roughly every seven days. X has since taken that guide out of its developer docs and hasn't published a newer figure. The old Card Validator page used to take re-crawl requests, but it now redirects to a login page. The guide's workaround for testing was to post a link the crawler hasn't seen: add a placeholder query parameter to your URL (like ?v=2), shorten it with bit.ly, and post the short link. The guide only said this may work, so don't build a launch around it. Card images are cached by URL too. If the text updates and the image doesn't, add a parameter to the image URL in your twitter:image tag.