SEO · Free tool
Open Graph Tag Generator
Fill in the fields, copy a clean Open Graph tag block, paste into your page's <head>. Includes locale and image-dimension hints for cleaner rendering.
Paste into <head>
<meta property="og:type" content="website" /> <meta property="og:site_name" content="Example" /> <meta property="og:locale" content="en_IN" /> <meta property="og:title" content="Page title here" /> <meta property="og:description" content="Page description, 70–160 chars." /> <meta property="og:url" content="https://www.example.com/page" /> <meta property="og:image" content="https://www.example.com/og.png" /> <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="630" />
The five required tags
Facebook, LinkedIn and WhatsApp all expect these five: og:title, og:description, og:image, og:url, og:type. Without any one of them, the platform either rejects the preview or falls back to scraping page body content — often badly. This generator always emits all five plus the optional og:site_name, og:locale (set to en_IN by default for India), and og:image:width / og:image:height for crisper rendering.
Preview, generate, validate
Use the Open Graph preview to mock the card visually first, then come back here for the tags. After publishing, push the URL through Facebook's Sharing Debugger to force a fresh scrape — WhatsApp caches link previews aggressively. For X / Twitter, layer in Twitter card tags separately. The full checklist is in the 2026 OG checklist.
Quality bar for the image
- Use absolute https URLs — relative paths break for crawlers off-domain.
- 1200×630 (1.91:1) renders crisp on every platform.
- Keep file size under 2 MB for fast mobile feed rendering.
- Avoid text-heavy images that get illegible at thumbnail size.
FAQ
Are Open Graph tags a Google ranking factor?
No, Google does not use Open Graph for ranking. They matter for social sharing CTR - which indirectly drives traffic, links and brand searches, all of which feed ranking signals over time.
Which Open Graph tags are required?
og:title, og:description, og:image, og:url and og:type. Without these five, Facebook and LinkedIn either reject the preview or fall back to scraping page content (often badly).
Should the og:url match the canonical URL?
Yes. og:url should always equal the canonical URL of the page. Mismatched values cause likes and shares to accumulate on multiple URL variants instead of consolidating on the canonical.