Open Graph Generator — Create OG & Twitter Card Tags
This free Open Graph generator creates the og: and twitter: meta tags that control how your link looks when shared on Facebook, LinkedIn, Slack, and X. The Open Graph protocol reads og:title, og:description, og:image, and og:url to build a preview card; the recommended og:image is 1200×630 pixels with an absolute URL. Fill in your details to generate ready-to-paste tags, then re-scrape with each platform's sharing debugger so it picks up your changes. Everything is generated locally in your browser.
How Open Graph tags work
Open Graph (OG) tags are meta tags in your HTML <head> that control how your page appears when shared on social platforms — Facebook, LinkedIn, WhatsApp, Slack, iMessage, and many others. They were created by Facebook in 2010 and are now the de facto standard for social sharing metadata.
The four essential OG tags are: og:title (the link headline), og:description (the preview text), og:image (the thumbnail — ideally 1200×630 px), and og:url (the canonical URL of the page). Twitter/X uses its own variant (twitter:card, twitter:title, etc.) but falls back to OG tags when Twitter-specific tags are absent. Without OG tags, social platforms extract title and description from your page's content with unpredictable results, often producing poor-quality previews. After adding or updating OG tags, clear the social platform's cache using Facebook's Sharing Debugger or LinkedIn's Post Inspector.