OG Image Generator

Make the image that shows when someone shares your link. Type a title and a subtitle, pick a theme, drop in a logo or a background photo, and export a PNG at exactly 1200×630 — the size every platform crops its preview from. The title resizes itself to fit whatever you type, so a long headline shrinks and wraps instead of running off the edge, and the contrast between your text and background is checked as you go, because a share card is read at thumbnail size in a crowded feed. Everything is drawn in your browser: your logo and your background photo are never uploaded.

What each platform wants

PlatformSizeNote
Open Graph / X1200 × 630The universal default
LinkedIn1200 × 627Practically the same crop
Instagram feed1080 × 1080Square
Instagram portrait1080 × 1350Tallest shown uncropped
Story / Reel1080 × 19209:16
Pinterest1000 × 15002:3

When to use it

  1. Give a blog post a share image that is not a cropped screenshot.
  2. Make consistent cards for a series of articles.
  3. Produce a Twitter card for a landing page.
  4. Build a quick announcement graphic.
  5. Replace a missing og:image before launch.

How to Use

  1. Type your title and subtitle.
  2. Pick a theme, or set your own colours and drop in a logo.
  3. Download the PNG and point og:image at it.

Features

  1. Exactly 1200×630, plus Instagram, story, LinkedIn and Pinterest sizes
  2. Title that resizes itself to fit
  3. Gradient, flat and photo backgrounds
  4. Logo and accent bar
  5. WCAG contrast check on the text
  6. PNG export at exact pixel size
  7. Runs entirely in your browser

FAQs

What size should an OG image be?

1200×630. Every major platform derives its preview from that, and it is the default here. LinkedIn's own guidance says 1200×627, which is close enough that either works — both are offered.

Why exactly 1200×630 rather than something bigger?

Because the platforms downscale and re-encode whatever you give them. A 2400×1260 export only makes the file larger for the crawler to fetch; it does not make the preview sharper. Facebook's documented minimum is 600×315 and its recommendation is 1200×630.

Is my logo or background photo uploaded?

No. Both are read and drawn in your browser and nothing is sent to a server.

What happens if my title is too long?

It shrinks and wraps to fit, down to a floor. Past that the last line is ellipsised rather than allowed to run off the image — which is a hint that the headline is too long for a card read at thumbnail size.

Why is it warning me about contrast?

Because a share card appears small, in a feed, next to other people's images, often on a phone in daylight. The check is the same WCAG ratio used for body text: below 4.5:1 the title is hard to read at that size, and the warning is worth more here than it is on a web page.

Does this generate the meta tags too?

No — this makes the image. The Open Graph Tag Generator writes the og:image, og:title and og:description tags that point at it.

Will the preview refresh on a link I have already shared?

Not on its own. Facebook and LinkedIn cache the preview, so you need their sharing debugger or post inspector to re-scrape the URL after changing the image.

Technical Details

The card is drawn directly onto a canvas rather than styled as DOM and screenshotted. The screenshot route is one import shorter, but it hands the output's exact pixel dimensions, its font metrics and its gradient rendering to a library reimplementing the browser's own layout engine — and an image whose entire purpose is to be exactly 1200 by 630 is the wrong place for an approximation. Drawing straight to a canvas gives the exact size by construction, and the awkward part is then a pure function rather than a rendering quirk: fitting the text. The title auto-fits by binary search for the largest size at which its wrapped lines fit the available box, rather than stepping down a point at a time — a long title would otherwise re-wrap dozens of times on each keystroke while the preview redraws as you type. Wrapping breaks at spaces, and a single word wider than the whole line — a URL, a compound noun, a run of emoji — is broken mid-word, because text running past the edge of a share card looks broken in a way an awkward break does not. If the text still cannot fit at the minimum size, the last line is ellipsised rather than allowed to overflow. Contrast between the chosen text colour and the background is measured with the WCAG formula the site's contrast checker already uses, and a card below 4.5:1 is flagged: a share card is read at thumbnail size in a crowded feed, so low contrast costs more here than it does on a page. An uploaded logo or background image never leaves the browser. The export is a PNG at one device pixel per image pixel, because every platform re-encodes and downscales the image anyway and a 2× export only makes the upload larger.

Social Media Tools

Social Media Tools

  • Quote Image Generator
  • Instagram Grid Maker
  • Fake Chat Generator
  • YouTube URL Parser
  • YouTube Title Counter
  • YouTube Tag Extractor
  • Instagram Hashtag Extractor
  • YouTube Watch History Analyzer