Generate Open Graph meta tags for Facebook — enter your page title, description, image URL and type to get copy-paste HTML meta tags that control how your page appears when shared.
Fill in the page title (50-60 characters), description (150-160 characters), the URL of the featured image (minimum 1200x630 pixels recommended), page URL and content type.
See a live preview of how your link will appear when shared on Facebook — including the thumbnail image, title and description. Adjust until it looks compelling.
Click Copy Tags to get the complete HTML meta tag block ready to paste into the head section of your webpage. The tags work for Facebook, LinkedIn, WhatsApp and most other platforms that read Open Graph.
Open Graph (OG) meta tags are HTML tags in your page\ head section that control how your content appears when shared on social media. They were created by Facebook and are now supported by most platforms including LinkedIn, WhatsApp, Twitter (as a fallback) and Slack. Without OG tags, platforms guess what to show — often with poor results.
Facebook recommends 1200x630 pixels for link share images. This size ensures your image looks sharp on both desktop and mobile without being cropped. The minimum is 200x200 pixels but will appear much smaller and less impactful. Always use images at least 600x315 pixels. Avoid images with large amounts of text — Facebook may reduce reach for images with more than 20% text.
Open Graph tags do not directly affect Google search rankings, but they significantly impact click-through rates when content is shared on social media. Better-looking social previews drive more clicks, which can increase traffic and indirectly benefit SEO through engagement signals. They also prevent platforms from showing incorrect or missing previews that could deter clicks.
The og:type property tells social platforms what kind of content is being shared. Common values include website (general web pages), article (blog posts and news), product (e-commerce items), profile (people) and video.movie. Using the correct type can trigger enhanced features on some platforms — for example, article type on Facebook can show the author and publication date.
Twitter uses its own Twitter Card meta tags (twitter:card, twitter:title, twitter:description, twitter:image) but falls back to Open Graph tags if Twitter Cards are not present. For best results on Twitter, add both sets of tags. This generator creates the OG tags; use our Twitter Card Generator for the Twitter-specific variants.
Facebook caches page metadata aggressively. After updating your OG tags, use the Facebook Sharing Debugger (developers.facebook.com/tools/debug) to force a cache refresh. Enter your URL and click Debug, then Scrape Again. This forces Facebook to re-read your updated meta tags. Cache refresh can take a few minutes to propagate.
The og:url tag specifies the canonical URL of your page — the definitive version Facebook should use when tracking shares and likes. If your page can be accessed via multiple URLs (with or without www, with or without trailing slash, with tracking parameters), setting a canonical og:url ensures all social engagement is consolidated under one URL rather than being split across variants.
The og:locale tag specifies the language and region of your content using IETF language codes (e.g. en_GB for British English, en_US for American English, fr_FR for French). This helps Facebook serve your content to the right regional audience and may influence ad targeting. If your site serves multiple languages, use og:locale:alternate for additional locale variants.