Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    Twitter (X) Card Tags Explained: Summary, Large Image and the Open Graph Fallback

    Updated December 2026

    Written by the Toolpuffin team. Tools in this guide are tested in the browser.

    When someone shares a link on X, formerly Twitter, the post can show a card with an image, a title and a description. Meta tags in your page decide what that card looks like. This guide explains the tags that matter and how they relate to Open Graph tags.

    Try the tool: Twitter/X Card Preview

    The card type

    The twitter:card tag sets the card type. The documented values are summary, summary_large_image, app and player. The tag uses the name attribute, while Open Graph tags use property.

    TagWhat it does
    twitter:cardThe card type
    twitter:titleThe title of the card
    twitter:descriptionA short description, with a maximum of 200 characters
    twitter:imageThe image for the card
    twitter:siteThe @username of the website

    Source: X Developer Platform: Cards markup

    Source: X Developer Platform: Cards

    The Open Graph fallback

    If a twitter tag is missing, X can use the matching Open Graph tag, such as og:title, og:description and og:image. The documentation also says that if og:type, og:title and og:description exist but twitter:card is missing, a summary card may be rendered. If you want the large image card, set twitter:card to summary_large_image yourself.

    Summary or large image

    • Summary: a small square image next to the title and description.
    • Summary with large image: a wide image above the title, best with a landscape image of about 2:1.
    • Check the image requirements in the current X documentation, because sizes and limits can change.

    The preview tool below shows both card styles as a mock-up and writes the tags for you. It does not fetch your page, and the real card on X can look slightly different.

    Common mistakes

    • Misspelling the card type, such as summary-large-image with hyphens.
    • A large image card without any image tag to show.
    • Using property instead of name for the twitter tags.
    • An image address that is not public, so X cannot fetch it.

    More guides