How to Generate an Open Graph Image (+ Free OG Generator)

Kendall Chris Kendall Chris Jul 17 / 8 hours ago
dot shape
How to Generate an Open Graph Image (+ Free OG Generator)


You share a link and it shows up on social media as a blank gray box, or worse, a random, awkwardly cropped screenshot pulled from somewhere in the middle of the page. Not exactly the first impression you were hoping for.

This guide includes a free Open Graph generator you can use right now, along with everything else you actually need: the correct image dimensions, the essential meta tags, how to design an image that holds up across platforms, how to test your results, and the small mistakes that quietly break social previews without any obvious warning.


What Are Open Graph Tags and Images?

Open Graph is a protocol originally created by Facebook in 2010 that lets any webpage control exactly how it appears when shared on social media. Instead of leaving it up to chance, a handful of meta tags placed in a page's HTML tell platforms exactly what title, description, and image to display.

The og:image tag is the one doing the heavy lifting visually. It specifies the exact preview image shown alongside a shared link. Without it, platforms fall back to showing a blank card, a generic placeholder, or an image scraped somewhat randomly from wherever it finds one on the page, none of which reflect well on the content being shared.

This matters more than it might seem. A clear, well-sized preview image consistently earns more clicks than a text-only or visually broken link, simply because it gives people something worth stopping to look at.


Try It Now: Free Open Graph Generator

Before getting into the technical details, here's the fastest path to a working result. Enter your page title, description, URL, and image into seositechecker.pro's Open Graph Generator, and it outputs ready-to-paste meta tags you can drop straight into your site's HTML. It's free and doesn't require creating an account.

It's also worth running your link through seositechecker.pro's Twitter Card Generator while you're at it. Twitter and X read a related but technically separate set of tags, so a page can have perfect Open Graph tags and still show a broken preview specifically on X if the Twitter Card tags were never added.
The Essential Open Graph Meta Tags, Explained

A handful of tags cover almost everything you need for a solid, working setup.

og:title is the title shown in the preview card. It should grab attention without straying from what the page actually delivers, since a misleading title tends to hurt engagement once people click through and feel let down.

og:description is a short summary, generally kept under 200 characters before platforms start truncating it awkwardly mid-sentence.

og:image is the preview image's URL, and this one has a strict requirement worth remembering: it needs to be a full, absolute URL (starting with https://) rather than a relative path, or the image will silently fail to load on most platforms.

og:url specifies the canonical URL of the page, which helps consolidate shares of the same content even if people are linking to slightly different versions of the same URL.

og:type describes the kind of content on the page, commonly "website" or "article," and it can affect how certain platforms choose to render the card.

og:site_name is the name of your overall website or brand, and several platforms display it alongside the main preview text as a small trust signal.

It's worth remembering that Twitter and X read a parallel set of twitter: tags rather than relying purely on Open Graph data, which is exactly why running a dedicated Twitter Card generator separately is worth the extra minute. For the full technical breakdown behind every tag mentioned here, the official Open Graph protocol specification is the original source everything else is built on.


Open Graph Image Dimensions and Specs

The safest, most universal default is 1200 x 630 pixels, a roughly 1.91:1 aspect ratio that renders cleanly across nearly every major platform without awkward cropping.

A few platform-specific notes worth knowing: Facebook and LinkedIn both work well with that same 1200x630 standard, while Twitter's large summary card format performs slightly better closer to 1200x675. If you're only making one image per page, 1200x630 remains the practical, works-everywhere choice.

On file size, aim to keep images under 1MB where possible for faster loading, well under the roughly 8MB hard limit most platforms enforce before they simply refuse to display the image at all. JPG and PNG are the safest format choices; GIFs are frequently unsupported in preview cards and often just don't render.

One design detail that trips people up: different platforms crop Open Graph images differently, especially on mobile. Keep your essential text, logos, and any faces centered within a safe zone, roughly the middle 80 percent of the image, so nothing important gets clipped off on the platforms that crop more aggressively.

It's also worth knowing that some platforms fall back to a smaller, square-cropped thumbnail if an image doesn't meet minimum size requirements, generally somewhere around 200 x 200 pixels. Staying well above that minimum, and sticking to the 1200x630 standard, avoids that fallback behavior entirely and ensures you get the larger, more visually prominent card format rather than a small, easy-to-miss thumbnail.


How to Design an Effective Open Graph Image

Think of an Open Graph image less like a screenshot and more like a magazine cover. A clear headline, strong contrast, and a clean, uncluttered layout consistently outperform busy, text-heavy designs crammed with information.

Including your page title or a short, punchy summary directly on the image itself matters more than it might seem, since a meaningful share of people scrolling past a shared link will glance at the image before they ever read the accompanying text.

Leave 40 to 60 pixels of padding from every edge of the image. This protects against the cropping differences mentioned earlier and keeps the design from feeling cramped even on platforms that trim the edges.

Keeping your branding, logo placement, and color palette consistent across every OG image you create pays off over time. Readers start to recognize your links at a glance, which builds a small but real amount of trust before they've even clicked through.

For the actual design work, you've got two reasonable paths: manual design in a tool like Canva, Figma, or Photoshop gives you full creative control for a handful of important pages, while an automated generator makes more sense once you're creating these images at scale across dozens or hundreds of posts.

Once you've built an image and added it to a page, it helps to see the finished result the way a visitor actually would. A seositechecker.pro's Website Screenshot Generator capture is a quick, practical sanity check to run alongside your OG preview, confirming the whole page looks right, not just the meta tags in isolation.


How to Add Open Graph Tags to Your Website

Once you've got your tags generated, getting them onto your site depends on how it's built.

