OG image checker: see your link before you share it
Paste a link to see how it looks on X, LinkedIn, Slack and iMessage, and what to fix. The checker reads your Open Graph and X card tags, loads your og:image and measures it against the rules each app documents, with the source for every rule.
Check a link
What each app documents
All four read the same Open Graph tags, but each sets its own image rules, and Slack publishes none. One image of 1,200 × 630 pixels under 5 MB fits them all.
| App | Tags it reads | Image | File size |
|---|---|---|---|
| X | twitter:card, then its own twitter: tags, with og:title, og:description and og:image as the fallback | Large card: 2:1, from 300 × 157 to 4,096 × 4,096 px. Summary card: 1:1, from 144 × 144. JPG, PNG, WebP or GIF, no SVG | Under 5 MB |
| og:title, og:image, og:description and og:url | At least 1,200 × 627 px, 1.91:1 recommended | Up to 5 MB | |
| Slack | oEmbed, X card and Open Graph tags | Loaded to check it is valid; no size published | Not published |
| iMessage | og:title, og:image, og:site_name and the page's icon | At least 900 px wide; under 150 px wide may show as an icon | The page up to 1 MB; its images, icons and video up to 10 MB together |
Questions
What size should an Open Graph image be?
1,200 × 630 pixels, under 5 MB, as a PNG or JPEG, passes every rule this checker reads. LinkedIn asks for at least 1,200 × 627 pixels at 1.91:1, Apple asks for images at least 900 pixels wide, and X's large image card takes 300 × 157 up to 4,096 × 4,096 pixels at 2:1. X and LinkedIn both take files under 5 MB.
Why doesn't my link preview show an image?
Most often the page has no og:image, the image doesn't load for the app's crawler, or the file breaks a rule: X doesn't support SVG, X and LinkedIn take files under 5 MB, and Messages may ignore an image under 150 pixels wide. Tags added by JavaScript don't count: Apple says Messages runs no JavaScript and follows no meta refresh redirects, so the tags must be in the page's HTML. This checker reads the page the same way.
Do I need twitter: tags if I have Open Graph tags?
Only twitter:card. X falls back to og:title, og:description, og:image and og:image:alt when its own tags are missing. Without twitter:card, X's docs say a page with og:type, og:title and og:description may get a small summary card, so set twitter:card to summary_large_image for the large image.
How do I make LinkedIn or Slack show my new image?
LinkedIn's Post Inspector, at linkedin.com/post-inspector, reads your page again. Slack keeps what its crawler, Slackbot-LinkExpanding, reads for about 30 minutes, so wait that long before you post the link again. If an image meets LinkedIn's rules and still doesn't appear, LinkedIn says your site may be blocking its crawler.
What does iMessage show without Open Graph tags?
A gray bubble with the page's title, its domain and a small icon. Add og:title and og:image for a large preview. Apple asks for images at least 900 pixels wide, a square icon of at least 108 pixels, and the site name in og:site_name rather than in og:title.
Sources
- The Open Graph protocol (ogp.me) ()
- X Developer Platform: Summary card with large image (archived) ()
- X Developer Platform: Summary card (archived) ()
- X Developer Platform: Cards markup tag reference (archived) ()
- LinkedIn Help: Make your website shareable on LinkedIn
- Slack: Slack robots
- Slack developer docs: Unfurling links in messages
- Apple TN3156: Create rich previews for Messages ()
Every source read on . X took its card documentation off its developer site, so its rules come from the Internet Archive's copies.
Then get it seen
A good preview gets your link clicked when you share it. Swapfire keeps it shared: put a torch on your site, show other makers' products, and get yours shown across the network, paid in verified visits and sign-ups.
Join Swapfire