Open Graph Tag Generator

Generate Open Graph meta tags for social sharing — enter your page title, description, URL, and image to get ready-to-paste og: tags for Facebook, LinkedIn, and other platforms.







Frequently Asked Questions

What are Open Graph tags?

Open Graph (og:) meta tags control how a URL appears when shared on Facebook, LinkedIn, Slack, and other platforms that read OG metadata.

Which OG tags are most important?

At minimum, set og:title, og:description, og:url, and og:image. og:type and og:site_name add context but are optional.

What image size should I use?

Facebook recommends 1200×630 pixels for og:image. Use an absolute HTTPS URL so platforms can fetch the image.

Can I preview how shares look?

Yes. Use the Open Graph Preview Tool to see a visual mockup of your share card.

Is this tool free and does it work on mobile?

Yes on both counts. The Open Graph Tag Generator on draft21 is completely free with no sign-up required and works on all devices.