🐦 Twitter Card Best Practices 2026
You paste a link into a tweet — and instead of a rich preview with an image, you get a blank grey box. Or worse: the wrong image, a truncated title, or no card at all.
Twitter Cards (now "X Cards") are how links look when shared on the platform. They're powered by meta tags in your page's <head>. Get them right and your links drive clicks. Get them wrong and you look unprofessional.
Here's everything you need to know about Twitter Cards in 2026 — correct image sizes, card types, common issues, and free tools to test your setup.
📏 Twitter Card Image Sizes (2026)
Image dimensions are the #1 reason cards break. Here are the current specs:
| Card Type | Aspect Ratio | Min Size | Recommended |
|---|---|---|---|
| summary | 1:1 | 144×144 | 1200×1200 |
| summary_large_image | 2:1 | 300×157 | 1200×600 |
| player / app | varies | — | Check docs |
summary_large_image. It's the safest size and works across Twitter, Facebook, LinkedIn, and Discord. One image rules them all.
Format: JPG, PNG, WebP, or GIF (first frame for animated). Max file size: 5MB.
What NOT to do: Don't use an SVG as your card image. Twitter (and most social platforms) can't render SVGs in link previews. Always use a raster format.
🃏 Twitter Card Types
There are 4 card types. Most sites only need the first two:
1. Summary Card
The default. Shows a small square thumbnail (left or right), title, and description. Best for: blog posts, product pages, documentation.
2. Summary Card with Large Image
Shows a prominent full-width image above the title and description. The most engaging format — tweets with large image cards get 2-3× more clicks. Use this for feature articles, landing pages, announcements.
3. Player Card
Embeds video or audio directly in the tweet. Requires an iframe or HTML5 player. Needs whitelisting by X.
4. App Card
Direct download link to a mobile app with app store badges. Requires app ID registration with X. Rarely used.
🔧 Required Meta Tags
At minimum, your page needs these tags for a working card:
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@yourhandle">
<meta name="twitter:title" content="Your Page Title">
<meta name="twitter:description" content="Your description, max ~200 chars">
<meta name="twitter:image" content="https://yoursite.com/image.jpg">
Key points:
twitter:imagemust be an absolute URL (starting withhttps://)twitter:description— keep it under 200 characters. Longer text gets truncatedtwitter:site— your account's @handle (optional but recommended)twitter:card— must be one of:summary,summary_large_image,player,app
❌ 6 Common Twitter Card Problems & Fixes
1. Card not showing at all
Fix: Run your URL through the Twitter Card Validator. This forces Twitter's crawler to re-fetch your page. Also check: is your page accessible to the public web (not behind auth)?
2. Wrong image appearing
Fix: Twitter caches card data aggressively. Use the Card Validator to refresh. Also check: do you have multiple twitter:image tags? Only the first one is used.
3. Image shows as grey box
Fix: 90% of the time this is a dimension issue. Your image must be at least 144×144px (summary) or 300×157px (large image). Check the ratio matches the card type.
4. OG tags overriding Twitter
Fix: If Twitter can't find twitter:* tags, it falls back to og:* tags. This is usually fine — but if your og:image is a different ratio than your intended card, you'll get unexpected results. Always include both sets of tags.
5. HTTPS required for images
Fix: Twitter requires HTTPS URLs for all card content. An http:// image URL will be silently ignored.
6. Card works in validator but not in tweets
Fix: There's a known delay between validator approval and live tweet rendering. Wait 5-10 minutes and try posting again. Also check: does your server block the Twitterbot user agent? Allow Twitterbot/1.0.
⬇ Twitter Cards vs Open Graph — Which Wins?
If a page has both twitter:* and og:* tags, Twitter uses this priority:
twitter:card,twitter:title, etc. (Twitter-specific)- If missing: falls back to
og:title,og:description,og:image - If both missing: Twitter tries to guess from your page content (usually badly)
Our recommendation: Include both sets. They serve different platforms and the overlap ensures nothing breaks. It's 10 extra lines of HTML that prevent 100% of social preview failures.
| Property | Open Graph | |
|---|---|---|
| Title | twitter:title | og:title |
| Description | twitter:description | og:description |
| Image | twitter:image | og:image |
| Card/Type | twitter:card | og:type |
| Used by | X/Twitter only | Facebook, LinkedIn, Discord, Slack, WhatsApp, Telegram |
🔍 Test Your Twitter Cards — Free
Enter your URL and see exactly how your page looks on Twitter, Facebook, LinkedIn, and Discord. Detects missing tags, wrong image sizes, and more.
🏷️ Check Your Meta Tags →🚀 Quick Checklist for 2026
- ✅ Image: 1200×600px JPG or PNG, under 5MB, HTTPS URL
- ✅ Card type:
summary_large_imagefor maximum impact - ✅ Both
twitter:*ANDog:*tags present - ✅ Absolute URLs (starting with https://)
- ✅ Tested with Twitter Card Validator
- ✅ Tested with our Meta Tag Analyzer for cross-platform preview
- ✅ Server allows Twitterbot crawler (check robots.txt)
- ✅
twitter:descriptionunder 200 characters
Bottom line: Twitter Cards are 10 meta tags that take 2 minutes to add. They're the difference between "random link" and "professional content" when your URL is shared. Add them today — your click-through rate will thank you.