Digital ToolPad.

Runs 100% in your browser

Your data never leaves your device. zero uploads.

OG Image Generator

Create beautiful Open Graph images for social media sharing with customizable templates and designs.

Template

Content

Background Color

Awesome Blog Post

yourwebsite.com

OG Image Generator FAQs

What is an OG image?

An OG image (Open Graph image) is the picture Facebook, LinkedIn, X, Slack, WhatsApp and other apps show when someone shares a link to your page. It is declared with the og:image meta tag from the Open Graph protocol, which Facebook introduced. Without one, platforms show no picture or pick an arbitrary image from the page, which often looks cropped or off-brand.

What size should an Open Graph image be?

The recommended Open Graph image size is 1200 x 630 pixels, an aspect ratio of about 1.91:1, which Facebook, LinkedIn and X all accept for large link previews. This generator lays out every card on a 1200 x 630 canvas. The PNG is captured at your screen's pixel density, so on a high-DPI (Retina) display the download can be 2400 x 1260, which keeps the same ratio and still works.

How do I add an OG image to my website?

To add an OG image, upload the downloaded PNG to your site or CDN and reference its absolute URL in the page's <head>, for example <meta property="og:image" content="https://example.com/og-image.png">. Adding og:image:width and og:image:height with the file's real pixel size, plus og:image:alt, helps platforms render the preview right away. For large cards on X, also add <meta name="twitter:card" content="summary_large_image">; X falls back to og:image when no twitter:image is set.

Why is my OG image not updating or not showing?

An OG image usually fails to update because Facebook, LinkedIn, Slack and WhatsApp cache link previews and can keep showing the old version long after you change it. Force a refresh with the Facebook Sharing Debugger or LinkedIn Post Inspector, or publish the image under a new URL (for example, add ?v=2). If no image appears at all, check that og:image is an absolute https URL that is publicly reachable without a login and not blocked by robots.txt.

What can I customize in this OG image generator?

This OG image generator offers two templates: Simple, with a solid background color, and Gradient, with a diagonal gradient between two colors you pick. Each card has a title, a subtitle (such as your domain) and an optional logo or image from your device, centered in white text. The logo is read locally and the PNG is rendered in your browser, so nothing is uploaded. Download PNG saves the card as og-image.png.

How do I make an OG image readable in small previews?

An OG image stays readable in small previews when the title is short (roughly 6 to 10 words) and the text contrasts strongly with the background. Phones often display link cards at a fraction of the 1200 pixel width, so small subtitles shrink fast. Keep important text away from the edges, because some apps crop the image to a square or a 2:1 frame, and use the same template across pages so shared links look consistent.

100% private: your data never leaves your browser

No registration, no tracking of your content, no server uploads. Don't just take our word for it:

  • No server, no uploads

    Your files and text are processed entirely on your device. Nothing is ever sent to us.

  • Works offline

    Once loaded, this tool keeps working with your Wi-Fi turned off. Try it.

  • Verify it yourself

    Open your browser's DevTools → Network tab. You'll see zero requests carrying your data.

Explore more tools

More utilities for your next task.

Browse all tools