# What is Twitter Card?

> A Twitter Card is a set of twitter: meta tags that controls the preview, with title, description and image, shown when a link is posted on X (formerly Twitter).

URL: https://yes-seo.com/glossary/twitter-card

A **Twitter Card** is the rich preview X (formerly Twitter) shows when a post contains a link. You control it with `twitter:` meta tags in the page’s `<head>`. The platform’s rename didn’t change the markup: the tags still start with `twitter:`, and X’s [Cards markup reference](https://developer.x.com/en/docs/x-for-websites/cards/overview/markup) remains the specification.

## Card types

- **`summary`** — a small square thumbnail beside the title and description. The default choice for pages without a strong image.

- **`summary_large_image`** — a large, full-width image above the link. The usual choice for articles, products and landing pages.

- **`player`** — inline video or audio, which requires approval by X.

- **`app`** — a mobile app download card.

## Minimal markup

```

```

Note the attribute: Twitter tags use `name`, while [Open Graph](https://yes-seo.com/glossary/open-graph) tags use `property`.

## How X falls back to Open Graph

If a `twitter:title`, `twitter:description` or `twitter:image` tag is missing, X reads the matching `og:` tag instead. That means a page with complete Open Graph tags needs only one extra line — `twitter:card` — to choose the large-image layout. Add separate `twitter:` values only when you want a different headline or image on X.

## Image requirements

For `summary_large_image`, X recommends a 2:1 aspect ratio, with a minimum of 300 × 157 pixels, a maximum of 4096 × 4096 pixels and a file size under 5 MB; JPG, PNG, WebP and GIF are supported. A 1200 × 600 image is a safe target, and a 1200 × 630 Open Graph image also works with slight cropping. X has changed how much text a link card shows several times, so let the image carry the message.

## Common mistakes

- **No `twitter:card` tag**, so X may fall back to a small or basic preview even though a great large image exists.

- **Images blocked by robots.txt.** X fetches images with its own crawler; if robots.txt disallows it, the card shows no image.

- **Relative image paths** instead of absolute `https://` URLs.

- **Expecting instant updates.** X caches card data, so changes may not appear on posts right away.

## Do Twitter Cards help SEO?

Not as a ranking factor. Their value is in how your links perform when shared: a clear image and headline earn more clicks, more visitors and more chances to be mentioned and linked elsewhere. Search engines build their own snippets from your [meta description](https://yes-seo.com/glossary/meta-description) and title.

## How to check

X no longer offers a public card preview in its validator, so the easiest test is the [Open Graph Checker](https://yes-seo.com/open-graph-checker): it previews your link on X, Facebook, LinkedIn, WhatsApp and Slack, validates every Open Graph and Twitter tag and checks image size, all without posting anything.

## Frequently asked questions

### Do I need Twitter Card tags if I have Open Graph tags?

You need at least twitter:card to choose the layout. X falls back to Open Graph for the title, description and image, so the other twitter: tags are optional.

### What image size works best for summary_large_image?

Use a 2:1 image such as 1200 × 600 pixels, under 5 MB, in JPG, PNG, WebP or GIF. Keep important content centered because previews may crop slightly.

