OG Image Generator
Design a 1200×630 Open Graph image for link previews on Facebook, LinkedIn, X, Slack and messaging apps. Type a title and subtitle, pick a layout, gradient or solid colors and an optional logo, then download a ready-to-use PNG — everything is drawn in your browser.
Drawn 72 px tall at the top. A transparent PNG or SVG works best. The logo isn't saved between visits.
The image is drawn on a canvas in your browser; your text and logo are never uploaded. Text and color settings are remembered on this device.
Usage examples
A share image for a blog post
Paste the article headline as the title, a one-line summary as the subtitle and your domain as the site name, then upload the PNG and point og:image at it so every share shows a branded card instead of a random photo.
A preview card for a product launch
Use the centered layout with your logo, the product name and a short tagline on a brand-color gradient for a launch link posted on LinkedIn, X or Slack.
Consistent images for every docs page
Keep the same colors, font and site name (they're remembered on this device) and only change the title for each page to build a matching set of preview images.
Fixing a link that shows no image
If a page shares as a plain text link, create an image here, add og:image and og:image:width/height tags, and re-scrape the URL in the platform's debugging tool.
Event or webinar announcements
Put the event name in the title and the date and time in the subtitle so the key details are readable in the preview even before anyone clicks.
Frequently asked questions
Is anything uploaded to a server?
No. The image is drawn on an HTML canvas in your browser and the PNG is created locally. Your text, colors and layout are saved in this browser so you can come back to them; the logo image is not stored.
Why is the image 1200 × 630 pixels?
Facebook's sharing guidelines recommend at least 1200 × 630 pixels, a 1.91:1 ratio, for the best display on high-resolution screens, and most other platforms that show large link previews accept that size. The tool keeps an 80-pixel margin so text isn't cut off where a platform crops the edges or rounds the corners.
How do I add the image to my web page?
Upload the PNG to your site and add tags like <meta property="og:image" content="https://example.com/og.png">, plus og:image:width (1200) and og:image:height (630), to the page's <head>. Use an absolute URL. For X, also add <meta name="twitter:card" content="summary_large_image">.
I updated my image but the old preview still shows. Why?
Social platforms cache link previews. Ask them to fetch the page again with Facebook's Sharing Debugger (Scrape Again) or LinkedIn's Post Inspector, or give the image a new file name so the URL changes.
What happens with a long title?
The title is set as large as 76 px and shrinks in 4 px steps down to 40 px until it fits in three lines. If it still doesn't fit, the last line ends with an ellipsis. The subtitle is limited to two lines. Short titles of about 6 to 10 words are easiest to read in a small preview.
Which fonts are used?
Latin text uses Geist Sans or Geist Mono, the fonts this site already loads. Characters those fonts don't include, such as Korean, Japanese, Chinese or Devanagari, are drawn with your device's system font, so the preview may look slightly different on another computer — but the exported PNG is fixed once downloaded.
What does the contrast warning mean?
It compares the text color with each background color using the WCAG 2 contrast formula. Below 4.5:1 — the WCAG AA level for normal text — titles can become hard to read when previews are shown as small thumbnails, so pick a darker background or lighter text.