This is an approximate preview — it does not exactly match what the live social platform shows. Each platform crops, truncates and styles cards its own way. The image is loaded from the og:image URL in the HTML you paste, so the preview shows the real image. If the image cannot be loaded (a bad URL, or a server that blocks hotlinking), the card says so and still shows the URL.
What is the Open Graph Preview Checker?
The Open Graph Preview Checker is a free online tool that shows you how your page will look when someone shares it on social media. Paste HTML source code containing social metadata, and it extracts the Open Graph tags (og:title, og:description, og:image, og:url, og:type) and the Twitter/X card metadata, then renders the card in one of three common layouts: a large image card (Facebook / LinkedIn), an X large summary card, or an X small summary card. Missing metadata and warnings are listed alongside the preview.
It is made for anyone who shares links: bloggers checking a post before publishing, social media managers preparing a campaign, and developers who want to see whether their meta tags actually produce the card they intended. There is nothing to install and nothing to sign up for. The pasted HTML is parsed with a DOM parser only — it is never executed and never inserted into the page — and everything runs in your browser.
Two honest limits. First, the preview is approximate: it does not exactly match what the live social platform shows, because each platform crops, truncates and styles cards its own way. Second, the image is loaded from the og:image URL in the HTML you paste, so the preview shows the real image — but if that image cannot be loaded (a bad URL, or a server that blocks hotlinking), the card says so and still shows the URL.
How to use the Open Graph Preview Checker
- Paste your HTML source code with social metadata into the box labelled “Paste your HTML source code with social metadata”. The tool comes with a sample already loaded, containing a full set of Open Graph and X/Twitter tags for a sourdough bread guide.
- Choose a preview layout from the “Preview layout” dropdown. “Large image (Facebook / LinkedIn)” is the wide card with a big image on top. “X large summary card” is X’s large card, and “X small summary card” is X’s compact card with a small image on the side.
- Click “Show preview”. The card appears on the right, with the title, description, URL and the real image loaded from the
og:imageURL, and any missing metadata or warnings are listed below it. - Clear empties the box, and Reset brings back the sample.
Worked example
The sample contains these tags:
<meta property="og:title" content="How to Bake Sourdough Bread at Home">
<meta property="og:description" content="A beginner-friendly guide to baking sourdough bread at home — starter, kneading, shaping and baking, step by step.">
<meta property="og:image" content="https://allabouthtml.com/wp-content/uploads/2023/01/allabouthtml-logo.png">
<meta property="og:url" content="https://allabouthtml.com/sourdough-bread-guide/">
<meta property="og:type" content="article">
<meta name="twitter:card" content="summary_large_image">
Choose “Large image (Facebook / LinkedIn)” and click “Show preview”. The card shows the title “How to Bake Sourdough Bread at Home”, the description, the URL allabouthtml.com, and the real image loaded from the og:image URL. Now switch the layout to “X small summary card” and click “Show preview” again: the same title and description appear in the compact layout, with the real image on the side instead of on top. The content is the same — only the layout changes, which is exactly what happens when the same link is shared on different platforms.
Try deleting the og:image line from the sample and showing the preview again. The tool lists the missing image as an issue, and the card renders without an image — which is what your shared link would look like on the platform too.
Why preview your social card before you share
A shared link is judged by its card
When someone shares your page, most people never see your page first — they see the card. The title, the description and the image are what decide whether they click. A card with no image, a cut-off title or a wrong description is a lost click, and you will never know it happened. Previewing the card before you publish is the cheapest way to catch those problems.
Each platform shows the same tags differently
The same og:title and og:description render as a wide card on Facebook and LinkedIn, a large summary card on X, and a compact card with a small thumbnail in other places. The title that fits comfortably on the large card may be truncated on the small one. Checking all three layouts in this tool tells you whether your title and description survive in each of them.
Missing tags fail silently
If og:image is missing, the platform does not warn you — it picks an image itself, or shows none at all. If og:title is missing, it falls back to the page title, which may be longer or less suited to sharing. The checker’s list of missing metadata is the safety net: it tells you what is absent before your audience sees the result.
Tips for a card that gets clicked
- Always include an
og:image. A card without an image is easy to scroll past. The image should be a real, relevant picture — ideally 1200 × 630 pixels for the large card — and the URL must be absolute, starting withhttps://, not a relative path. - Keep the title short enough for the small card. The large layout is forgiving, but the compact layout truncates sooner. If your title reads well in the small summary card, it will read well everywhere.
- Write the description for a stranger. The person seeing the card has not read your page. The description should say what the page gives them, in one sentence, without assuming any context.
- Check all three layouts. A title that fits the large image card may be cut off on the small one, and a description that looks complete on Facebook may be trimmed on X. Run the preview in each layout before you publish.
- Remember the preview is approximate. Platforms change their card designs, crop images differently and truncate at different lengths. Use this tool to catch missing tags and obvious problems, then check the real platform’s own debugger for the final word.
Frequently asked questions
Does the checker load my image?
Yes. The image is loaded from the og:image URL in the HTML you paste, so the preview card shows the real image. If the image cannot be loaded (a bad URL, or a server that blocks hotlinking), the card says so and still shows the URL.
Why doesn’t the preview match Facebook or X exactly?
Because each platform crops, truncates and styles cards its own way, and they change their designs over time. This preview is an approximation built from the same tags the platforms read. It will catch missing metadata, a title that is too long, and a layout that does not work — but the live platform is the final authority on exactly how the card looks.
What tags do I need for a good card?
At minimum: og:title, og:description, og:image and og:url, plus og:type (usually article for a blog post or website for a homepage). For X, add twitter:card — summary_large_image for the big card — and the twitter:title, twitter:description and twitter:image tags. The sample in the tool contains all of them.
Does the checker fetch my URL?
No. It reads only the HTML you paste into the box. It never fetches the page or visits your site. It does load the image from the og:image URL in the pasted HTML, so the preview card shows the real image. If you want to check a live page, view its source in your browser, copy the HTML and paste it here.
Is my pasted HTML executed?
No. The HTML is parsed with a DOM parser only. It is never executed and never inserted into the page, so scripts and tags in your pasted HTML cannot run.
Conclusion
A shared link is only as good as its card, and the card is only as good as the tags behind it. This Open Graph Preview Checker shows you that card — in the large image layout, the X large summary card and the X small summary card — and tells you plainly what metadata is missing, so you can fix it before anyone shares the link. Paste your HTML, check all three layouts, and make sure the image, title and description are the ones you want the world to see. And when you want to audit every tag in the head section, not just the social ones, the Meta Tag Analyzer will read the whole head for you.

