Open Graph Generator
Generate Open Graph and Twitter Card meta tags with a live social share preview.
How the Open Graph Generator Works
Open Graph tags are small pieces of code in a page’s head section that control how your link looks when it is shared on Facebook, LinkedIn, WhatsApp, iMessage, and similar platforms, the title, description, and preview image. Twitter Card tags do the same job for X (Twitter).
How this tool builds your tags
Fill in your page’s title, description, URL, and a preview image, then generate the tags. You will also see a live preview of roughly how the shared link will look, plus ready-to-paste meta tags for both Open Graph and Twitter Card.
Open Graph best practices
- Use an image sized around 1200 by 630 pixels for the sharpest preview across platforms.
- Keep the title and description close to your actual page title and meta description.
- Always set a unique og:url so shares are attributed to the correct page.
- Test your final page with a link debugger (such as Facebook’s Sharing Debugger) after publishing.