Social Preview Inspector

Preview Open Graph/Twitter cards from pasted HTML meta tags.

The Social Preview tool reads the Open Graph and Twitter Card meta tags in a page's HTML and renders approximate share cards for Facebook or LinkedIn and for Twitter or X. It also lists every tag it looked for and which ones are missing, so you can fix link previews before sharing.

What are Open Graph and Twitter Card tags?

When you paste a link into a social network or chat app, the service fetches the page and looks at special meta tags in the head to decide how to display it. Open Graph, introduced by Facebook, uses property attributes such as og:title, og:description, og:image, og:url, og:type and og:site_name. Twitter (now X) has its own twitter:card, twitter:title, twitter:description, twitter:image and twitter:site tags, and falls back to Open Graph values when its own are missing. The twitter:card value chooses the layout, for example summary for a small square image beside the text or summary_large_image for a wide image above it. A wide image around 1.91 to 1 is the usual shape for large cards. Platforms cache previews, so a fixed tag may not appear until the cache is refreshed.

How to use Social Preview Inspector

  1. Paste the HTML Paste the page source into the Page HTML box, or click Sample to load an example.
  2. Review the two cards The Open Graph (Facebook / LinkedIn) card and the Twitter / X card appear side by side.
  3. Check for missing tags A warning lists the missing tags, or a success message confirms that all Open Graph and Twitter tags are present.
  4. Use the tag table The Tag and Value table shows every tag the tool checks so you can compare it with your template.

Frequently asked questions

Does the tool load my image?

No. Images are never fetched. The card shows a text placeholder with the image URL, so it cannot tell you whether the image exists or has the right size.

Do I need both Open Graph and Twitter tags?

Twitter or X can use Open Graph tags when its own are missing, but twitter:card is needed to choose the card type, so it is worth setting. Other platforms mostly read Open Graph.

Why does my shared link still show old information?

Social platforms cache the preview of a URL. After changing tags you usually need to re-scrape the URL with the platform's debugging tool or wait for the cache to expire.

Which tags are checked?

og:title, og:description, og:image, og:url, og:type and og:site_name, plus twitter:card, twitter:title, twitter:description, twitter:image and twitter:site. Open Graph tags are read from property attributes, and twitter tags from name attributes, with either accepted for both.

What image size works best?

The preview box uses a 1.91 to 1 shape, which matches the common recommendation of about 1200 by 630 pixels for large link cards. Exact requirements differ by platform.

Is my HTML sent anywhere?

No. The HTML is parsed in the page and nothing is uploaded.