open-graph-debugger
An Open Graph debugger fetches a URL, parses every og:* and related meta tag, and renders the resulting link preview as it would appear in Facebook, LinkedIn, Slack, Discord, WhatsApp, and iMessage. The ZTools Open Graph Debugger covers the full OG vocabulary (og:title, og:description, og:image, og:image:width/height, og:type, og:url, og:site_name, og:locale, plus article:published_time and product:price for typed objects), validates image dimensions against each platform's recommended size, and flags every common mistake that breaks shares.
Use casesβ
Confirming a new page's social preview before announcingβ
Before tweeting a new article, paste the URL into the debugger. See exactly the image, title, and description that recipients will see β fix anything wrong before the announcement instead of after.
Diagnosing why a Slack share shows the wrong imageβ
Slack caches OG previews aggressively. The debugger shows the live OG tags AND a "force re-fetch" hint for Slack to bust the cache.
Verifying og:image dimensions match recommendationsβ
1200Γ630 is the universal recommendation; smaller images get cropped or padded; under 200Γ200 may not render at all on Facebook. The debugger flags every dimension issue with the platform-specific rule.
Auditing OG coverage across a batch of pagesβ
Run several URLs; spot which ones have missing or weak OG. Often the gap is one CMS template that omits og:image β fix once, lift all instances.
How it worksβ
- Enter a URL β Public HTTP/HTTPS URL. The tool fetches and parses the page
<head>. - All OG and related tags are extracted β og:title, og:description, og:image, og:image:width/height, og:type, og:url, og:site_name, og:locale, plus type-specific fields (article:author, product:price, etc.).
- Image is fetched and validated β Dimensions, aspect ratio, file size, format, accessibility (200 OK, no auth required). Each platform's ideal vs actual is shown.
- Per-platform preview rendered β Facebook (1200Γ630), LinkedIn (1200Γ627), Twitter (depends on twitter:card type), Slack (large + compact unfurls), Discord, WhatsApp.
- Issues listed with fixes β Missing tags, undersized images, cross-protocol mismatches (HTTP image on HTTPS page), unreachable images.
Examplesβ
Input: https://example.com/blog/post (og:title, og:description, og:image 1200Γ630)
Output: Facebook preview: large card with image. LinkedIn: same. Slack: large unfurl. All platforms: correct.
Input: https://example.com/page (og:image is 600Γ400)
Output: WARN: og:image undersized. Facebook will crop. LinkedIn will pad. Recommend 1200Γ630.
Frequently asked questionsβ
What's the recommended og:image size?
1200Γ630 (1.91:1 aspect ratio) is the universal recommendation that works on Facebook, LinkedIn, Slack, Discord, and Twitter (when paired with twitter:card summary_large_image). Going larger is fine; going smaller risks crops or padding.
Why does my Slack/Facebook preview show the wrong image?
Cache. Both platforms aggressively cache OG previews. Use Facebook's Sharing Debugger ("Scrape Again" button) and Slack's unfurl debug command to force a re-fetch.
Do I need both Open Graph and Twitter Cards?
OG covers Facebook, LinkedIn, Slack, Discord, WhatsApp, iMessage β and Twitter as fallback. Add twitter:card overrides only when you want Twitter-specific styling (summary_large_image, app card, player card).
Can I have different OG images per page?
Yes β and you should. A unique og:image per article (often featuring the article's topic or author) outperforms a generic site-wide image for click-through.
Does og:image need to be HTTPS?
Strongly recommended. HTTP og:image on an HTTPS page causes mixed-content issues; many platforms refuse to render. Always serve OG images over HTTPS.
How do I generate og:images at scale?
Use Vercel OG, Cloudinary, or a self-hosted Satori-based generator that templates an image per page from the page title and metadata.
Tipsβ
- Default to a 1200Γ630 og:image β works everywhere.
- Always set absolute og:url β relative URLs break LinkedIn previews.
- Test every important page in the debugger; cache both Facebook and Slack after deploys.
- Generate per-page og:images at build time using templated rendering (Vercel OG / Satori).
Try it nowβ
The full open-graph-debugger runs in your browser at https://ztools.zaions.com/open-graph-debugger β no signup, no upload, no data leaves your device.
Last updated: 2026-05-05 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub