Twitter (X) Card Validator

Twitter (𝕏)

Use our free Twitter (X) Card Validator to preview how your website appears when shared on X. Enter any public URL, fetch Open Graph and Twitter Card meta tags, see a realistic post preview, and fix missing og:title, og:image, or twitter:card values before publishing.

Updated at: 06/09/2026

What Are Twitter (X) Cards?

Twitter Cards, now commonly discussed in the context of X, control how a URL renders when someone posts your link on the platform. Instead of showing a bare URL string, a properly tagged page can display a title, description, domain label, and image inside the post.

Marketers, developers, SEO specialists, and publishers use card metadata to protect click-through rates on shared articles, product pages, and landing pages. A missing og:image or an HTTP image URL often produces a plain link preview that users scroll past without reading.

The validator above fetches public HTML from any URL you enter, parses Open Graph and Twitter Card tags, flags common problems, and renders an approximate X post mockup. You see the same core fields the crawler cares about before the link goes live in a campaign or organic post.

How to validate Twitter Card meta tags

  1. Paste a public website URL into the input field. The page must return HTML without login walls for the fetch to succeed.
  2. Click Preview to request the page and extract meta tags from the response.
  3. Review the X post mockup, including large-image layout when summary_large_image is detected.
  4. Read validation messages grouped by severity: errors for missing title or image, warnings for HTTPS or length issues.
  5. Inspect the full tag list showing every twitter:* and og:* value returned from the page source.
  6. Fix metadata on your site, redeploy if needed, and run Preview again until warnings clear.

Use the demo website button to load a sample news URL when you want to compare a working card against a page you are debugging. Staging URLs work only if they are reachable from the public internet without authentication.

How X Chooses Title, Description, and Image

X supports dedicated Twitter Card tags, but crawlers also read Open Graph tags and standard HTML fallbacks. When both sets exist, Twitter-specific values usually take precedence for their own fields, while Open Graph fills gaps.

The fetch logic in this tool mirrors that priority order:

title       = og:title β†’ twitter:title β†’ HTML <title>
description = og:description β†’ twitter:description β†’ meta name="description"
image       = og:image β†’ twitter:image (resolved to absolute HTTPS URL)
card type   = twitter:card β†’ og:type β†’ defaults toward summary_large_image

Absolute URLs matter. Relative image paths such as /images/hero.jpg must resolve against the page URL or the crawler may fail to load the asset. The validator resolves relative paths the same way and warns when the final image URL is not HTTPS.

Twitter Card Types Compared

Most marketing pages use summary or summary_large_image. App and player cards require extra tags for mobile apps or embedded media.

Card type Layout Typical use Minimum image guidance
summary Small square thumbnail beside text Documentation, simple blog posts 144Γ—144 px minimum
summary_large_image Wide image above title and description Articles, product launches, landing pages 300Γ—157 px minimum, 2:1 ratio recommended
app App name, icon, and store links Mobile app install campaigns App icon via twitter:image:src
player Video or audio player embed Media pages with iframe player Requires twitter:player and stream URL

If twitter:card is missing but og:image exists, X often still renders a large image card. The validator flags the missing twitter:card tag as a warning so you can set it explicitly instead of relying on fallback behavior.

Recommended Text and Image Limits

Truncation rules are not always published with pixel precision, but these limits match what the validator enforces and what most publishers target in production templates.

Field Recommended max What happens when exceeded
Title 70 characters Text may truncate in the card preview
Description 200 characters Additional copy may be cut off
Image width (large card) 1200 px at 2:1 ratio Common production size for sharp retina display
Image file format JPG, PNG, WEBP, GIF (non-animated) Unsupported formats may fail to render
Image URL protocol HTTPS HTTP URLs trigger a warning in this tool

Large-image cards use a 1.91:1 aspect ratio in the preview mockup, matching the approximate frame X displays above the title block.

What This Validator Checks

After parsing tags, the tool runs a fixed set of checks aligned with common deployment mistakes:

  • Missing title from both twitter:title and og:title
  • Missing description (warning only, but hurts click appeal)
  • Missing image for rich previews
  • Unrecognized twitter:card value
  • Title longer than 70 characters
  • Description longer than 200 characters
  • Image URL not using HTTPS

When all core checks pass, you still see an info message reminding you that X caches cards separately. A page can validate here and look slightly different on the platform until the cache refreshes.

Minimal Tag Example for a Marketing Page

Most CMS plugins write these tags automatically. If you maintain raw HTML or a custom stack, a large-image card often starts with:

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Your Page Title" />
<meta name="twitter:description" content="One sentence value proposition." />
<meta name="twitter:image" content="https://example.com/og-image.jpg" />
<meta property="og:title" content="Your Page Title" />
<meta property="og:description" content="One sentence value proposition." />
<meta property="og:image" content="https://example.com/og-image.jpg" />
<meta property="og:url" content="https://example.com/page" />

Duplicate Open Graph tags help Facebook, LinkedIn, Slack, and other crawlers read the same values. If you publish the same URL across networks, pair this check with the LinkedIn Post Preview tool to confirm feed truncation on professional posts as well.

Frequently Asked Questions

Why does X show a different preview than this tool?

X caches card data per URL. The first crawl after a metadata change may lag behind your deploy. Use the platform card debugger or repost after cache expiry if the live preview still looks stale.

Do I need both Open Graph and Twitter Card tags?

Open Graph alone can work because X falls back to og:title, og:description, and og:image. Explicit twitter:* tags reduce ambiguity and make intent clear for summary versus summary_large_image.

Can I validate password-protected or localhost URLs?

No. The validator fetches the URL from a server environment. Localhost, VPN-only staging, and login-gated pages return fetch errors because their HTML is not publicly reachable.

Why is my image missing even though the tag exists?

Common causes include relative URLs without a proper base, redirects to HTML login pages, images blocked by hotlink protection, or file sizes above crawler limits. Confirm the image URL loads in an incognito browser tab.

Does fixing cards improve SEO rankings directly?

Card tags primarily affect social click-through and brand presentation, not Google ranking formulas. They still matter for traffic from X, newsletters that embed links, and team members sharing URLs manually.

What card type should I use for blog posts?

summary_large_image is the default choice for articles and landing pages because the wide image draws attention in the timeline. Use summary only when no suitable image exists.

Check Your X Card Before Every Link Goes Live

Paste the production URL above before emails, ads, or team members share it publicly. Resolve every error and HTTPS warning first, then spot-check the title and description length so the card reads cleanly on mobile widths where most X sessions happen.

Re-run the validator after each deploy that touches the <head> section, especially template changes on CMS platforms that regenerate meta tags globally. When the same page also ships to LinkedIn or Slack, compare social previews across networks so one platform does not inherit broken tags while another looks correct.

Card metadata is only one layer of distribution on X. Other Twitter and X publishing tools will cover additional link, profile, and content workflows as the category grows.

Related Tools