Twitter Card validator: preview your Twitter/X link cards

    Twitter retired its official Card Validator, leaving creators, marketers, and developers with no easy way to preview Twitter/X link cards before posting. This free Twitter Card validator is a drop-in replacement: paste any URL, and we fetch it using Twitterbot's exact user-agent string to show you the raw HTML Twitter/X receives.

    We extract every Twitter Card tag (twitter:card, twitter:title, twitter:description, twitter:image) and the Open Graph fallbacks, then render a pixel-accurate preview of how your card will appear in a tweet. If tags are missing or injected client-side by a JavaScript framework, you will see it immediately - before the broken card goes live on your timeline.

    No signup, no developer account, no waitlist. Validate your Twitter Card below.

    How to use this tool

    1. 1

      Enter the URL you want to post. Twitterbot is preselected on this page.

    2. 2

      Click 'Simulate crawl' to fetch it with Twitterbot's user-agent.

    3. 3

      Check the 'Social preview card' to see the card X would build from your tags.

    4. 4

      Look for twitter:card among the detected tags. It sets the layout: 'summary' gives a small square thumbnail and 'summary_large_image' a full-width image.

    5. 5

      Post the link from a draft or a private account to confirm, because X's own Card Validator no longer shows a preview.

    How it works

    The request uses the header 'Twitterbot/1.0'. From the returned HTML we collect the twitter: tags and the Open Graph tags, then draw the card from them.

    Twitterbot looks for twitter:title, twitter:description and twitter:image first and falls back to the og: equivalents when they are absent, so a page with complete Open Graph tags needs only twitter:card added to choose a layout. With 'summary_large_image' the image is shown full width at roughly 2:1; with 'summary' it becomes a small square thumbnail beside the text.

    X refreshes the card data it holds for a URL roughly once a week, so a corrected page can keep showing the old card for a while. Two checks catch most failures. The image URL must be absolute and allowed by your robots.txt, because Twitterbot obeys robots.txt when it fetches both the page and the image. And the page must return its tags to a client that sends no cookies and runs no scripts, which is exactly the request this test makes.

    Understanding Twitter/X (Twitterbot)

    When a link is shared on Twitter/X, Twitterbot fetches the page to generate a Twitter Card - the preview box that appears below the tweet showing a title, description, and image. Twitter Cards significantly increase engagement: tweets with cards receive substantially more clicks, retweets, and likes than plain text tweets with URLs.

    Twitterbot does not execute JavaScript. It reads Twitter Card meta tags (twitter:card, twitter:title, twitter:description, twitter:image) and Open Graph tags as fallbacks from the raw HTML response. If your JavaScript framework injects these tags client-side, Twitterbot sees nothing and your tweets display as bare URLs.

    Twitter/X supports several card types: summary (small image), summary_large_image (full-width image), player (embedded video), and app (mobile app install). The summary_large_image format is most commonly used and requires twitter:card set to 'summary_large_image' along with a twitter:image pointing to an image at least 300x157 pixels.

    Pre-rendering ensures Twitterbot receives your Twitter Card and OG tags in the raw HTML, producing rich, visually engaging tweet cards that drive clicks and engagement.

    Frequently asked questions

    What is the difference between Twitter Cards and OG tags?▾

    Twitter Card tags (twitter:title, twitter:description, twitter:image) are Twitter-specific. If they are missing, Twitterbot falls back to Open Graph equivalents (og:title, og:description, og:image). Best practice is to include both sets of tags.

    What image size does Twitter require?▾

    For summary_large_image cards: minimum 300x157 pixels, maximum 4096x4096, under 5MB. The recommended size is 1200x628 pixels. Images are cropped to a 2:1 aspect ratio.

    How do I test my Twitter Card without tweeting?▾

    Use this crawler simulator to check whether Twitterbot can see your meta tags. You can also use Twitter's Card Validator (cards-dev.twitter.com/validator) to preview the card, though availability of this tool varies.

    Related crawler tests

    Related free tools

    Make every crawler see your content

    PageGlass automatically serves rendered HTML to all bots. No per-crawler configuration needed - one simple change covers Googlebot, AI crawlers, and social platforms.

    We use cookies. Privacy Policy