Twitter (X) Card Validator & Preview
Enter the full URL including http or https for accurate results.
What is a Twitter Card?
A Twitter Card (now commonly called an X share card) turns a plain URL in a tweet into an interactive link preview complete with a featured image, headline, and page summary. Instead of displaying a bare text link, X renders a clickable visual card directly inside the timeline.
Since X retired the preview screen on its legacy validator, developers and marketers use a dedicated Twitter card validator and debugger to test a tweet before publishing. You can also audit all document head properties at once with our Meta Tag Extractor to make sure your titles and images never appear broken.
How Do Twitter Cards & Link Previews Work?
Twitter Cards work through document-level metadata elements placed inside the HTML head of your webpage, structured according to the MDN HTML meta element specification. When someone shares a link on X, the platform's crawler (Twitterbot) fetches the URL and reads properties prefixed with twitter: to assemble the card title, description, and thumbnail.
If explicit Twitter tags are missing, Twitterbot automatically falls back to metadata defined by the Open Graph protocol specification, including og:title, og:description, and og:image. Supplying either tag set allows X to render a rich preview rather than a plain URL.
For the crawler to generate a preview, both your webpage and image URLs must return a 200 OK status over HTTPS and permit Twitterbot in your site's crawl rules, which you can verify using our Robots.txt Validator.
Types of Twitter Cards
X supports four card layouts via the twitter:card meta tag. Pick the format that matches your content.
Summary Card (summary)
Displays a compact 1:1 square thumbnail (minimum 144 × 144 px, up to 4096 × 4096 px) next to your page title and description. It works best for documentation pages, news articles, and directory links where a compact preview fits the feed.
Summary Card with Large Image (summary_large_image)
Features a full-width 1.91:1 banner image (recommended 1200 × 628 px, minimum 300 × 157 px, under 5 MB in JPG, PNG, WebP, or GIF) above the headline. Publishers prefer this share card layout because prominent visuals attract more clicks in busy timelines.
App Card (app)
Designed for mobile app promotion, rendering the application icon, store rating, pricing, and a direct install prompt for iOS App Store and Google Play listings.
Player Card (player)
Embeds an HTTPS video or audio player directly inside the X timeline so followers can watch clips, product demos, or podcast episodes without leaving the feed.
Top Benefits of Our Twitter Card Checker & Debugger
Use our online X card validator and Twitter debugger to check meta tags, verify OG images, and preview link cards before sharing.
Improve CTR & Twitter Card SEO
Well-formatted Twitter share cards with crisp 1200 × 628 px visuals and clear headlines stand out in the X timeline, driving higher click-through rates and stronger social engagement.
Instant Twitter OG Image Checker
Catch broken image URLs, unsupported SVG files, oversized graphics above 5 MB, or awkward aspect ratios before your link goes live.
Test a Tweet Before Publishing
Simulate how your URL will render on X without posting test tweets from a staging or personal account. Validate title truncation and domain attribution in seconds.
Debug Meta Tags & Redirects
Inspect raw card markup and spot HTTP redirect loops that strip metadata when crawlers fetch your URL. If a shared link fails to resolve, trace the hop chain with our Website Redirect Checker.
Compare X Card Layouts
Check whether your page is configured for summary, summary_large_image, player, or app cards so every campaign uses the right layout.
Cross-Platform Link Previews
Because X falls back to Open Graph tags when Twitter-specific markup is omitted, validating your page here also helps prevent broken previews on LinkedIn, Facebook, Discord, and Slack, which you can test with our Open Graph Card Preview tool.
The Complete List of Twitter Meta Tags
Use this reference table to configure Twitter card meta tags in your HTML head. Tags marked with an asterisk (*) can fall back to their matching Open Graph properties.
| Meta Tag | Required? | What It Does |
|---|---|---|
| twitter:card | Yes | Defines the X card layout: summary, summary_large_image, app, or player. Defaults to summary if omitted when Open Graph tags are present. |
| twitter:title | Yes* | The headline of your link preview (keep under 70 characters to prevent truncation). Falls back to og:title if not set. |
| twitter:description | No | A concise summary of the page content, up to 200 characters. Falls back to og:description when omitted. |
| twitter:image | Yes* | Absolute HTTPS URL of the preview image (JPG, PNG, WebP, or GIF under 5 MB; SVG is not supported). Falls back to og:image. |
| twitter:image:alt | No | Accessible alt text (up to 420 characters) describing the preview image for screen readers. |
| twitter:site | No | The X handle of the website or publisher, such as @yourbrand. |
| twitter:creator | No | The X username of the individual content author. |
| twitter:player | Yes (Player Card) | Absolute HTTPS URL pointing to your embeddable video or audio iframe. |
| twitter:player:width | Yes (Player Card) | The exact pixel width of the iframe player. |
| twitter:player:height | Yes (Player Card) | The exact pixel height of the iframe player. |
| twitter:app:name:iphone | Yes (App Card) | Your iOS application name. Equivalent tags exist for :ipad and :googleplay. |
| twitter:app:id:iphone | Yes (App Card) | The numeric App Store ID (or package name for :googleplay). |