A Chrome extension for debugging Open Graph images. Click the toolbar icon and see how the page you're on will look when it gets shared.
- The share image with its real dimensions, aspect ratio, file size, content type and HTTP status.
- Checks: missing tags, relative or
httpimage URLs, images that are too small, too large, the wrong ratio, SVG, or failing to load, declaredog:image:width/heightthat don't match the file, and tags that only appear after JavaScript runs. - Previews approximating Facebook, X (large and summary cards), LinkedIn, Discord, Slack and WhatsApp.
- Tags: every
og:*,twitter:*,article:*,descriptionand canonical tag, with one-click copy.
By default the extension re-fetches the URL without cookies and parses the raw HTML, the way link-preview crawlers do. Switch to Live DOM to see the tags in the tab after JavaScript has run. If a tag exists only in the live DOM, you get a warning: crawlers won't see it.
Previews are approximations. To force a platform to refresh its cache, use the Facebook and LinkedIn links in the footer.
- Download the latest
og-inspector-*.zipfrom Releases and unzip it, or clone this repo. - Open
chrome://extensions(brave://extensionsin Brave,edge://extensionsin Edge). - Turn on Developer mode.
- Click Load unpacked and select the folder that contains
manifest.json. - Pin the extension from the puzzle-piece menu.
activeTab+scripting: read the current tab's DOM when you open the popup.- Host access to all sites: fetch the page's raw HTML and its images without CORS getting in the way. Nothing is sent anywhere else; there is no analytics and no remote server.
Plain JavaScript, no build step. Edit the files, then hit the reload button on the extension card in chrome://extensions.
To build a release zip:
./scripts/pack.shMIT