SEO

Open Graph Tags Explained: The Complete Guide for Better Social Sharing

Learn how Open Graph tags influence social link previews, which OG tags matter most, how to test them, and how to avoid broken titles, descriptions, images, and URLs.

By ToolMint Editorial Team

ToolMint's editorial team creates practical SEO, web, and technical guides for marketers, developers, and website owners.

8 min read Published Jul 06, 2026 Updated Oct 05, 2026

Quick answer

In brief

Open Graph tags are HTML metadata fields that tell social platforms which title, description, image, URL, and content type to use when someone shares a page. Add them to the page head, keep them aligned with the canonical URL, and test them before campaigns or launches.

Key facts

Best for
Supplying page metadata to platforms that build shared link previews.
Main standard or format
Open Graph Protocol meta tags in the HTML head.
Supported outputs
Preview title, description, image, URL, type, site name, and locale.
Key limitation
Platforms may cache previews or crop images differently after reading the same tags.
Related tool
Open Graph Checker
Last updated
Oct 05, 2026

Limitations

  • Open Graph tags influence social previews, but platforms can cache, crop, or transform previews differently.
  • Open Graph metadata is not a direct Google ranking factor.
  • ToolMint extracts tags from fetched HTML and displays a simulated card; it does not certify protocol compliance or refresh platform caches.

Open Graph tags tell social platforms what title, description, image, URL, and content type to show when someone shares a page. Without them, a platform may guess from page content, cache outdated values, or choose an image that does not represent the page.

Open Graph tags supply preferred metadata for a shared page. Platforms decide how to display it and may use cached values, fallbacks, or different image crops.

Whether you are publishing a blog post, launching a product page, promoting a landing page, or sharing a free tool, well-configured Open Graph tags help communicate what the page offers before a reader opens the link.

In this guide, you will learn how Open Graph works, which tags are essential, common mistakes to avoid, and how to validate your pages using ToolMint's free Open Graph Checker.


Quick Answer

Open Graph tags are HTML meta tags placed inside a webpage's <head> section. They tell social media platforms which title, description, image, and URL should be displayed when a page is shared.

Without Open Graph tags, platforms may guess what information to display. That can result in inconsistent, outdated, or unattractive previews.

The Open Graph protocol defines four required basic properties:

  • og:title
  • og:type
  • og:image
  • og:url

og:description is optional in the protocol and recommended for a useful page summary. og:site_name and og:locale are also optional. Additional properties may be required by the selected content type. A platform generating a fallback preview does not mean the page meets the protocol requirements.


What Are Open Graph Tags?

Open Graph is a protocol originally introduced by Facebook that allows websites to control how content appears when shared on social platforms.

Today, many services use Open Graph metadata, including:

  • Facebook
  • LinkedIn
  • Slack
  • Discord
  • WhatsApp
  • Microsoft Teams
  • Pinterest
  • Many messaging apps and CMS integrations

When someone pastes a URL into one of these platforms, the platform scans the page for Open Graph tags and builds a preview card using that information.

A typical preview card may include:

  • Page title
  • Short description
  • Featured image
  • Domain name
  • Content type

Open Graph gives platforms explicit values to consider; it does not guarantee that every value appears in every preview.


Why Open Graph Tags Matter

Open Graph tags do not directly improve Google rankings, but they can strongly influence user engagement.

Benefits include:

  • More attractive link previews
  • A clearer summary for people deciding whether to open the link
  • Consistent branding across platforms
  • Better control over featured images
  • Fewer incorrect previews
  • Improved trust and professionalism
  • Better visibility when links are shared in communities

A compelling preview can make the difference between someone clicking your link or scrolling past it.

For a website like ToolMint, Open Graph tags matter because every tool, guide, and landing page should look professional when shared on LinkedIn, WhatsApp, Slack, Facebook, or X.


How Open Graph Works

Open Graph tags are added to the <head> section of a webpage.

Illustrative markup (verify that the image URL is accessible on your deployed site):

<meta property="og:title" content="Open Graph Checker | ToolMint">
<meta property="og:description" content="Review extracted Open Graph metadata and a simulated share card with ToolMint's free Open Graph Checker.">
<meta property="og:image" content="https://www.tool-mint.com/tools/open-graph-checker/opengraph-image">
<meta property="og:url" content="https://www.tool-mint.com/tools/open-graph-checker">
<meta property="og:type" content="website">

A social platform can use these tags to build a preview card. Its rendering and cached data may differ from a checker's simulated preview.

If the tags are missing, the platform may pull the page title, first available image, or random text from the page. That can create poor previews.


The Essential Open Graph Tags

These sections cover both required and optional properties; their order is a reading aid.

1. og:title

The og:title tag defines the title shown in the social preview.

Example:

