Twitter/X Cards Guide
Official Twitter Card specifications. Create engaging link previews with the right card types and image dimensions.
Logan Renz
• Developer & Social Media SpecialistHelping developers implement Twitter Cards correctly using official X documentation.
Quick Reference
Based on Twitter's official documentation:
- Large Image: 1200×675px (1.78:1 ratio), under 5MB
- Summary Card: 200×200px minimum (square)
- Title: 70 characters max
- Description: 200 characters max
Card Types
Twitter supports two main card types for most websites:
Large image above the title. Best for articles and blog posts.
Square thumbnail beside the title. Good for apps and profiles.
Required Meta Tags
Twitter reads twitter:* tags first, then falls back to Open Graph tags:
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Your Page Title" />
<meta name="twitter:description" content="Brief description of your page" />
<meta name="twitter:image" content="https://example.com/image-1200x675.jpg" />
<meta name="twitter:site" content="@yourhandle" />Key Differences from Facebook
- • Twitter uses 16:9 ratio (1.78:1), not 1.91:1
- • Max file size is 5MB (vs Facebook's 8MB)
- • The
twitter:cardtag is required - • Use
nameattribute, notproperty
Image Requirements
Large Image Size
1200 × 675px
16:9 aspect ratio
Summary Size
200 × 200px
Square thumbnail
Max File Size
5 MB
Keep under 1MB for speed
Formats
JPG, PNG, WebP
GIF also supported
Testing & Debugging
Use Twitter's Card Validator to preview your cards.
Common Issues
twitter:card tagOfficial Resources
Preview Your Twitter Card
Test how your link will appear on X/Twitter before sharing.
Open Preview Tool