Tools / OG Image Generator

OG Image Generator.

Create a 1200×630 Open Graph / Twitter card image from a title, subtitle and logo, plus the meta tags.

Runs in your browser

1200×630 for Open Graph, 1200×600 for X/Twitter large cards, 1080×1080 for square posts.

or drop a file here

Ctrl/⌘ + Enter to run · Ctrl/⌘ + Shift + C to copy the result

Result
Social card
Meta tags

About OG Image Generator

OG Image Generator builds the preview picture that appears when someone shares your link on LinkedIn, Slack, X, Facebook, Discord or iMessage. Type a title, add an optional subtitle, site name and logo, pick a theme and accent colour, and download a ready-to-use PNG or JPEG together with the og:image and twitter:card meta tags to paste into your page's head. The default size is 1200×630, the 1.91:1 ratio Facebook and LinkedIn recommend; 1200×600 matches the 2:1 crop of X's large summary card, and 1080×1080 suits square posts. Long titles are wrapped and automatically shrunk to fit at most three lines, with an ellipsis if the text still does not fit, so a 90-character blog headline stays readable even in a small chat preview. For example, the title "Shipping a Laravel API to 1M users without drama" with the gradient theme gives a dark-to-green card with large white type and your domain in the bottom corner. Typical mistakes: using a relative URL in og:image (crawlers need an absolute https URL, so replace the example.com placeholder in the generated tags), forgetting og:image:width and og:image:height, which makes some platforms skip the image on the first share, and packing too much small text into the card. Platforms cache previews, so after changing the image use their debugging tools to refresh it. Text is drawn with your system's sans-serif font, and the whole card is rendered locally in your browser; nothing is uploaded.

How to Use

  1. Enter the title, and optionally a subtitle, site name and logo.
  2. Choose the theme, accent colour, size and format; the preview updates as you type.
  3. Download the image, upload it to your site and paste the meta tags into the page head.

Frequently Asked Questions

What size should an OG image be?

1200×630 pixels works everywhere and is what Facebook and LinkedIn recommend. X crops large cards to 2:1, so keep important content away from the top and bottom edges or use the 1200×600 option.

Why does my link still show the old image?

Social networks cache link previews. Change the image URL (for example add ?v=2) or use the platform's sharing debugger to force a refresh.

Which font is used?

Your operating system's default sans-serif font, so the card can be generated without downloading web fonts. The result may look slightly different on another computer.

Is anything uploaded?

No. The image is drawn on a canvas in your browser; you host the downloaded file yourself.

Related Tools