<meta property="og:title" content="Open Graph Checker | ToolMint">

Best practices:

  • Keep it concise.
  • Make it clear and clickable.
  • Match the page topic.
  • Avoid clickbait.
  • Include your brand when useful.

A good Open Graph title should make sense even when seen outside your website.

Bad example:

<meta property="og:title" content="Home">

Better example:

<meta property="og:title" content="Free Open Graph Checker | ToolMint">

2. og:description

The optional og:description tag provides a short summary that platforms may display below the title.

Example:

<meta property="og:description" content="Review extracted Open Graph metadata and a simulated share card with ToolMint's free Open Graph Checker.">

Best practices:

  • Aim for a clear and useful summary.
  • Explain what the page offers.
  • Avoid keyword stuffing.
  • Keep it natural.
  • Make it different from generic page text when needed.

A strong description helps users understand why they should click.


3. og:image

The required og:image property supplies an image URL for the shared object. A platform may still choose a different crop or fallback.

Example:

<meta property="og:image" content="https://www.tool-mint.com/tools/open-graph-checker/opengraph-image">

Recommended image guidelines:

  • A 1200 x 630 pixel image is a common starting point, not a size mandated by the Open Graph protocol. Check the target platform's requirements.
  • Use a high-quality image.
  • Make sure the image is publicly accessible.
  • Use HTTPS.
  • Avoid placing important text too close to the edges.
  • Keep branding clean and readable.
  • Add og:image:alt when an Open Graph image is present so assistive technologies and platforms that expose alternative text have a meaningful description.

The image is often the most noticeable part of the preview. A poor image can make even good content look weak.


4. og:url

The og:url tag defines the main URL for the shared page.

Example:

<meta property="og:url" content="https://www.tool-mint.com/tools/open-graph-checker">

This helps platforms understand the correct page, especially when links include tracking parameters.

Best practices:

  • Use the clean canonical URL.
  • Use HTTPS.
  • Avoid unnecessary UTM parameters.
  • Match the canonical URL when possible.

5. og:type

The og:type tag tells platforms what kind of content the page represents.

The property is required by the protocol. Protocol-defined values include:

  • website
  • article
  • video.movie
  • music.song

Check the target platform's documentation before using a platform-specific type.

Most ToolMint tool pages should use:

<meta property="og:type" content="website">

Blog posts can use:

<meta property="og:type" content="article">

6. og:site_name

The og:site_name tag displays your brand name in supported previews.

Example:

<meta property="og:site_name" content="ToolMint">

This helps reinforce brand recognition when your pages are shared.


7. og:locale

The og:locale tag specifies the language and region.

Example:

<meta property="og:locale" content="en_US">

This is useful for websites that serve users in different languages or regions.


Real-World Example

Imagine you publish a guide called:

The Complete Password Security Guide

Without Open Graph tags, a platform might show:

  • A random image from the page
  • The wrong title
  • No description
  • A broken preview

With Open Graph tags, the preview can show:

  • A professional featured image
  • A clear title
  • A useful description
  • Correct branding
  • The clean page URL

That creates a much stronger first impression when someone shares the link.


Best Practices for Open Graph Tags

Use a unique image for important pages

Choose a page-specific image when it helps readers recognize the topic. Keep a relevant fallback for pages without custom artwork.

For example, a page about an Open Graph Checker should have an image that clearly says something like:

Open Graph Checker
Validate Social Preview Tags
ToolMint

Keep titles readable

Do not stuff titles with keywords. A title should be written for humans first.

Match preview intent

The Open Graph title and description can be different from your SEO title and meta description, but they should not misrepresent the page.

Test before sharing

Always test important pages before sharing them publicly.

Use HTTPS URLs

Many platforms expect secure image and page URLs. HTTP image URLs can fail or create preview issues.

Make images easy to crop

Different platforms crop previews differently. Avoid putting key text near the edges.


Common Open Graph Mistakes

Many websites weaken their social previews by making simple mistakes.

Mistake Why It Matters
Missing og:image Preview may look empty or unattractive
Broken image URL Platform cannot display the image
Low-resolution image Preview appears blurry
Missing og:title Platform may use an unsuitable title
Missing og:description Preview may look incomplete
Wrong og:url The shared object may be associated with an unintended page identity
HTTP image URL Some platforms may not load the image
Conflicting or unintended repeated values Review conflicts; intentional repeated og:image values are supported by the protocol
Outdated cached preview Old title or image may keep showing

Review repeated tags in context. The protocol prefers the first value when values conflict, and an image's structured properties belong after its root og:image tag. An intentional list of images is not automatically an error.


Step-by-Step: How to Check Your Open Graph Tags

Step 1: Open the page you want to test

Choose an important URL such as a homepage, blog post, landing page, or tool page.

