Create X (Twitter) Card tags and preview your card before you share.
About the Twitter Card Generator
Twitter Cards control how your links look when shared on X. Choose a card type, fill in the details and copy the generated meta tags into your page.
How to use the Twitter Card Generator
- Choose the card type.
- Enter the title, description, image and usernames.
- Copy the tags into your page’s head.
Why use this tool?
- Summary and large image cards
- Live preview
- Correctly escaped code
Frequently asked questions
Do I still need Twitter tags if I have Open Graph?
X falls back to Open Graph tags, but twitter:card is needed to choose the large image layout.
What image size works best?
Use at least 1200 × 628 pixels for large image cards.