Twitter Card Validator

Validate Twitter card metadata

Twitter Card Validator

Check and validate your Twitter Card metadata to ensure proper display when shared on Twitter/X.

Enter URL to Validate
Enter the URL of the page you want to validate
Types of Twitter Cards
Summary Card

Basic card with title, description, and thumbnail image.

<meta name="twitter:card" content="summary" />
Summary Card with Large Image

Similar to summary card but with a larger, prominent image.

<meta name="twitter:card" content="summary_large_image" />
App Card

Card for mobile app promotion with app store links.

<meta name="twitter:card" content="app" />
Player Card

Card for embedding video, audio, or other media.

<meta name="twitter:card" content="player" />
How Twitter Cards Work

Twitter Cards use meta tags in your HTML to display rich media experiences when your content is shared on Twitter. When someone shares a link to your content, Twitter displays a "card" that includes additional information beyond just the URL.

Common Issues & Solutions

  • Ensure your card meta tags are in the <head> section of your HTML.
  • The twitter:card meta tag is required and must have a valid value.
  • Include required meta tags for your card type (twitter:title, twitter:description, etc.).
  • Image dimensions may be too small - minimum 144x144px for summary cards.
  • Twitter may be caching an older version - use the URL with a query parameter to force refresh.

  • Ensure your image URL is absolute, not relative.
  • Check image dimensions:
    • Summary Card: Minimum 144x144px, 1:1 aspect ratio recommended
    • Summary Large Image: Minimum 300x157px, 2:1 aspect ratio recommended
  • Maximum file size is 5MB.
  • Supported formats: JPG, PNG, WEBP, GIF (static only).
  • Ensure your server allows Twitter's crawler to access your images.

  • Twitter may be caching old metadata. Add a cache-busting parameter to your URL (e.g., ?v=1).
  • Check for conflicting Open Graph (og:) tags, which Twitter may use as fallbacks.
  • Ensure your twitter:title and twitter:description are properly defined.
  • Twitter truncates titles at approximately 70 characters and descriptions at around 200 characters.
Validation Results
Loading...

Enter a URL above and click "Validate" to check Twitter Card metadata.

Twitter Card Preview
Twitter Card Meta Tags
How to use this tool
About Twitter Card Validator

This tool helps you validate and test Twitter Card metadata for your web pages. It checks if your page has the necessary meta tags to display rich content previews when shared on Twitter/X.

Steps to Use This Tool
  1. Enter the URL of the page you want to validate in the "Page URL" field
  2. Click the "Validate" button to analyze the page's Twitter Card metadata
  3. Review the validation results to check if your Twitter Card is properly configured
  4. See a preview of how your content will appear when shared on Twitter
  5. View the detected meta tags and copy them if needed
  6. Check for any missing required tags and fix issues on your page
Understanding Twitter Card Types
  • Summary Card: Basic card with title, description, and small square thumbnail image
  • Summary Card with Large Image: Similar to summary card but with a larger, prominent image
  • App Card: Specialized card for mobile app promotion with app store links
  • Player Card: Card for embedding video, audio, or other media content
Required Meta Tags by Card Type
  • All Cards: twitter:card (defines card type)
  • Summary Card: twitter:title, twitter:description, twitter:image (optional but recommended)
  • Summary Card with Large Image: twitter:title, twitter:description, twitter:image
  • App Card: twitter:app:id:iphone, twitter:app:id:googleplay, etc.
  • Player Card: twitter:player, twitter:player:width, twitter:player:height, twitter:title
Tips for Optimizing Twitter Cards
  • Use compelling, concise titles (Twitter truncates titles at ~70 characters)
  • Write clear descriptions that summarize your content (truncated at ~200 characters)
  • Use high-quality images that meet the recommended dimensions:
    • Summary Card: Minimum 144x144px, 1:1 aspect ratio recommended
    • Summary Card with Large Image: Minimum 300x157px, 2:1 aspect ratio recommended
  • Include twitter:site and twitter:creator tags to attribute content and enable Twitter features
  • Test your cards regularly, especially after making website changes
  • If your card isn't showing up, add a cache-busting parameter to your URL (e.g., ?v=1) when testing