Open Graph Generator
Generate the Open Graph tags that control how your page looks when it is shared on Facebook, LinkedIn, WhatsApp, Slack and Discord — title, description, image, type and URL. Copy them into your head. Everything is produced in your browser.
Runs in your browser — nothing is uploaded
Questions
- What size should the og:image be?
- 1200×630 pixels, a 1.91:1 ratio, under 8MB and ideally under 300KB. Anything much smaller than 600×315 gets rendered as a small square thumbnail instead of a large card, which is a considerable difference in click-through.
- Why is my image not showing when I share the link?
- Usually a cache. Facebook and LinkedIn both cache the first scrape of a URL for a long time — use their own debugger tools to force a re-scrape. The other common cause is a relative image URL; og:image must be absolute, including the scheme.
- Do I need Twitter tags as well?
- X falls back to Open Graph tags when no Twitter card tags are present, so the basics are covered. Adding the Twitter tags gives you control over the card type — a large summary image versus a small one — which is worth the four extra lines.
What people use next
- Twitter Card GeneratorGenerate Twitter Card meta tags for rich link previews on X/Twitter. Supports all card types.
- Meta Tag GeneratorGenerate HTML meta tags for SEO — title, description, charset, viewport, robots, and author.
- Image ResizerResize images to custom dimensions in pixels or percentage. Lock aspect ratio supported.