Twitter card validator for your X link preview
X took the preview out of its own Card Validator. Paste a link here instead: the page is fetched the way X's crawler reads it, the card is drawn as it will look in a post, and every problem is listed, from a missing twitter:card or og:image to a wrong image size or a robots.txt rule that blocks Twitterbot.
Any public page. Read live, like X's crawler does; nothing is stored.
Try:
Creator communityQuestions about reach, bans or payouts? Join us on Telegram →
For creatorsGet paid for sponsored posts: list your price on Celebex →
For brandsPromoting a product on X? Book creators on Celebex → or book a call
The tags X reads for a card
From X's Cards markup reference. Put them in the <head> of the HTML your server sends; X's crawler doesn't run JavaScript.
twitter:card
Card type: summary (square image) or summary_large_image (wide image). No Open Graph twin: without it, X may fall back to a summary card if og:type, og:title and og:description are all set. If the page has two, X uses the last.
Required
twitter:title
Headline. Falls back to og:title. The HTML <title> is not used.
70 characters
twitter:description
Short summary. Falls back to og:description.
200 characters
twitter:image
Full https:// URL of the image. Falls back to og:image.
Under 5 MB
twitter:image:alt
Image description for screen readers.
420 characters
twitter:site
@handle of the site. Optional.
—
<meta name="twitter:card" content="summary_large_image"> <meta property="og:title" content="Your headline, under 70 characters"> <meta property="og:description" content="One or two sentences, under 200."> <meta property="og:image" content="https://yoursite.com/og/page.png"> <meta name="twitter:image:alt" content="What the image shows">
Twitter card image size
The image is where most cards break. These are X's limits; the validator checks each one against the file it actually downloads, not the og:image:width and og:image:height tags, which are often wrong.
| summary_large_image | 2:1, from 300×157 to 4096×4096. 1200×628 is safe. |
| summary | 1:1, from 144×144 to 4096×4096. |
| Formats | JPG, PNG, WEBP, GIF (first frame only). No SVG. |
| File size | Under 5 MB. |
Why a link shows no preview, and the fix
Neither twitter:image nor og:image is on the page, or it is added by JavaScript after load. X's crawler reads the HTML the server sends; it does not run scripts.
Fix: Put the tags in the server-rendered <head>. In Next.js, Nuxt or SvelteKit that means the framework's metadata API, not a client-side head manager.
content="/og.png" works in a browser but not for cards. X needs the full address.
Fix: Write https://yoursite.com/og.png. Most frameworks have a base URL setting that does it for you.
X's crawler identifies as Twitterbot and obeys robots.txt for the page and for the image. A Disallow under User-agent: * covers it too.
Fix: Add a group for Twitterbot with Allow: / or narrow the Disallow so it misses the page and the image folder.
Over 5 MB and X drops it. A tall or square image on summary_large_image gets cropped to the 2:1 frame, often cutting off text.
Fix: Export at 1200×628 as JPG or WEBP, under 1 MB. Keep text away from the edges.
If Twitterbot gets a login wall, a 403 or a challenge page, it reads that page's tags instead of yours.
Fix: Let Twitterbot through your firewall or bot protection, and serve the meta tags before any consent or login step.
X caches a card for about 7 days after the link is first posted.
Fix: Fix the tags, then post the link with a harmless query string, like ?v=2. X treats it as a new URL and reads it again.
What the validator can't see
It reads the page from our server, once, as a crawler. If your site shows Twitterbot something different from other visitors (some bot protection does), or blocks requests by country, X may get a different answer. When the preview here looks right and X still shows nothing, post the link from a test account and check X's troubleshooting guide for cards. To count the post that carries the link, links weigh 23 characters; the X character counter does the maths.
Limits from X's developer docs (Cards markup, Summary card with large image, Troubleshooting cards). Updated December 5, 2026.
Twitter card validator, answered.
Where did the Twitter Card Validator go?
X removed the preview from its Card Validator in 2022 and pointed people to the post composer: paste the link into a new post and look at the card before you publish. That shows the card but not why it is missing or wrong. This Twitter card validator fetches the page the way X's crawler does, draws the card and lists each problem.
How do I check how my link will look on X?
Paste the URL into the validator above. It reads the page's twitter: and og: tags, downloads the image, checks robots.txt for Twitterbot and shows a preview of the card next to a checklist. It works for any public page and needs no login.
What size should a Twitter card image be?
For summary_large_image, a 2:1 image between 300×157 and 4096×4096 pixels; 1200×628 works on X and on most other sites. For the small summary card, a square at least 144×144. Either way JPG, PNG, WEBP or GIF, under 5 MB. X does not show SVG.
Does X use Open Graph tags?
Yes, as a fallback. If twitter:title, twitter:description or twitter:image is missing, X uses og:title, og:description or og:image. twitter:card has no Open Graph version: without it, X's docs say a small summary card may be shown if og:type, og:title and og:description are all present, and otherwise expect no card. Add it yourself; summary_large_image gives the wide image.
Why does my link show no preview on X?
The usual causes, most common first: no image tag in the server HTML, a relative image URL, robots.txt blocking Twitterbot, a firewall or bot check returning an error page to the crawler, an image over 5 MB, or an old cached card. The checklist flags each of these.
How do I refresh a card that X has cached?
X caches a card for about 7 days. There is no public button to clear it. Fix the tags, then share the link with a query string added, such as ?v=2; X reads that as a new page and builds a fresh card.
Why doesn't X show the title and description under the image?
In the feed, X shows a large image card as the image with short text laid over it (the domain, and in current apps the headline); the description below the image is usually not shown. X has changed this layout several times since 2023, so do a last check in the post composer. The summary card still shows title and description next to a small square image. The preview here draws both layouts.
Is the checker free, and is anything stored?
Free, no sign-up. The page is fetched once per check and the result is kept for a minute; the Re-check button under a result skips that and reads the page again. Nothing else is saved. Links to private or local network addresses are refused.
Related free tools
The card gets the click. The post has to earn it.
The NotPeople MCP drafts posts in your voice, keeps them under the limit and publishes from a browser on your own machine.