How to use this Open Graph generator
Fill in the title and description as they should appear in a social feed — not as search-result text. A feed is a fast, visual place: the title should read like something a friend would tap, and the description gets about two lines before it is cut. Add the page's permanent URL and the full address of your share image, choose the type, and look at the preview card. That preview is a close approximation of the card Facebook, LinkedIn and WhatsApp will build from your tags; if the headline overflows or the description trails off mid-thought, shorten them here rather than after the link has been shared. The Twitter fields can stay empty — X reads the OG values as a fallback — unless you want a different headline or image there.
One technical point matters more than all others: the image URL must be absolute (starting with https://) and publicly reachable. A relative path, a localhost address or an image behind a login will silently produce a card with no picture, which is the single most common Open Graph failure.
Example output
With the sample guide values pre-filled on this page, the generator produces:
That block was produced by this tool's own code from the values above. Note how the empty Twitter fields were filled from the OG values automatically — that mirroring is what the generator does every time, so you never maintain the same headline twice.
The image does most of the work
In a feed, the image is roughly four-fifths of the card and nearly all of its stopping power. Design it deliberately: one clear subject, a few large words at most, and nothing important near the edges, because different platforms crop slightly differently. The 1200 by 630 size is the safe standard — big enough to stay sharp, in the ratio every platform expects. Avoid using your logo alone (nobody clicks a logo) and avoid generic stock photos that could belong to any article. A real photo of the thing the page is about outperforms both, every time.
Testing before you share
After adding tags, test the live URL in Facebook's Sharing Debugger and LinkedIn's Post Inspector. Both show exactly the card they will use and both let you force a fresh scrape after fixing a mistake — essential, because platforms cache the first version they fetch, sometimes for weeks. If the debugger reports a missing or unreachable image, the URL is wrong or not public; if it shows an old card, scrape again rather than editing the tags blindly. Two minutes of testing here is the difference between a launch post that looks professional and one that goes out with a grey box.
One image per page, or one for the whole site?
Both, in layers. Every site should have one strong default share image — the one on the homepage — so that any page someone shares looks deliberate rather than accidental. On top of that, your most-shared pages deserve their own: the article's actual subject, the product itself, the guide's finished result. The reason is simple arithmetic: the image is most of the card, and a card showing the specific thing outperforms a generic brand image on the pages people share most. The long tail of ordinary pages can safely reuse the default. What you should not do is the opposite extreme — generating a unique image for every minor page while the homepage, the most shared URL of all, still shows a scraped logo. Start with the default, add per-page images in order of how often each page is actually shared, and stop when the effort stops matching the traffic.
Frequently asked questions
What are Open Graph tags used for?
They control how your page looks when its link is shared on Facebook, LinkedIn, WhatsApp, Slack, Discord and most other platforms: the title, description and large preview image in the share card. Without them, platforms guess — scraping whatever heading and image they find first, which is often a logo, an ad or nothing at all.
What size should my og:image be?
1200 by 630 pixels is the standard recommendation, a 1.91:1 ratio that every major platform displays well. Keep the file under about 1 MB (under 300 KB is better for slow connections), put the important content in the centre safe zone, and use JPG or PNG. Text on the image should be large — it will be shown small in feeds.
What is the difference between Open Graph and Twitter cards?
Open Graph is the original Facebook protocol that nearly every platform now reads. Twitter (X) has its own twitter: tags, but falls back to your Open Graph values when they are missing. This generator writes both, with Twitter fields defaulting to the OG ones unless you override them — so one block covers everything.
Why does my shared link still show the old image?
Platforms cache share data aggressively, sometimes for weeks. After changing your tags, force a refresh: Facebook's Sharing Debugger and LinkedIn's Post Inspector both re-scrape a URL on demand. If it still shows the old image, check the og:image URL loads publicly — a staging or login-protected image cannot be fetched by their crawlers.
Which og:type should I use?
Use website for homepages and general pages, article for blog posts and news (it unlocks author and publish-date fields), product for product pages, and profile for person pages. When in doubt, website is always safe — platforms treat unknown types as website anyway.
Do Open Graph tags affect my Google ranking?
Not directly — Google search does not use OG tags as a ranking signal, and Google results use your title tag and meta description instead. The benefit is indirect but real: better-looking shares earn more clicks and visits from social platforms, and those visits can lead to links and engagement that do help.
Should og:title match my page title tag?
It can, but it does not have to. The title tag is written for search results and often includes keywords and a brand suffix; the og:title is written for a social feed, where a shorter, more human headline usually earns more clicks. Keep both honest descriptions of the same page.
What does twitter:card summary_large_image mean?
It selects the big card format on X/Twitter: a full-width image with the title and description beneath it, which earns far more attention than the small thumbnail 'summary' card. Use summary_large_image whenever you have a proper 1200×630 image; use summary only for pages with no suitable image at all.
Can I use a different image for Twitter than for Facebook?
Yes. Fill in the Twitter image field and the generator emits a separate twitter:image tag, which X reads before falling back to og:image. Most sites use the same image for both; a separate one is useful when a design is cropped differently or a campaign runs only on X.