Sizes · 7 min read
Open Graph image size: the 1200 x 630 guide
The complete Open Graph image size guide: 1200 x 630 for OG, 1200 x 628 for X, 1200 x 627 for LinkedIn, plus safe areas, file sizes, and crop behaviour.
Updated
The short answer
Use 1200 x 630 pixels for an Open Graph image. That is a 1.91:1 ratio and works for Facebook, LinkedIn, Slack, Discord, WhatsApp, and most other link previews. X's large card is usually listed as 1200 x 628 and LinkedIn as 1200 x 627; the difference is rounding, so the same 1200 x 630 file works everywhere. Keep the file under 1 MB and the important content inside the middle 80 percent.
- Open Graph
- 1200 x 630 px
- Aspect ratio
- 1.91:1
- X large card
- 1200 x 628 px
- 1200 x 627 px
- Safe file size
- Under 1 MB
- Edge padding
- At least 64 px
There is no single official Open Graph image size. The protocol defines a tag, not a canvas. The 1200 x 630 number is a convention that grew around the 1.91:1 link card used by Facebook, LinkedIn, and most other platforms. It is the size that survives the most containers with the least cropping.
Open Graph image sizes by platform
| Platform | Recommended | Ratio | Notes |
|---|---|---|---|
| Open Graph / Facebook | 1200 x 630 | 1.91:1 | The baseline. A large card needs at least 600 x 315 to render sharply. |
| X large card | 1200 x 628 | 1.91:1 | Displayed closer to 2:1 in some timelines; keep content centred. |
| X summary card | 400 x 400 | 1:1 | A small square card. Use it only when you deliberately want the compact layout. |
| 1200 x 627 | 1.91:1 | Shared link previews. LinkedIn often places the image beside the copy. | |
| Slack | 1200 x 630 | 1.91:1 | Unfurls vary by client and workspace; smaller files load more reliably. |
| Discord | 1200 x 630 | 1.91:1 | Large embeds crop toward 1.91:1; thumbnails are much smaller. |
| 1200 x 630 | 1.91:1 | Preview shape varies by client and platform. Keep the file small. | |
| iMessage | 1200 x 630 | 1.91:1 | Uses the Open Graph tags for the rich link card. |
| Telegram | 1200 x 630 | 1.91:1 | Wide previews; refresh with the Webpage Bot when testing. |
| Google Discover | 1200 x 628 | 1.91:1 | Google may use a page image when large previews are allowed. |
| 1000 x 1500 | 2:3 | A pin is not an OG card. Make a separate vertical asset. | |
| YouTube thumbnail | 1280 x 720 | 16:9 | A different surface entirely. Do not reuse the OG crop. |
The three headline numbers people quote, 1200 x 630, 1200 x 628, and 1200 x 627, are all the same 1.91:1 shape with different rounding. A two- or three-pixel difference is invisible after compression. Do not maintain three files for the sake of matching a table.
Why 1200 pixels wide is the sweet spot
- Wide enough for a headline. At 1200 px, a 72 px headline has room for six to ten words without wrapping into a wall of text.
- Large enough for retina displays. A 1200 px file stays acceptable when the card is rendered at 600 CSS pixels wide on a 2x screen.
- Small enough to load quickly. A well-compressed 1200 x 630 JPG is usually 80-250 KB. That matters when a chat client fetches it on a phone.
- Close to the most common crop. The 1.91:1 shape is used by the largest number of surfaces, so it loses the least in the places that crop it differently.
While 1200 x 630 is enough for almost every case, exporting at 2400 x 1260 keeps more detail for high-density displays and gives you room to crop a square variant later. The trade-off is file size. If you go larger, compress it back down; a 2400 px PNG can easily cross 1 MB.
The safe area that survives every crop
Platforms do not just scale your image. They crop it to fit their own container. X may show something closer to 2:1, a messaging client may show a square, and a dense feed may show a thumbnail the size of a postage stamp. Design for the smallest and most aggressive crop, not the widest one.
| Zone | Pixels on a 1200 x 630 canvas | What to put there |
|---|---|---|
| Full canvas | 1200 x 630 | Background, texture, decoration |
| Safe area | 1072 x 502 (64 px inset) | Headline, logo, domain, any text that must survive |
| Aggressive 2:1 crop | 1200 x 600, centred | The headline and brand mark |
| Square crop | 630 x 630, centred | The single most important word or mark |
| Thumbnail | About 300 x 158 | One readable line, high contrast, no fine detail |
File format and weight
| Format | Best for | Watch out for |
|---|---|---|
| JPG | Photographic backgrounds, gradients, screenshots | Visible ringing around sharp type at low quality |
| PNG | Flat colour, logos, crisp text | Large files on photographic backgrounds |
| WebP | Smaller files with good quality | Older scrapers and some chat clients may not fetch it |
| GIF | Almost never | Inconsistent support; animation is not part of the OG spec |
| SVG | Almost never | Many social crawlers do not render it |
- Target under 1 MB. Facebook and X accept larger files, but smaller images fail less often and load faster in chat clients.
- Use sRGB. CMYK files can shift colour or fail to render.
- Avoid transparency. Some platforms composite transparent PNGs onto black, others onto white. The result is unpredictable.
- Do not upscale a small image. A 600 px file stretched to 1200 px looks soft, and some platforms refuse to show a large card.
- Export at 1x for most cards. A 1200 x 630 file is already 2x for a 600 px card. Exporting at 3x is usually waste.
Designing for the crop, not the canvas
The most common OG image mistake is treating the 1200 x 630 canvas as the final composition. It is not. It is the largest version of a composition that has to work at several sizes. Put the idea in the centre, keep the decoration at the edges, and test the result at 300 px wide before you publish.
- 01Place the headline in the middle of the canvas, not against the left or right edge.
- 02Keep the logo inside the safe area. A corner mark is the first thing a square crop removes.
- 03Use one type size for the headline. A second, much smaller line can work as a kicker, but it will disappear in a thumbnail.
- 04Leave negative space. A card with one strong line and a lot of air reads better at small sizes than a dense layout.
- 05Check the card on a phone, in a chat app, and in a feed. Those are the places it will actually appear.
Square, vertical, and story sizes
Not every surface wants a wide card. Pinterest pins are 2:3, Instagram stories are 9:16, and some messaging clients show a square. Those are separate assets, not different crops of the same file. If a channel matters to you, make a variant for it and point the platform's own image tag at that variant.
| Placement | Size | Ratio |
|---|---|---|
| Instagram feed | 1080 x 1350 | 4:5 |
| Instagram story / Reel cover | 1080 x 1920 | 9:16 |
| Pinterest pin | 1000 x 1500 | 2:3 |
| YouTube thumbnail | 1280 x 720 | 16:9 |
| Square social post | 1080 x 1080 | 1:1 |
| Open Graph / link card | 1200 x 630 | 1.91:1 |
How to check your image size
In a browser, right-click the image and choose Inspect, or open the image URL in a new tab and read the dimensions in the title bar. On a Mac, Preview's Inspector shows the pixel size. On Windows, File Explorer's Details tab does the same. For a live page, the Facebook Sharing Debugger and LinkedIn Post Inspector show the scraped image URL and dimensions, which is the number that actually matters.
Related
- What is an Open Graph image?The definition, the tags, and why the preview matters.
- Open Graph meta tagsThe full tag reference with a copy-paste example.
- Twitter card image sizeX-specific sizes for summary and summary_large_image.
- 1200 x 630 templatesStart from a layout that already respects the safe area.
Frequently asked questions
Is 1200 x 630 the same as 1.91:1?
Close enough. 1200 / 630 = 1.904, while 1.91:1 is 1.91. The difference is less than half a percent and is invisible after compression. If you want an exact 1.91:1 file, use 1200 x 628.
What is the minimum Open Graph image size?
Aim for at least 600 x 315 for a large link card. Smaller images may still display, but they look soft and some platforms fall back to a compact layout. A 1200 x 630 file is the safest default.
What is the maximum file size for an OG image?
Facebook accepts up to 8 MB and X up to 5 MB, but those are ceilings, not targets. Keep the file under 1 MB for fast loading and fewer scraper failures. Most well-compressed 1200 x 630 JPGs land between 80 and 250 KB.
Should I use PNG or JPG for an Open Graph image?
Use JPG or WebP for photographic backgrounds, and PNG for flat colour, logos, and crisp type. If you are unsure, a high-quality JPG at 85 percent is a safe default. Keep the file under 1 MB.
Why does X crop my 1200 x 630 image?
X's large card container is close to 2:1 in some placements, so a 1.91:1 image loses a few pixels at the top and bottom. Keep the headline and logo inside the middle 80 percent of the canvas and the crop will not matter.
Do I need a separate image for LinkedIn?
Usually not. LinkedIn recommends 1200 x 627, which is the same 1.91:1 shape as 1200 x 630. Use one file and add og:image plus the image dimensions. A dedicated variant is only worth it if you want LinkedIn-specific copy baked into the card.
What size is a Twitter card image?
For a summary_large_image card, 1200 x 628 with a 1.91:1 ratio. For a summary card, a square image around 400 x 400. X accepts JPG, PNG, WebP, and GIF, with a 5 MB limit.
Can I use the same image for Open Graph and Twitter cards?
Yes. Point both og:image and twitter:image at the same 1200 x 630 file. The two tags exist because X gives twitter:* precedence, not because the image has to be different.
Sources and further reading
Written and maintained by GxAditya
The person who builds ogimg.in. Last updated . 7 min read.
Free, no account
Make the image, then copy the tags
Start from a template or a blank canvas. Export a 1200 x 630 PNG, JPEG, or WebP, and copy the Open Graph tags from the preview panel.