Twitter/X Card Generator: Control How Your Links Look on X
X (formerly Twitter) reads its own set of twitter: meta tags to build the preview card shown when a link is posted — separate from, though it can fall back to, Open Graph tags. This generator builds those tags for the two most common card types and shows a live preview so your links actually look the way you intend before you post them.
summary_large_image uses a full-width banner; summary uses a small square thumbnail.
Why X Has Its Own Tag Namespace
X's Card system predates its current fallback behavior to Open Graph, and its own twitter: tags still take priority when present — giving you finer control specifically for how a link appears on X, independent of how it might look on Facebook or LinkedIn via og: tags.
Choosing summary vs. summary_large_image
summary_large_image is almost always the better choice for content with a strong visual — blog posts, product pages, tools — since the large banner draws more attention scrolling through a feed. summary (small square thumbnail) fits better when the image is secondary to the text, like a quote or a text-heavy announcement.
site vs. creator Attribution
twitter:site attributes the card to your brand/website's X account — this is what shows as the card's source. twitter:creator additionally credits an individual author, which matters for publications with bylined content where the author and the publication are different accounts.
Practical Examples
A Blog Post Card
Large image with author attribution.
- 1.Card: summary_large_image
- 2.twitter:site: @moderncalcs
- 3.twitter:creator: @author_handle
A Compact Tool Card
Small thumbnail alongside text.
- 1.Card: summary
- 2.Image: square logo/icon
- 3.Focus on title + description text
Core Twitter Card Tags
- twitter:card: summary, summary_large_image, app, player
- twitter:title: ≤ 70 characters recommended
- twitter:description: ≤ 200 characters recommended
- twitter:image: banner or thumbnail
- twitter:site / twitter:creator: attribution
After Deploying, Verify With
- X's Card Validator to force a re-crawl and preview
- Posting the link in a private/draft context first
- Checking both mobile and desktop rendering
- Confirming the image loads over HTTPS without auth
Frequently Asked Questions
What's the difference between summary and summary_large_image?
summary shows a small square thumbnail alongside the title and description. summary_large_image shows a full-width banner image above the text — visually similar to Facebook/LinkedIn's Open Graph cards, and generally gets more attention in a feed.
Do I still need this if I already have Open Graph tags?
X (Twitter) primarily reads its own twitter: tags and only falls back to Open Graph og: tags for fields it's missing. Setting twitter: tags explicitly gives you more control over exactly how the card looks on X specifically, rather than relying on the fallback behavior.
What are twitter:site and twitter:creator for?
twitter:site is the @username of the website/brand's X account (attributed as the card's source). twitter:creator is the @username of the content's specific author, useful for byline attribution on articles with individual authors — both are optional.
What image size works best?
For summary_large_image, aim for a minimum of 300x157px with a 2:1 aspect ratio, ideally larger (1200x630 also works well here and doubles as your Open Graph image). For summary, a square image around 144x144px minimum is used as a small thumbnail.
What is the 'app' card type for?
It's used to promote a mobile app directly in the card, showing app store details and a direct install/open link, instead of a webpage preview. It requires app-specific meta tags (app ID, app store URLs) beyond what this generator covers.
How do I test my card actually renders correctly?
X's Card Validator tool lets you enter your URL and preview exactly how the card will render once your tags are live and the page has been crawled by X's bot.
