Free OG image generator

Type a title, pick a theme, and download a 1200×630 social card that works on X, LinkedIn, Facebook and Slack. Need one for every blog post? It's one API call.

Free, no signup (5 downloads/day). The preview updates as you type.

Use this card as your og:image (no download)

Get a stable image URL plus ready-to-paste meta tags. The URL is signed, so it never exposes your key and nobody can change the text. 1 credit when the card is first rendered; repeats within 24h are free.


No key? It's kept in this browser only.

No key yet? This button creates a free one first (25 renders a month, no signup).

Generate one for every page with the API

GET /v1/og takes the same fields and returns the PNG. Each new card costs 1 credit. Repeating the same request with the same key is served from cache and costs nothing, so re-running a build doesn't burn credits.

Parameters: title (up to 120 chars), subtitle (200), site (60), theme (indigo, dark, light, sunset, mint). Save the PNG at build time, or use a signed public URL as your og:image: it hides your key, and nobody can change the text. Never put your API key itself in public HTML.

Want your own layout, fonts or logo? Send any HTML to /v1/screenshot with width=1200&height=630. Check the result with the Open Graph checker.

Pay-as-you-go: €5 buys 2,000 images and credits never expire. Get 25 free API renders a month

OG image size and tips

Size1200×630 px (1.91:1), the size Facebook and LinkedIn recommend. X shows large cards at 2:1, so it trims a few pixels from the top and bottom: keep text away from the edges.
Title lengthKeep it under about 60 characters so it stays big and readable on a phone.
Tags<meta property="og:image" content="https://…/card.png"> plus <meta name="twitter:card" content="summary_large_image">. Use an absolute HTTPS URL.
CachingPlatforms cache cards for days. Give a new image a new URL rather than overwriting the old one.

Making a card for a GitHub repo? GitHub uses 1280×640. Try the GitHub social preview generator.

A card for every page, by framework

OG image FAQ

What size should an OG image be?

1200×630 pixels. Facebook and LinkedIn recommend it, and X crops it only slightly to its 2:1 large card. Smaller images often show as a small thumbnail beside the title instead of a full-width card.

Do I need twitter:image as well as og:image?

No. X falls back to og:image when twitter:image is missing. You do need <meta name="twitter:card" content="summary_large_image">, or X shows the small card.

Why does the old image still show after I changed it?

Platforms cache link previews, often for days. Facebook's Sharing Debugger and LinkedIn's Post Inspector can re-fetch a URL on demand, and X refreshes on its own schedule. The reliable fix is a new image URL (a new file name or a query string), not overwriting the old file.

PNG or JPG?

PNG for text cards like these: the text stays sharp. JPG for photos. Keep it under 5 MB, X's limit. The Open Graph checker downloads your og:image and checks its real size and format against each platform.

Can I generate one for every blog post automatically?

Yes. Call /v1/og at build time, or put a signed URL in your page template: the card is rendered on the first request and cached. See the static site guide and the Next.js guide.

Can I use my own fonts, logo or layout?

The five themes here are fixed. For your own design, write the card in HTML and render it at 1200×630 with HTML to image or /v1/screenshot, which uses a real Chromium, so any CSS and web font works.

Is it free?

The generator is free with no signup, up to 5 downloads a day. The API comes with 25 free renders a month, then €5 buys 2,000 cards with no subscription, and credits never expire.

Related tools

HTML to image · Image to PDF · Code to image · Quote to image · PDF to image · Image to text (OCR) · Extract images from PDF · Crop image · Add text to image · Watermark image · Blur or pixelate image · Combine images · Compare images (diff) · Grayscale / black and white image · Invert image colors · Sepia filter · Rotate or flip image · Resize image · URL to image · all free tools