Code · Made a little simpler

Open Graph Preview

Preview a social card from pasted HTML. Compare Open Graph and X card fields, try wide and square crops with a local image, and download a report.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Open Graph Preview: how to use it

  1. Paste a saved HTML document or its head tags, or choose Open local HTML. Select Preview card or load the seed swap example.
  2. Switch Metadata to preview to compare Open Graph and X card tags. Check the field table to see which tag and source line supplied each value.
  3. Choose Wide image or Square thumbnail to compare a crop. Select a local image to see how its subject fits, then download the report if you need to record the source fields.

Limits and notes

Up to 250,000 UTF-16 code units or a 1 MiB UTF-8 HTML file. Optional local preview accepts still JPG, PNG or WebP up to 25 MB, 24 megapixels and 12,000 pixels per side. The tool estimates two card layouts from saved markup. It reads image and page URLs as text and never requests them.

How your privacy works →

Open Graph Preview: common questions

Why does the card have a placeholder when og:image is present?

The tool shows the declared URL as text. Choose a copy of that image from your device to check its crop.

How do I find which title was used?

Read the source column in Preview fields. Open Graph mode uses the first supported declaration. X card mode uses a supplied X title and falls back to the Open Graph title when needed.

Does this predict the exact card a visitor will see?

It estimates two layouts using the supplied metadata. Compare the published URL in your destination's own preview tool to check its stored copy, fetch behavior and current layout.

Guides