OG image preview
Paste a live URL to preview a generic link card built from the Open Graph tags that X, LinkedIn, Slack and iMessage read. We measure the real share image against 1200×630 and tell you exactly what to fix before launch day.
For iMessage, Apple's TN3156: Create rich previews for Messages says Use the og:image property to include an image in your link preview.
and Use the og:title property to specify the title of your link preview.
The 1200×630 rule
- 1200×630 pixels, a 1.91:1 ratio. It's the size Facebook recommends and it meets LinkedIn's 1200×627 minimum. X's archived docs describe a 2:1 image and Slack publishes no size, so it's the safest single size rather than an exact match everywhere.
- PNG or JPG, under 5 MB. X's archived docs say images must be less than 5MB, and LinkedIn's limit for shared images is 5 MB. Smaller is better, so aim for under 1 MB if you can.
- Never below 600×315. Facebook says smaller images still display in the post, but much smaller.
- One idea, big type. Your product name and a short headline, large enough to read on a phone. Keep it away from the edges. iMessage is the exception: Apple's TN3156 says
Avoid text in preview images.
and suggests using the other metadata tags for text instead. - A full https:// URL. Use the full address rather than a relative path: every example in the Open Graph protocol is a full URL.
The tags every page needs
Put these in the <head> of the HTML your server sends, with your own values:
<meta property="og:title" content="Turn your GitHub repo into a launch kit" />
<meta property="og:description" content="Launch copy and images, from your README and commits." />
<meta property="og:image" content="https://your-app.com/og.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Your app's name and headline on a plain background" />
<meta property="og:url" content="https://your-app.com/" />
<meta name="twitter:card" content="summary_large_image" />The width, height and alt tags are optional but worth it: with the size declared, Facebook can show the image on the very first share instead of waiting to download it.
Common pitfalls
Tags added by JavaScript
If your app sets its title and og:image in the browser, check that they're also in the HTML the server sends. Discord's doc says
No code is executed, so tags added by a client-side script after load are never seen.
, and Apple's TN3156 saysLink previews do not follow meta redirects, nor run JavaScript; metadata must be available directly on the linked page.
A relative image URL
Check that og:image is a full https:// address, not a path like /og.png. The Open Graph protocol defines it as an image URL, and every example it gives is a full URL. Facebook's, LinkedIn's, Slack's and X's archived docs don't say they resolve a relative path, so a full URL is the safe form.
SVG or a tiny logo
Some platforms don't accept SVG: X's archived card docs say
SVG is not supported.
Use a PNG or JPG at 1200×630. Small images shrink too: Facebook says an image under 600 x 315will still display in the link page post, but the size will be much smaller.
Text too close to the edges
Keep the headline large, centred and well inside the frame. An image that doesn't match a platform's ratio can be cropped: Facebook asks for images
as close to 1.91:1 aspect ratio as possible to display the full image in Feed without any cropping.
A login wall or a blocked crawler
Check that the page and the image both load without a login. X's archived troubleshooting docs say that when an image isn't shown,
The most common cause is that the image specified via the twitter:image tag is not publicly accessible on the web.
Rules in robots.txt depend on the platform: the same docs listYour website has a robots.txt file that is blocking Twitter from getting your Card metadata.
as a cause, while Slack saysWe do not currently honor robots.txt files.
An old cached card
Platforms keep what they fetched for a while. X's archived docs say its crawler re-indexes card tags
roughly every seven days
, and Slack caches responsesfor around 30 minutes
. To refresh a card after fixing your tags, Facebook says its Sharing Debuggercan also be used to update the image for a piece of content
, and LinkedIn saysYou can use the Post Inspector as a tool to refresh the URL.
The other launch images
Your OG image covers every shared link. A launch needs a few more sizes:
- Product Hunt gallery: 1270×760. Three to five images, leading with the result rather than your login screen, plus a 240×240 thumbnail.
- X and LinkedIn launch posts: 1600×900. A 16:9 image attached to the post itself, not just the link card.
The Product Hunt launch checklist covers every size and launch-day step, and the Product Hunt tagline checker gets your 60-character tagline right. Built with Cursor, Lovable, Bolt or v0? Read how to launch a vibe-coded app for the other SEO basics AI builders skip. Posting a Show HN? Hacker News lists plain text links, but readers share the good ones on X and Slack, where this card shows up. The Show HN launch checklist covers the rest. Sharing on Reddit? Link posts there show a preview image too, and how to promote your app on Reddit covers the self-promotion rules.
After launch day, list your app on our free startup directories, with a share image that renders.
OG preview FAQ
What size should an Open Graph image be?
Use 1200×630 pixels as a PNG or JPG under 5 MB: it's the size Facebook recommends and it meets LinkedIn's 1200×627 minimum, though X's archived docs describe a 2:1 image and Slack publishes no size. See what each platform's docs say.
Why isn't my link showing a preview image?
Check five things: that there's an og:image tag, that its URL is a full https:// address rather than a relative one, that the image is a PNG or JPG (some platforms don't accept SVG), that the page and image load without a login and the platform's crawler isn't blocked, and that the app hasn't cached an old version. Paste the URL above and the checklist tells you which one it is.
Why does my card look different on X, LinkedIn and Slack?
Each app crops and trims in its own way. X needs twitter:card set to summary_large_image for the full-width image, LinkedIn and Slack cut long titles after a line or two, and every app caches what it saw the first time. The preview here shows the common large card, which is the layout all of them are based on.
Does this tool make an OG image for me?
No, it reads the tags and the image you already have and tells you what to fix. If you want one made, LaunchLoop reads your README, package.json, recent commits and live site and renders a 1200×630 OG image in your brand colours, along with the X and Product Hunt images and your launch copy. The free preview shows watermarked versions of all three; the full kit is £19.
Is the OG preview free?
Yes, with no sign-up and no card. It fetches the public page and its share image the way a link previewer would, as LaunchLoopBot, and doesn't save the URL or the results.