Black Friday: 20% off any credit pack with code , until Nov 30.

RenderPixels

Twitter (X) Card Validator

See the card X will make from a link, which card type it picks and which tag each part comes from.

Any public page works. Free, no account needed.

Make Open Graph images for every page

Ask your AI assistant for an Open Graph image and RenderPixels makes it at exactly 1200 × 630, with a link that lasts. You get 50 free renders every month, no card needed.

How it works

  1. Enter a web address

    Type the address of any public page. Nothing is posted to X.

  2. See the card

    You get the card as X draws it, the card type the page asks for, and the tag the title, description and image each came from.

  3. Fix the tags

    The list names what is missing or too big: no twitter:card, an image over 5 MB, or an image X can't load.

Open Graph image sizes

Every platform reads the same og:image tag and then shows the picture at its own size. These are the sizes to aim for.

Sizes by platform

One 1200 × 630 image covers every row but the last.

PlatformImage sizeGood to know
Facebook1200 × 630At least 600 × 315 to show large, and no more than 8 MB. Under 200 × 200 is not used.
X1200 × 630The large card is made for 2 to 1 images of at least 300 × 157, up to 5 MB. Needs twitter:card set to summary_large_image.
LinkedIn1200 × 627An image under 200 pixels wide turns into a small thumbnail on the left.
Slack1200 × 630Shows the whole image under the title and description.
Discord1200 × 630Shows large when twitter:card is summary_large_image, and as a small thumbnail otherwise.
Pinterest1000 × 1500Pins are tall, 2 to 3. A wide Open Graph image still works, but shows small.

Why is my link preview not showing?

It is nearly always one of these seven. The checker at the top of this page tests for the first five.

  1. The page has no og:image tag

    Without it most platforms show the link with no picture. Add the tag to the head of the page.

  2. The image address is relative

    Platforms want the full address, starting with https. An address like /og.png often isn’t followed.

  3. The image is too big or too small

    X and LinkedIn stop at 5 MB and Facebook at 8 MB. Facebook skips images under 200 × 200 pixels.

  4. The tags are added by a script

    The platforms read the page as the server sends it and don’t run scripts. The tags have to be in that first HTML.

  5. The platform can’t fetch the page

    A robots.txt rule, a login wall or a firewall that blocks bots stops the platform from reading the page or loading the image.

  6. The platform kept an old copy

    Facebook, LinkedIn and X store a preview the first time a link is shared. Each has to fetch the page again before the new one shows.

  7. The page redirects or answers with an error

    A preview comes from the page the address ends on. If that is an error page or a sign-in page, its tags are the ones that get read.

FAQ

Common questions

Short answers on what this tool does and how to use what it gives you.

Still have a question? Email us with the Email support link at the bottom of this page.

  • What happened to Twitter's own Card Validator?

    X's validator no longer shows a preview of the card. This page does, without posting anything.

  • Which card types are there?

    summary shows a small square image beside the title and description. summary_large_image shows a wide image across the card. There are also app and player cards, for apps and for video and audio.

  • Does X read Open Graph tags?

    Yes. X looks for its own tag first and falls back to the Open Graph one: twitter:title to og:title, twitter:description to og:description and twitter:image to og:image. A page with og:type, og:title and og:description but no twitter:card can still get a summary card.

  • What image size does an X card need?

    For summary_large_image, a 2 to 1 image of at least 300 × 157 pixels. For summary, a square of at least 144 × 144. Both stop at 4096 × 4096 pixels and 5 MB. JPG, PNG, WebP and GIF work, and SVG doesn't. A 1200 × 630 Open Graph image is fine for X too.

  • Which tags does a card need?

    twitter:card with the card type, a title and, for the large card, an image. twitter:site with your @name is optional. The meta tag generator writes them all.

  • How do I get a good card image?

    Make one with the Open Graph image generator and point both og:image and twitter:image at it.

  • Open Graph checker

    Enter a web address to see how the link looks on Facebook, X, LinkedIn, Slack and more, and what to fix in its tags.

  • Facebook debugger

    See how a link will look when it is shared on Facebook, without logging in, and what Facebook needs from its tags.

  • LinkedIn post inspector

    See how a link will look in a LinkedIn post before you share it, and whether its image and title meet LinkedIn's rules.

  • Meta tags checker

    Enter a web address to check its title, description, canonical, robots and social tags, with a score and what to fix.

  • Meta tag generator

    Fill in your page's details and copy the meta tags for search engines, Open Graph and X.