Skip to main content
ToolsHub

Twitter Card Generator

Build Twitter Card meta tags with a live preview. Supports Summary, Summary Large Image, and App card types. Copy HTML tags instantly.

Updated

Files never leave your browser
13/70
95/200

Twitter/X Preview

1200×628 image

My Page Title

A compelling description that makes people want to click when your page is shared on Twitter/X.

HTML Meta Tags

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="My Page Title" />
<meta name="twitter:description" content="A compelling description that makes people want to click when your page is shared on Twitter/X." />

How to use Twitter Card Generator

Preview and generate Twitter Card meta tags — see exactly how your URL will appear when shared on Twitter/X as a summary card, summary_large_image card, app card, or player card. Enter the required meta tags or fetch from a live URL to preview the rendered card with accurate dimensions and layout. Validate that your card meets Twitter's requirements before publishing.

  1. Select the card type: summary, summary_large_image, app, or player.
  2. Enter your card title (70 characters max), description (200 chars), and image URL.
  3. For app cards, enter the App Store/Google Play URL and app ID.
  4. Preview the rendered card as it will appear in the Twitter/X timeline and link previews.
  5. Copy the generated meta tags and add them to your HTML <head> section.

Your data never leaves your device — 100% private processing.

Twitter Card types and when to use each

Twitter supports four card types. Summary card: shows a small square thumbnail left-aligned with title and description — best for general website links. Summary_large_image: shows a full-width prominent image above title and description — best for news articles, blogs, and visual content (recommended for most publishers). App card: shows app name, description, rating, and direct download links for iOS and Android apps — required for app install campaigns. Player card: embeds an audio or video player directly in the tweet — requires Twitter approval and HTTPS content with specific headers.

Card typeImage ratioBest for
summary1:1 (120×120 min)General website links
summary_large_image2:1 (300×157 min)Articles, blogs, visual content
appNone requiredApp install promotion
player16:9 videoPodcasts, videos (requires approval)

Twitter Card vs. Open Graph fallback

When Twitter renders a link preview, it first looks for twitter:card, twitter:title, twitter:description, and twitter:image tags. If these are absent, it falls back to og:title, og:description, and og:image from Open Graph. This means you can maintain a single set of OG tags and Twitter will use them automatically. However, if your OG image is 1200×630 (16:9) but you want Twitter to show it as summary_large_image, you must explicitly set twitter:card to "summary_large_image" — the OG tags alone won't trigger the large image format.

Worked examples

Large image card

Inputs: twitter:card summary_large_image · 1200×630

Result: full-width 2:1 image card above the title and description

Open Graph fallback

Inputs: no twitter: tags present

Result: X falls back to og:title, og:description, and og:image

Glossary

twitter:card
The meta tag that specifies which Twitter Card type to render — must be "summary", "summary_large_image", "app", or "player".
Card validator
Twitter's official tool for previewing and debugging card rendering at cards-dev.twitter.com/validator.
Player card
A Twitter Card type that embeds audio or video content directly in tweets — requires application to Twitter.
OG fallback
Twitter's behavior of using og:title, og:description, and og:image when twitter:* tags are not present.

Related reading

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Related Social Media

Explore all Social Media.