Launching on Product Hunt on 1 Dec

Free Twitter card validator

How does your link look when someone posts it on X? Enter any page address to read its Twitter card tags, preview the X card, test the image and see what is missing. No login.

Twitter card questions

What is a Twitter card?

It is the preview X shows when a link is posted: a picture, a title and the site name. X builds it from meta tags in the head of the page. The twitter:card tag picks the layout: summary is a small square picture beside the text, summary_large_image is one wide picture.

Is this also an X card validator?

Yes. Twitter cards and X cards are the same thing. The tags kept their twitter: names after the rename, so twitter:card, twitter:title and twitter:image are still what you add.

What does this validator test?

It loads the address you enter over https, follows redirects, and reads every twitter: and og: meta tag in the HTML. It checks that twitter:card is summary, summary_large_image, app or player, that a title, a description and an image can be found, that the image address answers with an image, and that robots.txt does not block Twitterbot from the whole site. Then it draws a sketch of the card.

Do I need twitter: tags if I already have Open Graph tags?

You need one. X uses og:title, og:description and og:image when the matching twitter: tag is missing, but Open Graph has no tag that picks the card layout. Add twitter:card, usually summary_large_image, and the rest can come from Open Graph.

Why is my card image not showing?

The usual causes show up in the results: no image tag, an address that returns an error or an HTML page, a file behind a login or a firewall, or robots.txt blocking Twitterbot. This tool requests the image the same way a crawler would and tells you what came back.

Can I test a page that is not the homepage?

Yes. Enter the full address of any public page, such as yourdomain.com/blog/my-post. Each page has its own card tags, so test the pages people share most.

Is the preview exactly what X will show?

No. It is a sketch of the two card layouts made from your tags, so you can see which title and picture X has to work with. To see the real card, start a new post on X and paste the link.

More free checks