Generate

Open Graph Image Generator — Social Share Cards

Design a 1200×630 social-share card for a link preview and download it as a PNG, with the meta tags to use it.

Runs entirely in your browser — nothing you paste is uploaded or stored.

Preview1200×630

Enter a title to see your card.

The meta tags use a placeholder image URL — upload the PNG to your site, then replace it with the real address.

What is open graph image generator?

When a link is pasted into Slack, Discord, LinkedIn, X or a messaging app, the preview image comes from the page's Open Graph tags, specifically the og:image meta tag. A page without one gets a blank preview or a tiny favicon, which is noticeably less likely to be clicked. This tool makes that image: type a title, an optional subtitle, a badge, your site name and URL, choose a colour theme and layout, and download a finished PNG at the exact size the platforms expect — 1200×630 for Open Graph, with presets for X, GitHub repository previews and square feeds. Text is wrapped and sized automatically so a long title shrinks to fit instead of running off the card, and every colour theme is checked for readable contrast. Because the card is drawn from a vector layout and exported in your browser, nothing is uploaded and there is no watermark. It also writes the og:image, og:title and twitter:card meta tags for you, so the last step is to upload the PNG to your site and drop the URL into the snippet.

When to use it

  • Giving each blog post, release note or documentation page its own share image instead of one generic logo, so previews in chat and social feeds show the actual title.
  • Making the GitHub social preview image for a repository, which appears when the repo link is shared.
  • Producing a quick launch or announcement card for a side project without opening a design tool.
  • Generating the missing og:image for a site that failed a link-preview check in a sharing debugger.
  • Preparing a consistent set of cards for a content series by keeping the colours, badge and brand the same and changing only the title.

How to use this tool

  1. Click Load example to see a finished card, or type your own title into the Title field.
  2. Add an optional subtitle, a short badge such as "Blog" or "v2.0", your site or brand name and a URL or handle.
  3. Choose the size for where the card will be used, then pick a colour theme, font, alignment and background pattern.
  4. Check the live preview; if the text is too long it shrinks to fit and, as a last resort, ends with an ellipsis and a warning.
  5. Download the PNG (or SVG), or copy the image straight to your clipboard.
  6. Upload the PNG to your site, copy the meta tags, and replace the placeholder image URL with the real address of the file.

Example

A blog-post card with a badge, subtitle, brand and URL, the built-in example.

Input

Title: How we cut our build times by 70%
Subtitle: A practical look at caching, parallelism and the one config flag that mattered.
Badge: Engineering
Brand: Acme Engineering Blog
URL: acme.dev/blog

Output

A 1200×630 card on a dark blue gradient with a faint grid. A light-blue "Engineering" pill sits above a large two-line white title, with the subtitle beneath in a lighter weight, and the brand name with an accent bar at the bottom left and the URL at the bottom right.

The same fields are filled in when you click Load example, and the Copy meta tags button then produces the og:title, og:description and og:image tags for the card.

Why the image needs its own tags

The Open Graph protocol, created by Facebook and now read by nearly every chat and social app, describes a page with a handful of meta tags. The image comes from og:image; X reads twitter:image and twitter:card as well. The Meta Tag & Open Graph Generator builds the full set for a page. This tool covers the part it cannot: producing the picture those tags point to.

Keeping a series consistent

Reuse the same size, colour theme, font and brand for every card in a series and change only the title and badge. The share link stores all of those settings, so you can bookmark one as a template and open it each time you publish.

Frequently asked questions

What size should an Open Graph image be?

1200×630 pixels, a 1.91:1 ratio, is the safe default: it is what Facebook, LinkedIn, Slack, Discord and iMessage recommend and it is displayed sharply on high-density screens. X (Twitter) uses a 2:1 ratio for its large summary card, so there is a 1200×600 preset, and GitHub's repository social preview takes 1280×640. Keep important text away from the edges, since some apps crop slightly.

Where do I put the image once I have downloaded it?

Upload the PNG to your own site, at a public address such as https://example.com/og/my-post.png, and point the og:image meta tag at that full URL. Crawlers fetch the image from your server, which is why the generated tags contain a placeholder you must replace. Keep the file under about 5 MB, and use an https address.

Why does my preview not update after I changed the image?

Platforms cache link previews, often for days. After you publish a new image, ask the platform to refresh it — Facebook's Sharing Debugger, LinkedIn's Post Inspector and similar tools do this — or give the new file a different name so it is treated as a new image.

Why can't I choose any font?

The card uses system font stacks — sans-serif, serif or monospace — so the exported PNG matches the preview exactly and nothing has to be downloaded. A web font would need to be fetched and embedded in the image first. The result looks slightly different between Windows, macOS and Linux because each uses its own system font, but the text is always crisp because it is rendered by your own browser.

What happens if my title is too long?

The title is wrapped across up to four lines and its size is reduced step by step until it fits. If it still does not fit at the smallest size, the last line ends with an ellipsis and a warning appears under the preview. A good card headline is under about 60 characters, so shortening the text is usually better than shrinking it.

Are the colour themes accessible?

Every theme is tested for a text-to-background contrast of at least 4.5:1, the WCAG AA level, on both ends of its gradient, and the badge text is tested against the badge colour. Previews are often shown small, so high contrast matters more here than on a normal page.

Can I add a logo or photo?

Not in this version. The card is text and colour only, which keeps it fast and free of file handling. For a logo, download the SVG version and add the logo in a vector editor, or use the badge and brand fields for a text wordmark.

Is anything uploaded?

No. The card is laid out and drawn in your browser, and the PNG is created locally from it. Nothing you type is sent anywhere, and a share link carries the card's text and settings inside the URL itself.

Find these tools useful? A coffee helps keep them free and ad-light.

Buy me a coffee