OG Image Generator: 1200×630 Link Preview Images

Builds a 1200×630 px image for the og:image tag: the picture shown when a link to your page is shared in a chat or a social feed. You type a title, an optional subtitle and a site name, then pick a background and a layout.

Target: 1200 × 630 px (1.91:1) Standard Open Graph Image

0/100

Enter a title to continue

Runs in your browser: your files and text are not uploaded. Free, no account needed.

Last updated: · Reviewed by the QuickTooly Team

How the image is laid out

  • Title: bold 72 px with 90 px line spacing, wrapped inside a 72 px margin. Only the first four lines are drawn; anything longer is dropped and a warning appears above the preview. Up to 100 characters.
  • Subtitle: 36 px, at most two lines, up to 150 characters. A third line is dropped, with the same warning.
  • Site name: 28 px in the bottom-right corner, or bottom-center with the Centered layout.
  • Layouts: Left Aligned and Centered center the text block vertically. Bottom moves it to the lower edge, above the site name.
  • Backgrounds: five diagonal gradients, a solid color (default #1e293b), or your own JPG, PNG or WebP up to 20 MB. A photo is cropped from the center and darkened with a 45% black layer so white text stays readable.
  • Font: system-ui, so the text uses your operating system's interface font. A single word longer than the line is not broken and can run past the edge.

Adding the image to your page

Upload the file to your site, then put these tags in the page's <head>:

  • <meta property="og:image" content="https://example.com/og/post.jpg" />
  • <meta property="og:image:width" content="1200" /> and <meta property="og:image:height" content="630" />
  • <meta property="og:image:alt" content="Short description of the image" />
  • <meta name="twitter:card" content="summary_large_image" /> for the large card on X

Use an absolute https URL; many crawlers do not resolve relative paths. Facebook uses the width and height tags to show the image on the first share, before it has processed the file. JPG or PNG is the safer choice, since not every preview crawler handles WebP.

Why the old image keeps showing

Platforms cache link previews. Replacing the file or the tag does not change posts that were already shared, and new shares can show the old image for a while.

  • Facebook: paste the URL into the Sharing Debugger and click "Scrape Again".
  • LinkedIn: paste the URL into the Post Inspector, which fetches the page again.
  • Other apps: Slack, Discord, X and messaging apps have no public refresh button that always works. Publishing the new image under a new file name and updating the tag gives them a URL they have not cached.

OG Image Questions

Why is part of my title missing?

The generator draws at most four title lines and two subtitle lines. Text beyond that is dropped, and a warning above the preview says which part was cut. Shorten the title until it fits in four lines.

Why does my link still show the old image?

Platforms cache previews. Re-scrape the URL in Facebook's Sharing Debugger or LinkedIn's Post Inspector. For other apps, publish the image under a new file name and update the og:image tag.

Does PNG give me a transparent background?

No. Every background option fills the whole 1200×630 canvas, so the PNG is opaque. PNG only avoids JPG compression around the text.

Should the og:image URL be absolute?

Yes. Use the full https:// address of the image. Many crawlers do not resolve relative paths.

Related Tools