The manual method works on any site: paste the generated meta tags directly into the <head> section of your page's HTML, right alongside your existing title and meta description tags.

If you're running WordPress, plugins like Yoast SEO or All in One SEO handle this automatically on a per-post or per-page basis, with dedicated fields for your social preview title, description, and image, no manual code editing required.

Most other modern platforms, including Shopify, Webflow, Ghost, and Wix, offer similar built-in fields directly in their page or post settings, usually tucked under an "SEO" or "Social Sharing" tab.

If you're hand-coding a site, working with a developer, or just want to double-check that your tags actually made it into the live page correctly, seositechecker.pro's Online HTML Viewer makes it easy to pull up a page's raw source and confirm the tags are sitting exactly where they should be.


How to Test and Preview Your Open Graph Tags

Testing matters more than most people expect, mainly because of how aggressively social platforms cache preview data. Fix a broken image today, and it's entirely possible the old, broken version keeps showing up for days if you don't force a fresh check.

Facebook's Sharing Debugger is the standard tool for this. Paste in your URL, and it forces a fresh scrape of your page's Open Graph data, showing you exactly how the link will currently appear when shared.

LinkedIn's Post Inspector tool does the same job specifically for LinkedIn, which is worth checking separately since LinkedIn occasionally crops or renders images slightly differently than Facebook does, even when reading the exact same tags.

If an old, incorrect image keeps showing up even after you've confirmed the fix is live, changing the image's filename or adding a version parameter to the end of the URL is often the fastest way to force platforms to treat it as a new image and re-fetch it, rather than waiting for their cache to naturally expire.


Common Open Graph Mistakes to Avoid

A handful of small errors account for the vast majority of broken or underwhelming social previews.

Using a relative image path instead of a full, absolute URL is easily the single most common reason og:image quietly fails. If the tag reads "/images/photo.jpg" instead of "https://yoursite.com/images/photo.jpg," most platforms simply won't be able to load it.

Skipping og:image:width and og:image:height means platforms have to guess at the image's dimensions before rendering, which can slow down or occasionally break how quickly a preview appears.

Letting og:description run too long invites awkward mid-sentence truncation right where a reader's eye lands, undercutting an otherwise solid preview.

Reusing the exact same generic image across every single page on a site is a missed opportunity. Distinct, page-specific images make each shared link feel intentional rather than like an afterthought.

And finally, not testing after a redesign or site migration is a surprisingly common oversight. Previews can silently break during a move, and nobody notices until a colleague or customer points out that a shared link suddenly looks wrong.

One more point worth clearing up: Open Graph tags themselves are not a direct Google ranking factor. They control how a page looks when shared socially, not how it's evaluated by search engines. That said, the indirect effect is real. Content that looks more appealing when shared tends to get shared more often, and the additional traffic, engagement, and backlinks that can follow from a well-performing social post are things Google does notice over time. Treat Open Graph optimization as a traffic and engagement lever that sits alongside your SEO work, not as an SEO tactic in its own right.


Quick Reference: Open Graph Cheat Sheet

TagPurposeExample Value
og:titlePreview headline"10 Tips for Better Social Previews"
og:descriptionShort summary text"Learn how to fix broken link previews for good."
og:imagePreview image URLhttps://example.com/og-image.jpg
og:urlCanonical page URLhttps://example.com/blog/social-previews
og:typeContent typewebsite or article
og:site_nameBrand or site nameExample Blog
og:image:widthImage width in pixels1200
og:image:heightImage height in pixels630


Final Thoughts

A solid Open Graph setup is a small amount of work, a correctly sized image and a handful of meta tags, for a noticeably better first impression every single time your content gets shared. It's the kind of detail that's easy to overlook and genuinely costs you clicks when it's missing.

Generate your tags now, and get in the habit of testing them before your next post goes out. seositechecker.pro's Open Graph Generator is the fastest way to get started.

Frequently Asked Questions

Frequently Asked Questions (FAQs) is a list of common questions and answers provided to quickly address common concerns or inquiries.

What is an Open Graph generator used for?

It creates the meta tags that control how a webpage's title, description, and image appear when the link is shared on social media platforms like Facebook and LinkedIn.

What size should my Open Graph image be?

1200 x 630 pixels is the safest, most universal size, working cleanly across Facebook, LinkedIn, and most other platforms without significant cropping.

Why isn't my Open Graph image showing up when I share a link?

This is almost always caused by a relative image URL instead of an absolute one, a missing og:image tag, or a cached older version of the page still being served.

Do I need separate images for Facebook, Twitter, and LinkedIn?

Not usually. A single 1200x630 image works well across most platforms, though Twitter and X do read their own separate twitter:image tag alongside Open Graph data.

Is an Open Graph generator free to use?

Yes, most Open Graph generators, including the one linked in this guide, are completely free and don't require creating an account.

How do I add Open Graph tags to a WordPress site?

Install an SEO plugin like Yoast SEO or All in One SEO, which adds dedicated fields for your social preview title, description, and image on every post and page.

How do I force social media platforms to update a cached preview image?

Run the URL through Facebook' Sharing Debugger to force a fresh scrape, or change the image's filename to make platforms treast it as an entirely new file.

What's the difference between Open Graph tags and Twitter Card tags?

Open Graph tags control previews on Facebook, LinkedIn, and most other platforms, while Twitter and X read a separate but related set of twitter: tags for their own card format.
Kendall Chris
Written by Kendall Chris Kendall Chris

Kendal is an SEO specialist with 5+ years of experience helping small businesses and freelancers grow their organic traffic. She writes about on-page SEO, content strategy and website optimization at SEO Site Checker.

Share on Social Media: