Open Graph Generator
Fill in your page details and copy ready-to-paste Open Graph tags for your head section.
Hand-written Open Graph markup breaks in small ways. A missing quote closes a tag early, a relative image path points nowhere, or name gets typed where the protocol calls for property. The page still loads and looks fine, and the mistake only appears when someone shares the link and the card comes out wrong.
An Open Graph Generator removes that class of error. You fill in a few fields and the tool writes the tags with correct syntax, so the only thing you decide is what the card should say.
Fields to Fill In With the Open Graph Generator
The form has five fields and a generate button: title, description, image URL, page type and canonical URL. Choose website for general pages and article for blog posts. The protocol lists og:title, og:type, og:image and og:url as required, and og:description as optional but recommended.

The Open Graph Generator form: title, description, image URL, page type and canonical URL.
Write the title and description for people scrolling a feed. They can differ from your title tag and meta description, which helps when those were written for a search snippet. A sentence or two is enough, and about 160 characters is a guideline, not a hard limit. Press generate, copy the result and paste it into the head of the page template, not the body.
Before and After Generating the Tags
Take a page whose head holds only a title and a search description:
<title>Best Hosting Deals 2026</title>
<meta name="description" content="Plans, prices and renewal terms compared side by side.">
There is no Open Graph data here, so a platform picks text and an image on its own. After generating, the head also carries this block:
<meta property="og:title" content="Best Hosting Deals 2026">
<meta property="og:type" content="article">
<meta property="og:description" content="Plans, prices and renewal terms compared side by side.">
<meta property="og:image" content="https://example.com/images/hosting-deals.jpg">
<meta property="og:url" content="https://example.com/hosting-deals">
If a theme or SEO plugin already prints its own og: tags, turn one set off. Two sets on one page leave the crawler to pick, and it may not pick yours. Keep og:url on the clean canonical address, since Facebook uses it to group shares of the same page.
Image Size and Address Limits
A 1200 by 630 pixel image, a 1.91:1 ratio, is a common starting point for social sharing. Facebook asks for at least 200 by 200 pixels, and images under 600 by 315 appear there as a small thumbnail beside the text. Other platforms set their own minimums and crop differently, so keep key content away from the edges. The file needs a full https address that loads without a login. The generator copies whatever address you type, so a typo or a private file still produces a broken card.
Testing the Tags Before You Share
Checking What the Open Graph Generator Produced
Run the page through the Open Graph Checker after you publish it. It lists the tags your server returns, so a missing og:image or a dead image link shows up before anyone shares the URL. A clean result is a good sign, not a guarantee, because Facebook and LinkedIn fetch pages with their own user agents and a firewall can treat them differently. Test a real article as well as the homepage, since some themes print one default image everywhere.
X reads Open Graph tags as a fallback, but it draws the large image card only when a twitter:card tag exists. The Generate Twitter Card tool writes that tag.
Why an Old Preview Can Survive an Update
Platforms cache link metadata, so changing a tag does not change cards that already exist. Facebook's Sharing Debugger and LinkedIn's Post Inspector both fetch a fresh copy. On LinkedIn the refresh applies to new posts, and a post already published keeps its old preview. The full list of supported properties, including video and locale, is in the Open Graph Protocol documentation.