OG Meta Tag Generator Live
About This Open Graph Tag Generator
What This Tool Generates
This generator creates complete Open Graph meta tag code across four output sections — all ready to paste directly into your HTML <head>.
- Core OG tags — og:type, og:url, og:title, og:description, og:image, og:image:width, og:image:height, og:image:alt, og:site_name, og:locale
- Article tags — article:published_time, article:modified_time, article:author, article:section, and multiple article:tag entries
- Product tags — product:price:amount, product:price:currency, product:availability
- Twitter Card tags — twitter:card, twitter:url, twitter:title, twitter:description, twitter:image, twitter:image:alt, twitter:site, twitter:creator
- Additional meta tags — HTML title tag, meta description, canonical link, and robots meta (each toggleable)
- Live previews — see exactly how your page will look when shared on Facebook, Twitter/X, LinkedIn, and WhatsApp
- Validation — per-field error/warning/ok checks with specific recommendations
- Platform Guide — character limits and image requirements for 7 platforms including Slack, Discord, and Telegram
How to Use This Tool
- Click Load Example to populate all fields with a real article example and explore every feature instantly
- Select the correct Page Type — "article" unlocks published/modified time and article:tag fields; "product" unlocks price and availability fields
- Enter your Title and watch the character meter — keep it green (60–95 chars) for best display across all platforms
- Paste your Image URL and add width/height values to see a live thumbnail and avoid layout shift when scrapers load your page
- Enter your Twitter @username in the Twitter Card section to attribute shares to your brand account
- Use the Output Options toggles to include or exclude canonical, robots, description meta, and title tag
- Click Social Preview to switch between Facebook, Twitter, LinkedIn, and WhatsApp previews and catch truncation issues
- Click Validate for a full checklist of errors and warnings with fix recommendations
- Click Copy All Tags or Download .html and paste into your page's
<head> - After deploying, use the Platform Guide links to force a re-scrape on Facebook, Twitter, and LinkedIn
Open Graph Tag Complete Reference Guide
Essential OG Tags
The four required Open Graph tags are og:type, og:title, og:image, and og:url. Together they define what your page is, what it's called, what it looks like, and where it lives. Any platform that supports the Open Graph protocol — Facebook, LinkedIn, Slack, iMessage, WhatsApp, Discord, Telegram — reads these four tags first. The recommended OG title length is 60–95 characters and the recommended description is 100–200 characters, though platforms apply their own truncation limits.
OG Image Best Practices
The og:image is the single most impactful factor in social share performance. Use 1200×630 pixels at a 1.91:1 ratio as your standard — it works on every major platform. Keep text and logos within the center 80% safe zone to avoid cropping. Use JPG for photographs and PNG for graphics containing text. WebP is not universally supported by all social scrapers. The image URL must be absolute (starting with https://) and publicly accessible without authentication or bot-blocking rules.
Article & Product Types
Choosing og:type="article" unlocks the article: namespace with four additional tags: article:published_time (ISO 8601 date), article:modified_time, article:author (a Facebook profile URL or any URL), and article:section (the content category). These tags enable richer display in news aggregators and RSS readers. For e-commerce pages, og:type="product" unlocks product:price:amount, product:price:currency, and product:availability — tags used by Facebook Shops and Pinterest rich pins to display pricing directly in the share preview.
Why OG Tags Fail to Display
- Platform is showing a cached version — use the platform's debug/inspect tool to force a re-scrape
- og:image URL uses HTTP not HTTPS — some platforms block mixed-content images
- Image is blocked by robots.txt or requires login — scrapers cannot access protected resources
- Meta tags are injected by JavaScript after page load — social scrapers do not execute JavaScript
- Image is too small — Facebook requires at least 200×200px to display a preview
- og:image URL is relative not absolute — scrapers need the full https:// URL
Open Graph Tag Generator FAQ
<head> section that control how a page appears when shared on social media. Without OG tags, platforms scrape random content — often picking the wrong image or an unrelated headline — resulting in unprofessional previews that reduce click-through rates. The four required OG tags are og:title, og:type, og:image, and og:url. OG is supported by Facebook, LinkedIn, WhatsApp, Slack, Discord, Telegram, iMessage, and many other platforms. Well-implemented OG tags can increase social traffic by 200–300% by making shares more visually compelling.https:// URL.<title> tag controls the browser tab text and Google search result headline — it is SEO-optimized at 50–60 characters. The og:title is specifically for social share previews and has more lenient limits (~88 chars on Facebook, ~70 on Twitter). They can contain different text: the title tag might be keyword-dense for search ("SEO Tools — Free Online Checker | TechOreo") while og:title might be written for social engagement ("The Best Free SEO Tools for 2026"). If og:title is absent, most platforms fall back to the HTML title tag.twitter: prefixed tags first and falls back to og: tags when Twitter-specific tags are absent. In practice you only need to add the delta: specifically twitter:card (required to enable card display), twitter:site (your brand handle), and twitter:creator (the author's handle). All other fields — title, description, image — will automatically use their og: equivalents. Include both for maximum control and compatibility.og:type tag specifies the type of content your page represents. Use website (default) for homepages, category pages, and tool pages. Use article for blog posts and news — this unlocks article:published_time, article:author, article:section, and article:tag fields. Use product for e-commerce pages — this enables product:price:amount, product:price:currency, and product:availability. Other valid types include profile, video.other, music.song, and book. The og:type value does not change how the image or title appears in the preview.?v=2 forces a new scrape but also changes the canonical URL. Discord and Slack re-scrape links when they are first posted in a new context.