Social Sharing

How to Extract Open Graph Metadata

Open Graph metadata controls how links look when shared on social networks and many chat apps. If the preview title, description, or image is wrong, the HTML tags are the first place to look. This guide covers the common tags, how to extract them, and how they differ from standard SEO metadata.

Quick answer

Paste a public URL into Website Screenshot to read Open Graph title, description, and image (with a preview when available). Or view page source and search for `property="og:`. Example tags are illustrative—not live extraction results.

What Open Graph metadata is

Open Graph is a set of meta tags originally popularized for Facebook that many platforms now read. They tell crawlers which title, description, image, and canonical share URL to use for a link preview card.

Common tags: og:title, og:description, og:image, and og:url

<meta property="og:title" content="Example Website">
<meta property="og:description" content="An example description.">
<meta property="og:image" content="https://example.com/preview.jpg">
<meta property="og:url" content="https://example.com/">
Illustrative examples only. These are not real extraction results from a live site.
  • `og:title` — headline for the share card.
  • `og:description` — supporting summary.
  • `og:image` — absolute image URL for the preview.
  • `og:url` — canonical URL the share should represent.

How to inspect the HTML source

  1. Open the page and view source (or the Elements panel).
  2. Search for `property="og:` or `property='og:`.
  3. Confirm each content value, especially that `og:image` is an absolute `https` URL.
  4. Check whether Twitter/X tags (`twitter:image`, etc.) exist as a fallback on some platforms.

How to use an online metadata extractor

  1. Open Website Screenshot.
  2. Paste the public URL and run the capture.
  3. Read Open Graph title, description, and image in the report.
  4. Compare the Open Graph image panel with the live viewport screenshot.

Website Screenshot reports Open Graph title, description, and image when present. Missing tags appear as Not found. The image is downloaded only when it is a public http(s) URL. For a separate SEO description check, see How to Find a Website's Meta Description.

How Open Graph data affects link previews

When someone shares a URL, the platform's crawler fetches the page (or a cached copy) and builds a card from Open Graph tags when available. If tags are missing, platforms may fall back to the HTML title, meta description, or a guessed image. Cached previews can lag behind your latest HTML until the platform refreshes them.

Open Graph metadata versus standard SEO metadata

FieldSEO-oriented tagOpen Graph tag
Title`<title>``og:title`
Descriptionmeta name="description"`og:description`
Image(not a standard SEO meta)`og:image`
URLcanonical link`og:url`

They often match, but they do not have to. Marketing teams sometimes write a punchier OG title for social while keeping a more descriptive HTML title for search. A full page-level pass is covered in How to Check a Website's SEO Metadata.

Common problems

  • Missing tags: platforms fall back to less controlled content.
  • Incorrect image URLs: 404s, blocked hotlinking, or login walls.
  • Relative image paths: many crawlers need absolute URLs.
  • Stale cached previews: refresh using each platform's debugger after fixing tags.
  • Canonical / og:url mismatches: the shared URL disagrees with the preferred URL.

FAQ

Is og:image the same as a website screenshot?

Usually no. og:image is a declared preview asset. A live screenshot is a capture of the rendered page. Website Screenshot shows both when available.

Does Website Screenshot extract og:url?

The report focuses on Open Graph title, description, and image. Check og:url in the HTML source if you need that specific field.

Why is the social preview still old after I fixed the tags?

Many platforms cache previews. Use their official sharing debugger or cache refresh tools after you deploy changes.

Related articles

Inspect Open Graph Metadata

Paste a public URL into Website Screenshot to capture the page and inspect supported metadata fields.

Inspect Open Graph Metadata

References

← Back to Blog