OG image size
Make Open Graph images 1200×630 pixels (1.91:1). Facebook shows large link previews from 600×315 up and accepts files up to 8 MB.
| Platform | Size | Pixels | Name in assets.json | Copy |
|---|---|---|---|---|
| Web | OG image | 1200 × 630 | og | |
| Web | X / Twitter card | 1200 × 675 | twitter-card |
Last verified 2026-11-17 against Meta image sharing guidelines.
Rules to know
- Aspect ratio about 1.91:1 so the full image shows without cropping.
- Minimum for a large preview: 600×315. Anything under 200×200 is rejected.
- Maximum file size 8 MB on Facebook. Keep it well under 1 MB so crawlers fetch it quickly.
- Set og:image:width and og:image:height so the first share renders without a refetch.
- Open Assets renders static images at build time. For per-request images (one per blog post on the fly) a runtime generator such as Vercel OG fits better.
Render every size with Open Assets
"exports": [
{"name":"og","label":"OG image","size":{"width":1200,"height":630}},
{"name":"twitter-card","label":"X / Twitter card","size":{"width":1200,"height":675}}
]FAQ
Frequently asked questions
What is the best OG image size?
1200×630 pixels. It meets the large-card minimum on every major network and keeps the 1.91:1 ratio.
Should the X (Twitter) card be a different size?
X uses og:image when no twitter:image is set. Open Assets also ships a 1200×675 twitter-card preset for a 16:9 card.
PNG or JPEG?
Both work. PNG keeps text crisp; JPEG is smaller for photos.