Open Graph Generator
Create Open Graph meta tags for Facebook, LinkedIn, WhatsApp and Slack: title, description, image, URL and type, with a live share preview.
Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the Open Graph Generator
- 1 Fill in the title, description, URL and image of your page.
- 2 Check the preview of how the link will look when shared.
- 3 Copy the tags into the <head> of the page.
About the Open Graph Generator
When someone shares a link on Facebook, LinkedIn, WhatsApp, Slack or Discord, the app reads the page's Open Graph tags to build the preview card: the image, title and short description. Without them, the app guesses, often with a random image or no preview at all.
The generator writes the Open Graph protocol tags: og:title, og:description, og:url (the canonical URL), og:image with an alt text, og:type (website for most pages, article for blog posts), og:site_name and og:locale such as en_US. Values are escaped so quotes and ampersands don't break the HTML.
Use an image of at least 1200 × 630 pixels (ratio 1.91:1) with an absolute https URL, and keep important content away from the edges because apps crop differently. Apps cache previews, so after changing the tags use the platform's debug tool (such as Facebook's Sharing Debugger) to refresh them.
Frequently asked questions
What size should og:image be?
1200 × 630 pixels is the common recommendation. Keep the file under a few megabytes and use an absolute URL.
Do I also need Twitter Card tags?
X (Twitter) falls back to Open Graph for title, description and image, but it needs twitter:card to choose the large image layout.
Why does the old preview still show?
Platforms cache previews. Use their debug or inspector tools to fetch the page again.
Do Open Graph tags help SEO?
Not directly for rankings, but attractive previews get more clicks when your pages are shared.