Open Graph Tag Generator

Generate Open Graph and Twitter Card meta tags with live preview. Free online tool with copy-ready HTML code. No signup needed.

Preparing private browser tool…

Your file will stay on this device.

Frequently asked questions

What are Open Graph tags?
Meta tags that control how URLs are displayed when shared on Facebook, LinkedIn, Slack, and other social platforms.
Image size for og:image?
1200x630 pixels (1.91:1), under 8 MB, JPG/PNG/WebP format for best compatibility.
Need both OG and Twitter tags?
Yes. Twitter reads twitter:* first and falls back to og:*, so include both for best previews.
Which types can I choose?
og:type as website, article, video, or music, and twitter:card as summary, summary_large_image, app, or player. Title, description, and image are written into both tag families.
Do the URLs have to be absolute?
Yes. Crawlers do not resolve a relative path against your page, so og:url and og:image need the full https:// address. The values are written out exactly as typed, with quotes and ampersands escaped.