Home/Tools/SEO Tools/Open Graph Generator

Open Graph Generator

SEO Tools

Generate Open Graph meta tags for social media sharing.

⚡ Instant🔒 Private, in your browser🆓 Free, no sign-up👥 For marketers and seo
Your data never leaves your browser. We do not store inputs.

What Open Graph Generator does

The Open Graph Generator writes the og: meta tags that control how a page looks when it is shared on Facebook, LinkedIn, WhatsApp, Slack and similar apps. Enter the title, description, image and page address, choose a type, and the code appears below the form with a copy button. When you add an image, extra fields appear for its description and its width and height. Empty fields are left out, and text is escaped so quotes cannot break the tags. It runs in your browser.

FV
Reviewed by the FreeToolsVerse team · Last updated · How we check our tools

Features and benefits

  • Writes og:title, og:description, og:image (with alt text, width and height), og:url, og:type, og:site_name and og:locale
  • Escapes quotation marks and ampersands, and leaves out empty fields
  • Seven types: website, article, product, profile, video, music and book
  • Updates as you type and runs in your browser

How to use Open Graph Generator

  1. Enter the page title and description
  2. Add the image address (a full https:// URL), its description and its size
  3. Add the page URL, choose the type and enter the site name and locale
  4. Copy the tags into the <head> of the page

Who should use it

Made for marketers and seo. Typical uses:

  • Controlling the title, description and image shown when a page is shared
  • Setting a sharing image with alt text and dimensions
  • Preparing Open Graph tags before a launch

Example

With the title "Free Word Counter", the image https://example.com/share.png (described as "Screenshot of the word counter", 1200 by 630), the page https://example.com/word-counter and the site name Example, the tool writes og:title, og:image, og:image:alt, og:image:width, og:image:height, og:url, og:type (website), og:site_name and og:locale (en_US).

Limitations and accuracy

The tool writes tags only: it has no preview and does not check that your image exists or loads. It does not add extra properties for types such as an article's publication date. Social platforms cache previews, so a changed page may show old results until the platform fetches it again. Open Graph tags do not affect search rankings.

Accuracy: Results show what the tool can measure at the moment you run it and can differ from what search engines see. Use them as guidance.

Expert Tip

Use a 1200 by 630 image at a public https:// address, put its width and height in the tags, and use the page's canonical address as og:url. After you change an image, ask Facebook or LinkedIn to fetch the page again.

Frequently asked questions

How do I use the Open Graph Generator?
Fill in the title, description, image address and page URL, choose the type, and copy the tags from the code box into the head of your page.
What image size should I use?
About 1200 by 630 pixels works well on Facebook, LinkedIn and WhatsApp. Put the width and height in the tags so platforms can display the image quickly.
Does Open Graph help SEO?
No, not directly. The tags only change how a link looks when it is shared. Search engines use the title and description tags on the page.
Why does a shared link still show the old image?
Platforms store link previews. Use the Facebook Sharing Debugger or the LinkedIn Post Inspector to make them fetch your page again.
Is my data safe?
Yes. The tags are generated in your browser and nothing is uploaded.

Open Graph Generator: the complete guide

What the generator does

Open Graph tags tell Facebook, LinkedIn, WhatsApp, Slack and many other apps what to show when someone shares a link: a title, a description, an image and a site name. The Open Graph Generator writes those tags as you fill in the form. You enter the title, description, image address and page address, choose a type (website, article, product, profile, video, music or book), and optionally add a site name and locale. When an image is given, three more fields appear for its description and its width and height, which start at 1200 and 630.

A worked example

With the title "Free Word Counter", the image https://example.com/share.png with the description "Screenshot of the word counter", the page address https://example.com/word-counter and the site name Example, the tool writes these tags: og:title, og:image, og:image:alt, og:image:width with 1200, og:image:height with 630, og:url, og:type with website, og:site_name and og:locale with en_US. Fields that you leave empty are left out, and quotation marks and ampersands are escaped so that a title such as A & B cannot break the tag.

The image matters most

On a social feed the image is what people see first. Use an address that starts with https:// and loads without logging in. A size of 1200 by 630 pixels, which has a ratio of about 1.91 to 1, works on most platforms, and putting the width and height in the tags helps platforms show the image straight away, instead of waiting to download it. The alt text is read by screen readers and is shown when the image does not load. Keep important content away from the edges, because some apps crop the picture.

Types, locale and caching

The type is "website" for most pages and "article" for posts. Other values, such as product or profile, are for specific content, and extra properties for them, such as an article's publication date, are not generated here. The locale is a language and country code, for example en_US or fr_FR. Platforms store previews for some time, so if you change the image or text, a share can still show the old version. Facebook and LinkedIn each provide a tool for fetching a page again; use it after you publish changes.

What it does not do

Open Graph tags change how a link looks when it is shared. They are not a ranking factor, and they do not replace the title and description used by search engines, which you can write with the Meta Tag Generator. X (Twitter) reads Open Graph tags when it has no Twitter tags of its own, and the Twitter Card Generator adds the card type. To see how a finished page will look, use the Open Graph Preview.

Good habits

Write a description that is different from the title, give every page its own image where you can, and use the page's canonical address as the og:url so that shares are counted together. For better search results, add structured data with the Schema Markup Generator. The tags are generated in your browser, and nothing you enter is uploaded.

Learning resources

Explore more in SEO Tools, read the guides and articles, or see how we test our tools.

Share This Tool