Open Graph Tag Generator

Generate OG tags for social sharing.

Reset

About the Open Graph Tag Generator

This Open Graph Tag Generator creates the og: meta tags that control how your link looks when shared on Facebook, LinkedIn, Slack, and many other apps. Without OG tags, shares often show a random image, truncated title, or blank preview — which hurts click-through from social.

Enter title, description, URL, and image, then copy the tags into your page <head>. After deploying, use each platform’s debugger to refresh the cached preview.

What to set

  • og:title — clear share headline (can differ slightly from SEO title)
  • og:description — one or two sentences that earn the click
  • og:url — the canonical share URL
  • og:image — absolute HTTPS image URL (large enough for the crop)

How to use

  1. Fill in the fields with the share preview you want people to see.
  2. Generate tags and add them to the template for that URL.
  3. Deploy, then re-scrape the URL in Facebook Sharing Debugger / LinkedIn Post Inspector.

Tips

  • Use an absolute image URL (https://…), not a relative path.
  • Aim for a dedicated share image; tiny logos look blurry in feeds.
  • Keep og:url aligned with your canonical to avoid duplicate share variants.

FAQ

Are OG tags the same as Twitter cards? Related but separate. Many sites set both; Twitter can fall back to OG in some cases.

Why is my old image still showing? Platforms cache previews — use their debugger “scrape again” tools after changes.