What is a Twitter Card?
Twitter Cards, now used by X, are metadata that can help a shared URL display a richer preview. The tags describe the card type, title, description and image.
How to create Twitter Card tags
Choose a card type, add the page title and description, then provide an image URL if your card uses one. Copy the generated tags into the head section of your page.
Summary vs large image cards
A summary card gives a compact preview. A summary large image card gives the image more visual space. Pick the format that matches your page and social creative.
Frequently asked questions
Should I use twitter: tags if I also have Open Graph?
It is useful to provide the tags expected by the platform. Open Graph and Twitter/X metadata can work together.
It is useful to provide the tags expected by the platform. Open Graph and Twitter/X metadata can work together.
What image URL should I use?
Use a publicly accessible HTTPS image URL that represents the page.
Use a publicly accessible HTTPS image URL that represents the page.