Twitter Cards (often called X Cards) are social metadata tags that describe how a page may appear when shared on X. The properties still use twitter:* names such as twitter:card, twitter:title, twitter:description, and twitter:image.
The metadata format remains widely published, but X controls fetching, caching, cropping, and presentation. A tag can describe a preferred value without guaranteeing that X will display it exactly.
This guide explains the main Twitter Card meta tags, provides an HTML example, compares Twitter Cards with Open Graph, and shows how to troubleshoot a card that is not appearing as expected.
Quick Answer
A Twitter Card is a set of <meta> elements in a page's HTML <head>. These elements can describe a card type, title, description, image, image alternative text, and account attribution for a URL shared on X.
For example:
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="A clear page title">
<meta name="twitter:description" content="A concise description of the page.">
<meta name="twitter:image" content="https://example.com/social-image.jpg">Important social metadata should be present in the HTML returned to a crawler where practical. Some crawlers may not execute client-side JavaScript in the same way as a browser.
What Is a Twitter Card?
A Twitter Card is social metadata for a webpage. It helps describe the title, description, image, and general card format that may be used when the URL is shared on X.
Twitter Card tags are not visible page content. They are machine-readable <meta> elements, normally placed in the document <head>. X may use them when building a link preview, but the platform ultimately decides whether to show a preview and how to crop or present it.
Twitter Card metadata is not a direct Google ranking factor, and adding it does not guarantee a rich preview on X or any other platform. Its practical role is to provide structured social-sharing metadata.
Are Twitter Cards Still Supported on X?
Current public X documentation does not expose the same detailed Card reference that older Twitter Developer pages did. The former Cards documentation URL now redirects to the general X Developer documentation, and the historical Card Validator URL redirects to X login. No equivalent public first-party validator was identified in the current documentation.
That documentation gap is not proof that X ignores twitter:* metadata. Many websites still publish these properties, and the literal metadata names remain in widespread use. The careful conclusion is that current public documentation is less explicit, while final platform behavior remains controlled by X.
ToolMint therefore checks metadata found in a page's server-returned HTML. It does not call an official X validation endpoint or claim to reproduce the X crawler.
Core Twitter Card Meta Tags
The following fields are commonly encountered in Twitter Card implementations. Because current first-party documentation is incomplete, this table describes their practical roles without inventing mandatory requirements.
| Tag | Purpose | Typical role | Notes |
|---|---|---|---|
twitter:card |
Describes the card format | Core field | Common values include summary and summary_large_image |
twitter:title |
Supplies a preferred preview title | Commonly used | Keep it accurate and specific to the page |
twitter:description |
Supplies a short page summary | Commonly used | Avoid exaggerated or repetitive copy |
twitter:image |
Supplies a preferred preview image URL | Commonly used | Use a stable, accessible absolute URL |
twitter:image:alt |
Describes the image in text | Optional accessibility field | Write meaningful text for the image when provided |
twitter:site |
Associates a site account | Account attribution field | This is not a separate "site card" type |
twitter:creator |
Associates a creator account | Account attribution field | Most relevant where a distinct author or creator is identified |
Do not invent x:* replacements for these properties. The established metadata names retain the twitter: prefix.
Twitter Card Types
The two card values most relevant to ordinary webpages are summary and summary_large_image.
The historical Twitter Cards documentation also described App and Player cards. App cards were associated with mobile applications, while Player cards supported embedded media. Because the current public X documentation does not provide the former detailed Card reference, treat those formats as historically documented rather than assuming their present capabilities or setup requirements.
For a standard article, tool, product page, or documentation page, start by deciding whether a compact summary or a more image-focused summary reflects the content accurately.
Summary vs Summary Large Image
| Consideration | summary |
summary_large_image |
|---|---|---|
| General visual format | Compact preview | More image-prominent preview |
| Image prominence | Secondary to the text summary | Larger visual area is typically associated with the card type |
| Typical use case | Documentation, references, or pages where the image is secondary | Articles, guides, or pages where a representative image is important |
Neither value guarantees a specific layout, crop, click-through rate, or engagement result. X can change presentation, and current public documentation does not justify a fixed dimension or performance claim here.
Twitter Card Meta Tag Example
This example provides a readable baseline for an article page:
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="How to Audit a Website's Metadata">
<meta name="twitter:description" content="A practical guide to checking page titles, descriptions, and social metadata.">
<meta name="twitter:image" content="https://example.com/images/metadata-audit.jpg">
<meta name="twitter:image:alt" content="Metadata fields arranged in a website audit report">
<meta name="twitter:site" content="@ExampleAccount">Use values that truthfully describe the actual page. Keep the image at a stable absolute URL, make it publicly accessible, and expect that platform cropping may vary. ToolMint does not claim a current universal pixel dimension or file-size limit where first-party documentation is unavailable.
Twitter Cards vs Open Graph
Open Graph is a general social metadata protocol that uses properties such as og:title, og:description, and og:image. Twitter Card metadata uses X-specific twitter:* names.
| Topic | Twitter Card metadata | Open Graph metadata |
|---|---|---|
| Prefix | twitter: |
og: |
| Primary purpose | Describe a possible X link preview | Describe a webpage as a social graph object |
| Common fields | Card type, title, description, image, attribution | Title, type, image, URL, and additional structured properties |
| Recommended publishing approach | Often published alongside Open Graph | Common general social-metadata baseline |
Many pages publish both sets. Some platforms may use Open Graph values when platform-specific values are absent, but current public X documentation does not clearly expose complete fallback precedence. Do not treat a particular fallback as guaranteed.
Use ToolMint's Open Graph Checker to inspect og:* fields separately. The Meta Tags Analyzer provides a broader page-metadata review.
How to Add Twitter Card Tags
Step 1: Add metadata to the document head
Place the relevant <meta> elements inside the page's HTML <head>. If a framework generates metadata, confirm the final server-delivered HTML contains the values.
Step 2: Choose a card value
Use summary for a compact presentation or summary_large_image when a representative image is central to the page. This describes intent; it does not force an exact layout.
Step 3: Add accurate page values
Add a title, description, and image that match the visible page. Include twitter:image:alt when you can provide useful alternative text.
Step 4: Use stable URLs
Use a stable absolute URL for the image. Ensure the page and image are publicly accessible and do not depend on a private session or expiring signed URL.
Step 5: Publish server-visible metadata
Check the HTML returned by the server. Important social metadata should not depend only on client-side JavaScript where crawler execution is uncertain.
Step 6: Check the live public URL
Open ToolMint's Twitter Card Validator, enter the public page URL, and review the detected fields and recommendations.
These six visible steps describe how to add and check Twitter Card metadata, so the page's HowTo schema remains aligned with the article.
How to Check Twitter Card Meta Tags
Use the Twitter Card Validator and simulated preview to inspect a live public URL. ToolMint reports detected twitter:* fields, clearly labelled Open Graph fallback values, duplicate tags, malformed image URLs, and a simulated preview.
The preview is not an exact X rendering. ToolMint does not use an official X validation endpoint, and X may fetch, cache, crop, omit, or present metadata differently.
The historical cards-dev.twitter.com/validator address now redirects to X login, and no equivalent current public first-party validator was identified. ToolMint checks the metadata in the fetched page instead of presenting itself as a replacement for an official X API.
If the page redirects unexpectedly, use the Redirect Checker to inspect the redirect path. Use the HTTP Header Checker when response status or headers may be preventing access.
Why Is My Twitter Card Not Showing?
A missing preview can have more than one cause. Check the page, metadata, image, redirects, and crawler accessibility before assuming the platform has ignored a single tag.
| Possible cause | What to check | Possible fix |
|---|---|---|
| Missing Twitter metadata | Inspect the server-returned HTML for expected twitter:* fields |
Add accurate metadata in the document <head> |
| No usable Open Graph fallback | Check whether og:title, og:description, and og:image exist |
Publish both Twitter Card and Open Graph metadata where appropriate |
| Client-only metadata | Compare initial HTML with the browser-rendered DOM | Render important social metadata on the server where practical |
| Inaccessible page | Check status, authentication, robots rules, and public reachability | Make the shared URL publicly fetchable if appropriate |
| Redirect or fetch problem | Inspect each redirect and the final destination | Correct loops, broken destinations, or unintended redirects |
| Blocked crawler access | Review server, firewall, bot, and robots controls | Permit legitimate access consistent with your security policy |
| Malformed or relative image URL | Inspect the exact twitter:image value |
Use a stable absolute HTTP or HTTPS URL |
| Image load failure | Open the image URL directly and inspect its response | Repair the URL, permissions, response, or file |
| Duplicate or conflicting tags | Search the HTML for repeated social fields | Keep one intentional value per property where possible |
| Stale platform cache | Compare current page HTML with the displayed preview | Allow time for refetching; no fixed refresh time is guaranteed |
| Different crop or rendering | Compare important content placement with the displayed result | Keep essential visual content away from vulnerable edges and expect variation |
ToolMint's preview loads the detected image in the browser, but it is not a server-side image status, content-type, or dimension test.
Twitter Cards and Google SEO
Twitter Card metadata is primarily for social sharing and is not a direct Google ranking factor. Adding twitter:* tags does not by itself improve rankings.
Google documents that its title-link systems may consider multiple sources, including the HTML <title>, visible headings, anchor text, and og:title. That does not mean Twitter Card tags create a ranking benefit, and it does not make og:title or twitter:title a guaranteed Google title.
Treat search metadata, Open Graph metadata, and Twitter Card metadata as related but distinct parts of a page's publishing setup.
Frequently asked questions
What is a Twitter Card?
A Twitter Card is a group of twitter:* meta tags that describes a possible link preview on X. It can provide a card type, title, description, image, alternative image text, and account attribution.
Are Twitter Cards still used on X?
Many websites still publish Twitter Card metadata. Current public X documentation no longer exposes the same detailed Card reference as the older Twitter Developer pages, but that documentation gap does not prove the metadata is ignored.
What Twitter Card meta tags should I add?
A common implementation includes twitter:card, twitter:title, twitter:description, and twitter:image. You can also provide twitter:image:alt, twitter:site, and twitter:creator when they accurately apply.
What is the difference between Twitter Cards and Open Graph?
Twitter Cards use twitter:* names for X-oriented social metadata. Open Graph is a broader social metadata protocol using og:* properties. Many pages publish both, and exact X fallback precedence should not be treated as guaranteed.
Does the Twitter Card Validator still work?
The historical first-party validator URL now redirects to X login, and no equivalent current public replacement was identified. ToolMint's validator independently checks page metadata and provides a simulated preview; it is not an official X validator.
Why is my Twitter Card not showing?
Common causes include missing or client-only metadata, inaccessible pages, redirect problems, blocked crawler access, malformed image URLs, duplicate tags, image failures, stale caches, or X choosing a different presentation.
Related ToolMint Tools
- Twitter Card Validator checks Twitter-specific metadata, labelled Open Graph fallbacks, duplicates, and a simulated preview.
- Open Graph Checker reviews broader
og:*social metadata. - Meta Tags Analyzer audits page metadata beyond social cards.
- Meta Tag Generator helps draft page and social metadata for review.
- HTTP Header Checker inspects response status and headers during troubleshooting.
- Redirect Checker traces redirects before a crawler reaches the final page.