0 characters (about 60 shows in full)
0 characters (aim for 155 or fewer)
Absolute URL, ideally 1200 x 630 JPG or PNG
Describes the image for screen readers
Language_TERRITORY, e.g. en_US or hi_IN
Colours the side bar of Discord embeds
Seeing an old card on Facebook? Refresh its cache with the Facebook Sharing Debugger.
Previews are close approximations. Each app changes its layout by device and version, and caches a link card after the first share.
<meta property="og:title" content="" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:title" content="" />
How to use
Load an existing page or start fresh
Paste a URL and click Auto-fill to read the og tags the page already has, falling back to its title and meta description. Or type your own values, or click Try sample to see a finished example.
Fill in the fields and check the image
Edit the og fields and pick a type; article and product add their own fields. When the image URL loads, width and height fill in, and warnings appear for small, oddly shaped, heavy or unreachable images.
Compare previews and copy the tags
Switch between the platform tabs or open All. Keep Also add matching twitter:* tags ticked for X, choose HTML or Next.js metadata, then press Copy or Download and add the code to your page.
Why Open Graph Generator
- Reads existing og tags first, so you only fix what is missing.
- Checks the image's status, file type, size in KB, dimensions and shape.
- Type-specific tags for articles, products, profiles, videos and books.
- Previews for eight platforms and output as HTML or Next.js metadata.
og:image sizes by platform
One 1200 x 630 image covers most platforms, since they all read og:image. The table lists what each one expects so you can check an existing image against it.
If you want a square picture for a small summary card on X, set it with twitter:image in the Twitter Card Generator, because og:image is shared by every platform.
| Platform | Recommended image | Notes |
|---|---|---|
| 1200 x 630 px (1.91:1) | Under about 600 x 315 px shows as a small image | |
| 1200 x 627 px (1.91:1) | Caches the first scrape; refresh it with Post Inspector | |
| X, large image card | At least 300 x 157 px, 2:1 shape | Under 5 MB; reads twitter:image first, then og:image |
| 1200 x 630 px works | Reads og:image; keep the file small so it loads | |
| Slack and Discord | 1200 x 630 px works | Read og tags and show a smaller card; Discord colours its side bar with theme-color |
| Telegram | 1200 x 630 px works | Shows og:site_name above the title; refresh with @WebpageBot |