OG Tag Generator
Generate Open Graph tags
Frequently Asked Questions
What are Open Graph tags?
Open Graph (OG) tags are HTML meta tags that control how your page appears when shared on social media (Facebook, LinkedIn, Twitter, WhatsApp). They define the title, description, image, and URL shown in the social media preview card.
What Open Graph tags are required?
Minimum: og:title, og:type (website/article), og:image, og:url. Recommended: og:description, og:site_name, og:locale. For articles: article:published_time, article:author. The generator creates all relevant tags.
What is the ideal Open Graph image size?
Recommended: 1200×630 pixels (1.91:1 ratio). Minimum: 600×315 pixels. Maximum file size: 8 MB. Use JPG or PNG format. Facebook, LinkedIn, and WhatsApp all use this size. The generator validates your image dimensions and provides warnings.
How do I test my Open Graph tags?
Use Facebook's Sharing Debugger (developers.facebook.com/tools/debug). LinkedIn Post Inspector. Twitter Card Validator. These tools fetch your page and show the preview. Clear cached previews by entering your URL in the debugger after making changes.
How do I add Open Graph tags for Twitter?
Twitter uses its own card tags: twitter:card (summary_large_image), twitter:title, twitter:description, twitter:image. Twitter also falls back to OG tags if Twitter-specific tags are missing. The generator creates both sets.