Step 2: Open ToolMint's Open Graph Checker

Go to ToolMint's Open Graph Checker.

Step 3: Enter your webpage URL

Paste the full URL, including https://.

Step 4: Run the analysis

The tool sends the URL to ToolMint's server and extracts metadata from the HTML response it can fetch. It does not run the page's JavaScript or bypass login walls.

Step 5: Review the detected tags

Check the values for:

  • og:title
  • og:description
  • og:image
  • og:url
  • og:type
  • og:site_name
  • og:locale

Step 6: Fix missing or incorrect tags

Update your page metadata in your website code, CMS, SEO plugin, or framework.

Step 7: Re-test after publishing changes

After your updates go live, run the check again. Then verify the actual preview on the target platform; ToolMint cannot clear its cache.


ToolMint Open Graph Checker Walkthrough

ToolMint's Open Graph Checker extracts metadata from a public URL and presents a simulated share card alongside the detected values.

The seven visible tag rows are og:title, og:description, og:image, og:url, og:type, og:locale, and og:site_name. Their statuses indicate presence or multiple values; they do not prove that a URL is correct, a content type is suitable, or an image meets a platform's requirements.

The current interface flags missing title, description, and image values as errors, while missing URL or type values appear as informational rows. Its recommendations also look for missing fields. These interface priorities are not a protocol compliance checklist.

The simulated card uses the first extracted image when several are present, and may fall back to the HTML title or meta description when OG values are absent. Its domain label comes from the final fetched URL. A populated card therefore does not prove that the corresponding OG tags exist.

Use Copy OG tags or the JSON export to retain the extracted OG object. These actions do not generate HTML meta tags or export a platform screenshot.

Verify image accessibility, response content type, and dimensions separately. Loading an image in the simulated card does not prove that a platform's crawler can fetch it. Also review URL identity, the selected content type, and any intentional repeated image values. The checker's multiple-image warning is a prompt to review the values, not proof that the page violates the protocol.

For the actual result, test the published page with the target platform's inspection tool or sharing interface. Platforms can cache metadata and render different cards even when ToolMint extracts the intended values.


Open Graph vs Meta Tags vs Twitter Cards

Open Graph tags, standard SEO meta tags, and Twitter Cards are related, but they are not the same.

Metadata Type Main Use
Title tag Search results and browser tabs
Meta description Search snippets and page summary
Open Graph tags Facebook, LinkedIn, Slack, WhatsApp, Discord
Twitter/X Cards X sharing previews
Canonical tag Preferred URL for search engines

A complete page should usually include all of them.

Some platforms and preview tools can fall back from one metadata set to another, but fallback behavior is not a replacement for explicit tags. Use Open Graph tags for broad social previews, and use Twitter Card tags when you need X-specific card control.

Structured data serves a different purpose from social metadata. To understand how JSON-LD describes page entities and eligible search features, learn how structured data works.


Pro Tips

  • Use a unique Open Graph image for every high-value page.
  • Keep branding consistent across previews.
  • Test pages after updating metadata.
  • Use clean HTTPS URLs.
  • Avoid text-heavy images.
  • Make sure your image URL returns a 200 status.
  • Keep Open Graph and canonical URLs aligned.
  • Refresh platform caches after major updates.

Frequently asked questions

Do Open Graph tags affect Google rankings?

No. Open Graph tags are not direct Google ranking factors. However, they can improve how your content appears when shared, which may increase clicks, engagement, and brand visibility.

Which platforms use Open Graph?

Facebook, LinkedIn, Slack, Discord, WhatsApp, Microsoft Teams, and many other services support Open Graph metadata.

What image size should I use for Open Graph?

A 1200 x 630 pixel image is a common starting point. The Open Graph protocol does not prescribe that size, and individual platforms may apply different limits or crops.

Can I use different titles for SEO and Open Graph?

Yes. Your HTML <title> and og:title can be different if it improves the experience for social sharing. They should still describe the same page accurately.

Why is my social preview not updating?

Many platforms cache Open Graph data. After updating your tags, you may need to use that platform's debugging or cache refresh tool before the new preview appears.

Is `og:image` required?

Yes. og:image is one of the Open Graph protocol's four required basic properties. Some platforms may still generate a preview without it by using fallback content. That fallback does not make the page protocol-complete.

Use these ToolMint tools to improve your metadata and sharing workflow:


Sources


Final Thoughts

Open Graph tags supply metadata for social and messaging previews. Provide the four required basic properties, add a useful description and relevant optional fields, and keep the values aligned with the page.

Before a campaign or launch, inspect the published page with ToolMint's Open Graph Checker, verify image responses separately, and test the actual target platform preview. Metadata inspection and platform verification are complementary steps.

Enjoyed this guide? Share it.

Related tools

Browse all →

Related guides