Open Graph and Twitter Card Generator
Generate Open Graph and Twitter Card tags and see exactly how the link will look when shared on X, Facebook, LinkedIn and Slack. Free.
Card details
Preview
Platforms cache cards aggressively. After changing the tags, force a refresh with the Facebook Sharing Debugger or the LinkedIn Post Inspector.
Meta tags
What this tool is for
The card is what people actually see when your link is shared, and it is usually discovered to be broken after the post goes out. Fill in the fields, see the rendered card for each platform, then copy the tags.
How to use it
- Enter the title, description, image URL and card type.
- Check the preview for X, Facebook and LinkedIn: each crops differently.
- Copy the meta tags into your page head.
Frequently asked questions
What image size should I use?
1200 by 630 pixels, a 1.91 to 1 ratio, works on every major platform. Keep text away from the edges, since some clients crop to a square.
I updated the tags and the old card still shows.
Platforms cache aggressively. Use the Facebook Sharing Debugger or the LinkedIn Post Inspector to force a refresh. X refreshes on its own schedule.
Do I need both Open Graph and Twitter tags?
Open Graph alone covers most platforms, including X as a fallback. Add the Twitter tags when you want a different image or a large summary card there specifically.