Open Graph & Twitter Card Generator
Create Open Graph and X (Twitter) card tags so links look right when shared.
HTML
About this tool
Open Graph tags control the title, description and image shown when a link is shared on social platforms and in many chat apps. Twitter card tags do the same on X.
How to use it
- Enter the page title, description, URL and an absolute image URL.
- Pick the card type.
- Paste the output into your page head.
Open Graph & Twitter Card Generator FAQ
What size should the image be?
Use 1200×630 pixels (1.91:1) for large link previews, under 5 MB.
Do I need both Open Graph and Twitter tags?
X falls back to Open Graph, so og tags plus twitter:card is enough.