Free Open Graph Meta Tag Generator
4.8(16 reviews)Generate Open Graph and Twitter Card meta tags — no account required. Fill in the fields below and copy the generated HTML into your <head> section. Free for any website.
On this page
Meta Tag Best Practices
Title Tuning
- Keep og:title under 60 characters — Facebook truncates at 88 but LinkedIn and Twitter cut off earlier
- Also, put the most important keywords and the value up front in the first 40 characters
- Avoid using your brand name in og:title if it is already in og:site_name — it wastes characters
- Write titles that work as standalone hooks — users see them without any page context
- Use og:title independently from your HTML <title> tag so you can optimize each for its channel
Image Tuning
- Use 1200x630px images for the best cross-platform fit
- Always use absolute URLs starting with https:// — relative paths break on every platform
- Also, include og:image:width and og:image:height to stop layout shifts while the card loads
- Keep images under 1MB — Facebook rejects images over 8MB and recommends under 1MB for speed
- Place key text and visuals in the center 80% of the image — different platforms crop differently at the edges
- Use high-contrast text on images — social feed backgrounds vary between light and dark mode
Description & Technical
- Write og:description at 150-160 characters — long enough to convey value, short enough to avoid truncation
- Also, include a clear benefit or hook in the first 100 characters since some platforms cut text short on mobile
- Set og:type to 'website' for homepages and landing pages, 'article' for blog posts with published dates
- Always include both OG and Twitter Card tags — while Twitter falls back to OG, explicit tags give you full control
- Use og:locale to specify language (e.g., en_US) for multilingual sites so platforms display the correct version
- Finally, check your tags after every deploy using Facebook Sharing Debugger and our Open Graph Debugger tool
What Are the Meta Tag Technical Specifications?
| og:title max length | 88 characters (Facebook), 70 characters (LinkedIn), 70 characters (Twitter) |
| og:description max length | 300 characters (Facebook), 200 characters (LinkedIn), 200 characters (Twitter) |
| og:image recommended size | 1200 x 630 pixels (1.91:1 aspect ratio) |
| og:image minimum size | 200 x 200 pixels (Facebook), 144 x 144 pixels (LinkedIn) |
| og:image max file size | 8 MB (Facebook), 5 MB (Twitter), recommended under 1 MB |
| og:image supported formats | JPEG, PNG, GIF (first frame), WebP (limited support) |
| twitter:card types | summary, summary_large_image, player, app |
| twitter:image size (summary) | 120 x 120 pixels minimum, 1:1 aspect ratio |
| twitter:image size (summary_large_image) | 1200 x 628 pixels, 2:1 aspect ratio |
| Pinterest og:image | 1000 x 1500 pixels recommended (2:3 vertical) |
| WhatsApp preview | Reads og:title, og:description, og:image — no custom tags |
| LinkedIn article tags | Supports og:type article with author and published_time |
Supported Formats
Open Graph (OG)
Universal social meta tag protocol. Uses <meta property='og:*'> syntax. Read by Facebook, LinkedIn, Pinterest, WhatsApp, Slack, Discord, and most platforms.
Best for: Cross-platform social sharing — include on every page
Twitter Cards
Twitter/X-specific meta tags. Uses <meta name='twitter:*'> syntax. Falls back to OG tags for missing fields. Supports card types for different preview layouts.
Best for: Twitter/X sharing with specific card layout control
Schema.org / JSON-LD
Structured data that search engines use for rich results. Complements OG tags but serves a different purpose — search results vs. social previews.
Best for: Google rich snippets, knowledge panels, and AI overviews
Where Can You Find Meta Tag Resources?
Official Documentation
Open Graph Protocol Spec
The official Open Graph docs at ogp.me. Covers all supported properties, types, and structured data add-ons.
Twitter Cards Docs
Twitter's official guide to Card markup, card types, and setup needs.
Facebook Sharing Best Practices
Facebook's developer docs on tuning content for sharing, including image specs and crawler behavior.
LinkedIn Post Inspector
LinkedIn's tool for validating how your OG tags render on their platform and clearing cached previews.
Validation & Debugging Tools
Our free tool to preview and validate your OG tags across platforms in real-time.
Our free tool to preview how your Twitter Card tags render on Twitter/X.
See how your URL will appear when shared on Facebook, LinkedIn, Twitter, and Instagram.
Related Tools
Add campaign tracking parameters to your URLs before sharing them with OG tags on social media.
Resize your og:image to the exact 1200x630 OG spec or any platform-specific size.
Create carousel posts with proper meta tags and link previews for maximum LinkedIn reach.
Track how your meta tag improvements affect engagement across social platforms.
Explore More
Browse all 30+ free tools. Everything runs client-side with no data uploaded to servers.
Testimonials
Loved by Creators & Marketers
SocialPreviewHub replaced three paid tools I was using. The post preview is pixel-perfect and the carousel builder saves me hours every week. Best free toolkit I've found.
Sarah Mitchell
Social Media Manager · BrightWave Agency
The UTM builder and meta tag generator are incredibly well-built. I used to pay $30/mo for similar features. Now my whole team uses SocialPreviewHub daily.
James Rodriguez
Digital Marketing Lead · GrowthPoint Media
I create LinkedIn carousels every week and this tool is essential for my workflow. Upload slides, export PDF, done. No more wrestling with Canva templates.
Emily Chen
Content Creator · Self-employed
Generated a QR code menu for my restaurant in under 2 minutes. Added all items with prices and it looks professional. Saved me from paying a monthly subscription.
Marcus Thompson
Restaurant Owner · The Urban Kitchen
The Open Graph debugger helped me fix broken link previews for three client websites. The meta tag generator is now part of my standard workflow for every new site.
Priya Sharma
Freelance Marketer · Sharma Digital
We use the barcode generator for all our product labels. Supports EAN-13, Code 128, and UPC-A which covers everything we need. Export quality is excellent.
David Kim
E-commerce Manager · NovaPack Retail
The safe zone checker is a must-have for short-form video creators. I stopped losing text behind TikTok's UI elements. Simple tool, huge time saver.
Rachel Foster
TikTok Creator · 530K followers
Device mockup generator is incredible for client presentations. Drop in a screenshot, pick a device frame, and export. My proposals look 10x more professional now.
Alex Nguyen
Brand Strategist · Pulse Creative Co.
Managing 12 client accounts and SocialPreviewHub handles all our preview, hashtag, and caption needs. We cancelled our Taplio subscription the same week we found this.
Olivia Martinez
Agency Director · Elevate Social
Built all our social media assets using SocialPreviewHub before launch. Post previews, OG tags, QR codes for our app download page. All free. Unbelievable value.
Tom Bradley
Startup Founder · LaunchKit
The image color extractor and palette generator are surprisingly accurate. I use them to pull brand colors from client logos and build consistent social media themes.
Nina Patel
UI/UX Designer · PixelCraft Studio
I recommend SocialPreviewHub to every client. The LinkedIn post preview with character counting and hook analysis helps my clients write better posts from day one.
Chris Walker
LinkedIn Coach · Profile Pro
Our team uses the chat screenshot generator for creating training materials and social proof. The Instagram DM mockups look incredibly realistic.
Aisha Johnson
Communications Manager · Meridian Health
The Twitter Card validator and OG debugger are essential for any SEO workflow. I check every page before launch now. Found and fixed broken previews on 40+ client pages.
Ryan O'Connor
SEO Specialist · RankFlow Digital
As a small business owner with no design skills, SocialPreviewHub is a lifesaver. I create my own social posts, generate QR menus, and even made a bio for my Instagram page.
Lisa Yamamoto
Small Business Owner · Bloom & Brew Cafe
The image resizer is a huge time saver. I upload one photo and download all 17 platform sizes in one click. No more opening Photoshop for every Instagram post and LinkedIn banner.
Daniel Park
Social Media Coordinator · Summit Marketing
Frequently Asked Questions
- What is the difference between Open Graph tags and Twitter Card tags?
- Open Graph tags were created by Facebook in 2010 and are now read by most social platforms including LinkedIn, Pinterest, WhatsApp, Slack, Discord, and Telegram. Twitter Card tags are specific to Twitter/X and offer layout control through card types like summary, summary_large_image, and player. Our meta tag generator creates both sets of tags simultaneously, so your content displays correctly everywhere it is shared. For example, you can set a wide banner image for Twitter's summary_large_image card while using a different square image for platforms that prefer 1:1 previews. According to Moz's 2025 SEO Industry Report, websites using both OG and Twitter Card tags see 23% higher click-through rates from social shares compared to those using only one tag set (Source: Moz SEO Industry Report 2025). The combined HTML adds only 500-800 bytes to your page with zero performance impact.
- How to create meta tags for SEO and social sharing?
- Use our free meta tag generator to enter your page title, description, image URL, and other details. The tool outputs copy-paste-ready HTML including OG tags, Twitter Card tags, and standard SEO meta tags in a single block. Paste the generated code into your page's <head> section before the closing </head> tag and deploy. For example, entering your blog post title, a 155-character description, and your featured image URL generates approximately 12-15 meta tags covering all major platforms. According to Ahrefs' 2025 SEO Study, pages with complete meta tag markup including both OG and standard SEO tags receive 31% more organic social referral traffic than pages with partial or missing tags (Source: Ahrefs SEO Study 2025). If you use a CMS like WordPress, Webflow, or Shopify, paste the tags into the custom HTML head section available in each platform's settings.
- What are Open Graph tags and why do I need them?
- Open Graph tags are HTML meta tags placed in your page's <head> section that control how your links appear when shared on Facebook, LinkedIn, WhatsApp, Slack, Discord, and dozens of other platforms. Without them, platforms attempt to guess your title, image, and description by scraping visible page content — often producing poor, misleading, or embarrassing results. Our OG tag generator creates the correct Open Graph markup in seconds. For example, without og:image, Facebook might grab a sidebar advertisement or a tiny navigation icon as your preview image. According to HubSpot's 2025 Marketing Report, links shared with complete OG tags receive 2-3x more clicks than those relying on auto-scraped metadata, because users are far more likely to click a visually rich card than a plain text URL (Source: HubSpot Marketing Report 2025). The four essential OG tags are og:title, og:description, og:image, and og:url.
- Do I need a meta tag generator if I use WordPress?
- Most CMS platforms and SEO plugins like Yoast SEO or RankMath create meta tags automatically based on your page content. However, auto-generated tags are often generic, sometimes pulling the first paragraph as the description or using a fallback site logo instead of a page-specific image. Key fields like og:image:width and og:image:height are frequently missing, causing slow card rendering. Use our meta tag generator to create fully optimized tags, then paste them into your CMS's custom head section for full manual control. For example, Yoast may set your og:title to match your SEO title, but a shorter, punchier social-specific title often performs better. According to WPBeginner's 2025 WordPress SEO Survey, 42% of WordPress sites have incomplete or misconfigured OG tags even with an SEO plugin installed (Source: WPBeginner WordPress SEO Survey 2025). Manual tag creation ensures nothing is missed.
- Why is my OG image not showing when I share my link?
- The most common causes of missing OG images are: using a relative URL instead of a full absolute URL (the og:image value must start with https://), the image file being too small (Facebook requires a minimum of 200x200 pixels, but 1200x630 is recommended), the image exceeding the 8MB file size limit on Facebook, or aggressive server-side or CDN caching serving stale metadata. Our meta tag generator includes og:image:width and og:image:height tags by default, which fix most display issues by allowing platforms to render the card without loading the full image first. For example, if your image path is '/images/hero.jpg' instead of 'https://yoursite.com/images/hero.jpg', every platform will fail to fetch it. According to Facebook's 2025 Developer Documentation, images under 600x315 pixels display as small thumbnails rather than large cards, reducing click-through rates by up to 40% (Source: Meta Developer Documentation 2025).
- How do meta tags affect SEO rankings?
- Open Graph and Twitter Card meta tags do not directly influence search engine rankings — Google does not use og:title or og:image as ranking signals. However, they have a significant indirect impact on SEO by driving higher click-through rates from social shares, which increases referral traffic, brand visibility, and potential backlinks. Google uses the standard HTML <title> and <meta description> tags for search results, not OG tags. Our meta tag generator creates both social and SEO meta tags together in a single output. For example, you can set an SEO-optimized <title> for Google while using a catchier og:title for social sharing. According to Search Engine Journal's 2025 Ranking Factors Study, pages that generate strong social sharing signals tend to correlate with higher search rankings, likely because social traffic leads to more backlinks and engagement signals (Source: Search Engine Journal Ranking Factors Study 2025).
- How do I clear cached social previews after updating meta tags?
- Each platform caches OG data differently and has its own clearing method. Facebook caches OG data for 24 or more hours and requires you to use Facebook's Sharing Debugger tool (developers.facebook.com/tools/debug) to manually scrape fresh data. For Twitter/X, the cache typically clears within a few minutes of the page being re-crawled, though you can check via browser inspection of the card. LinkedIn's Post Inspector lets you force a re-read of your page's metadata. After updating tags with our meta tag generator and deploying the changes, use our Open Graph Debugger to verify the new tags are being served correctly. For example, if you updated your og:image but Facebook still shows the old image, enter your URL in the Sharing Debugger and click 'Scrape Again' twice. According to Sprout Social's 2025 Technical Guide, failing to clear cached metadata is the number one reason marketers see outdated social previews (Source: Sprout Social Technical Guide 2025).
- Can I use different images for Facebook and Twitter with the meta tag generator?
- Yes. Our meta tag generator lets you set og:image for Facebook, LinkedIn, and other OG-compatible platforms, and a separate twitter:image for Twitter/X. Twitter checks for twitter:image first and falls back to og:image only if the Twitter-specific tag is missing. This separation lets you optimize images for each platform's slightly different crop ratio and display behavior. For example, Facebook displays OG images at 1200x630 pixels (1.91:1 ratio) while Twitter's summary_large_image card uses 1200x628 pixels (approximately 2:1 ratio). While the difference is small, exact designs with edge-to-edge text may need separate images for pixel-perfect display. According to Buffer's 2025 Social Sharing Report, pages that use platform-optimized images for both OG and Twitter Card tags see 15% higher click-through rates from shares compared to using a single image for all platforms (Source: Buffer Social Sharing Report 2025).
- What happens if I do not add any meta tags to my website?
- Social platforms will try to scrape your page and guess the title, description, and image. The results are almost always poor — they may grab a sidebar advertisement, navigation menu text, or a tiny favicon as the preview image, and pull random paragraphs as the description. According to Moz's 2025 SEO Industry Report, pages without properly configured Open Graph meta tags receive 40-50% fewer clicks from social shares compared to pages with complete OG markup (Source: Moz SEO Industry Report 2025). For example, an e-commerce product page without OG tags might show the site's cookie consent banner text as the description and a footer logo as the image when shared on Facebook. The impact compounds over time — every social share of your content becomes a missed opportunity for traffic. Our meta tag generator creates complete markup in under 2 minutes, making it one of the highest-ROI SEO tasks you can perform.
- What is the recommended image size for Open Graph tags?
- The recommended og:image size is 1200x630 pixels with a 1.91:1 aspect ratio. This dimension works correctly across Facebook, LinkedIn, Pinterest, WhatsApp, Slack, Discord, and most other platforms that read Open Graph tags. Our meta tag generator automatically includes og:image:width and og:image:height tags so platforms can render the preview card immediately without loading the full image first, which prevents layout shifts in the feed. For example, a 1200x630 blog header image with the article title overlaid will display as a large, clickable card on Facebook and a wide preview on LinkedIn. According to Facebook's 2025 Developer Documentation, images at this recommended size render 3x faster in the feed compared to images where dimensions are not specified in the meta tags (Source: Meta Developer Documentation 2025). Use JPEG format at 85-90% quality for the best balance of visual quality and file size (keep under 1MB).
Related Tools
Other free tools you might find useful
OG Debugger
Debug Open Graph tags and preview link cards
Try it freeUTM Builder
Free UTM link builder — no account, unlimited links
Try it freePost Preview
Free social media post preview tool — all platforms, no login
Try it freeImage Resizer
Free social media image resizer — all platforms, no watermark, browser-based
Try it free