Free Open Graph Generator
Generate Open Graph meta tags for social media sharing. Optimize how your content appears on Facebook, LinkedIn, and Twitter.
Last Updated: 15 Jan 2026
Recommended: 1200x630 pixels for best display.
Output Tags
<meta property="og:type" content="website" />
What are Open Graph Tags?
Open Graph (OG) tags are HTML meta tags that control how your content appears when shared on social media platforms like Facebook, LinkedIn, Twitter, and WhatsApp. They provide structured metadata about your webpage, including the title, description, image, and URL, allowing social platforms to create rich, attractive previews of your content.
Open Graph tags were created by Facebook in 2010 and have since become the standard for social media sharing. When someone shares your link, these tags determine what image, title, and description appear in the social media post preview. Well-optimized OG tags significantly improve click-through rates and engagement on social platforms.
Why Use Our Free Open Graph Generator?
Social Media Optimization
Create attractive social media previews that increase click-through rates. Control exactly how your content appears when shared on Facebook, LinkedIn, and Twitter.
Instant HTML Code
Generate ready-to-use Open Graph meta tags instantly. Copy and paste the HTML code directly into your webpage's <head> section.
Brand Consistency
Maintain consistent branding across all shared links. Ensure your content looks professional and on-brand when shared on social media platforms.
Common Use Cases for Open Graph Tags
Content Marketing
Blog Posts
Create attractive previews for blog posts shared on social media. Include compelling images, titles, and descriptions that encourage clicks.
Articles & News
Optimize news articles and editorial content for social sharing. Increase visibility and engagement on platforms like Facebook and LinkedIn.
Product Pages
Showcase products with high-quality images and descriptions when shared. Improve conversion rates from social media traffic.
Business & Branding
Landing Pages
Optimize landing pages for social sharing. Create compelling previews that drive traffic from social media campaigns.
Company Pages
Ensure company pages and about pages look professional when shared. Maintain brand consistency across all social platforms.
Event Pages
Promote events and webinars with attractive social previews. Include event images, dates, and descriptions to increase attendance.
Essential Open Graph Tags
Required OG Tags
og:title- The title of your content (60 characters recommended)og:type- Content type (website, article, video, etc.)og:image- Preview image URL (1200x630px recommended)og:url- Canonical URL of your page
Recommended OG Tags
og:description- Brief description (155 characters recommended)og:site_name- Your website nameog:locale- Language and region (e.g., en_US)og:image:widthandog:image:height- Image dimensions
Image Requirements
Use images that are at least 1200x630 pixels for best results. Facebook recommends 1200x630px, while LinkedIn prefers 1200x627px. Use high-quality, relevant images that represent your content.
Title & Description
Keep titles under 60 characters and descriptions under 155 characters for optimal display. Write compelling copy that encourages clicks while accurately representing your content.
Platform-Specific Tips
Facebook & LinkedIn
Both platforms use Open Graph tags. Recommended image size: 1200x630px. They display large, attractive previews that significantly impact engagement.
Tip: Use high-quality images with text overlay for better engagement.
Twitter Cards
Twitter uses its own Twitter Card tags but falls back to OG tags. Use both for maximum compatibility. Recommended image: 1200x675px.
Tip: Add Twitter Card tags in addition to OG tags for optimal Twitter display.
WhatsApp uses Open Graph tags for link previews. Smaller previews appear in chat, so ensure your image and title are clear and compelling.
Tip: Test your OG tags using WhatsApp's link preview to ensure they display correctly.
Testing Tools
Use Facebook's Sharing Debugger, LinkedIn's Post Inspector, or Twitter's Card Validator to test how your content appears before sharing.
Tip: Clear cache if previews don't update after changing OG tags.
Frequently Asked Questions
What image size should I use for OG tags?
Use images that are at least 1200x630 pixels. Facebook recommends 1200x630px, LinkedIn prefers 1200x627px, and Twitter Cards work best with 1200x675px. Larger images are fine, but maintain aspect ratio.
Do I need separate tags for Twitter?
Twitter uses Twitter Card tags but falls back to Open Graph tags. For best results, include both. Twitter Card tags (twitter:card, twitter:title, etc.) provide more control over Twitter-specific display.
Why isn't my preview updating on Facebook?
Facebook caches OG tags. Use Facebook's Sharing Debugger to clear the cache and force a refresh. After clearing cache, your updated OG tags will appear in new shares.
Where do I place Open Graph tags?
Place OG tags in the <head> section of your HTML, typically between <head> and </head> tags. They should be on every page you want to optimize for social sharing.
Related Tools
Explore more tools in this category
Meta Tag Generator
Create SEO-friendly meta tags.
Schema Markup Generator
Create structured data JSON-LD.
Robots.txt Generator
Control crawler access.
Sitemap XML Generator
Create XML sitemaps.
UTM Link Builder
Track campaign performance.
Redirect Checker
Verify HTTP redirects.
Popular Tools
Most used tools across all categories
Word Counter
Text Content ToolsCount words, characters, and lines.
ROI Calculator
Calculators Financial ToolsCalculate return on investment.
JSON Formatter
Code Developer ToolsPrettify and validate JSON data.
Password Generator
Password Security ToolsCreate secure passwords.
QR Code Generator
Qr Barcode ToolsCreate text or URL QR codes.
Image Compressor
Image Design ToolsReduce image size without quality loss.
Need More SEO & Marketing Tools?
Explore our complete collection of free seo & marketing tools. All tools are 100% free, require no sign-up, and work instantly in your browser.
