Command Palette

Search for a command to run...

OP

Open Graph Preview

Preview how your link will look on Facebook, X, LinkedIn, Slack, and Discord, validate your og: tags, and copy a correct meta block

Nothing is fetched or uploaded. Paste the tags from your page source and they are parsed in your browser.

53/60
127/200
5/40

Validation

8 1 0
  • og:title 53 characters - displays in full on every platform.
  • og:description 127 characters - fine for Facebook and LinkedIn, but X truncates past ~110.
  • og:image Absolute HTTPS image URL. Serve it at 1200x630 (1.91:1) for the best result.
  • og:url Absolute canonical URL set.
  • og:type Set to "website".
  • og:site_name 5 characters - shown above the title on most cards.
  • twitter:card Large banner card. Best when your image is 1200x630 or wider.
  • twitter:site Valid handle (@toolz).
  • twitter:creator Valid handle (@toolz).

Generated meta tags

<!-- Open Graph / Facebook / LinkedIn / Slack / Discord -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://toolz.dev/tools/open-graph-preview" />
<meta property="og:title" content="Open Graph Preview: Test Social Cards Before You Ship" />
<meta property="og:description" content="Preview how your link looks on Facebook, X, LinkedIn, Slack, and Discord. Validate your og: tags and copy a correct meta block." />
<meta property="og:site_name" content="Toolz" />
<meta property="og:image" content="https://toolz.dev/og-image.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Open Graph Preview: Test Social Cards Before You Ship" />

<!-- X / Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://toolz.dev/tools/open-graph-preview" />
<meta name="twitter:title" content="Open Graph Preview: Test Social Cards Before You Ship" />
<meta name="twitter:description" content="Preview how your link looks on Facebook, X, LinkedIn, Slack, and Discord. Validate your og: tags and copy a correct meta block." />
<meta name="twitter:image" content="https://toolz.dev/og-image.png" />
<meta name="twitter:site" content="@toolz" />
<meta name="twitter:creator" content="@toolz" />

Social card previews

Approximations of each platform's layout - exact rendering changes over time.
Facebook
Open Graph preview

toolz.dev

Open Graph Preview: Test Social Cards Before You Ship

Preview how your link looks on Facebook, X, LinkedIn, Slack, and Discord. Validate your og: tags and copy a correct meta block.

X / Twitter - summary_large_image
Open Graph preview

toolz.dev

Open Graph Preview: Test Social Cards Before You Ship

Preview how your link looks on Facebook, X, LinkedIn, Slack, and Discord. Validate your og: tags and copy a...

X / Twitter - summary
Open Graph preview

Open Graph Preview: Test Social Cards Before You...

Preview how your link looks on Facebook, X, LinkedIn, Slack, and Discord. Validate your...

toolz.dev

LinkedIn
Open Graph preview

Open Graph Preview: Test Social Cards Before You Ship

toolz.dev

Slack

Toolz

Open Graph Preview: Test Social Cards Before You Ship

Preview how your link looks on Facebook, X, LinkedIn, Slack, and Discord. Validate your og: tags and copy a correct meta block.

Open Graph preview
Discord

Toolz

Open Graph Preview: Test Social Cards Before You Ship

Preview how your link looks on Facebook, X, LinkedIn, Slack, and Discord. Validate your og: tags and copy a correct meta block.

Open Graph preview

Recommended image: 1200x630 (1.91:1), served over HTTPS at an absolute URL. Platforms cache scraped previews, so re-scrape the URL in each platform's debugger after you ship a change.

Category:seo
Mode:Offline
Version:1.0.0
Access:Free

What is an Open Graph Preview tool?

Open Graph Preview interface on Toolz.dev - Preview how your link will look on Facebook, X, LinkedIn, Slack, and Discord, validate your og: tags, and copy a correct meta block

An Open Graph Preview tool shows you what a shared link will look like before you publish it. You enter your og:title, og:description, og:image, og:url, and Twitter Card fields - or paste the block of meta tags you already have - and the tool renders approximate social cards for Facebook, X/Twitter, LinkedIn, Slack, and Discord side by side. Instead of pushing a page live, sharing it, and discovering that the title is cut in half or the image never loads, you see the problem while you can still fix it.

The Open Graph protocol is the shared vocabulary that nearly every platform uses to build those cards. A scraper visits your page, reads the og: meta tags in the <head>, and assembles a preview from them. The catch is that each platform renders those same tags differently: X truncates descriptions at roughly 110 characters while Facebook shows closer to 155, LinkedIn hides the description entirely on some surfaces, and Slack collapses everything into a compact attachment. A field that looks fine in one card can be mangled in another, which is why previewing all of them at once is the only reliable check.

Here is an open graph preview with real numbers. Set og:title to "How We Cut Our Page Load Time in Half Without a Rewrite" (55 characters, a pass) and give it a 125-character og:description. Validation passes the title and warns on the description: fine for Facebook and LinkedIn, but X truncates past about 110. The X large-image card cuts the text after "from 4.1 seconds...", while the Facebook card shows the whole sentence. The open graph image preview loads your og:image into each card, so a broken link shows "Image failed to load" before anyone shares it.

This tool runs client-side and never fetches or scrapes your page. It works from the tags you give it, either typed into the form or pasted in as raw HTML and parsed locally. That means you can validate metadata for pages that are behind a login, on a staging domain, or not deployed at all. The one request it makes to your server is loading the og:image URL, so your browser can show the picture in the cards.

How to use the Open Graph Preview tool?

1

Enter your tags or paste existing HTML

Fill in og:title, og:description, og:image, og:url, and the Twitter Card fields. If the page already has meta tags, paste the raw HTML into the parse box and the tool loads every recognised tag into the form for you.

2

Check the validation panel

Each field gets a pass, warning, or fail status against real platform limits: title length, description length for both X and Facebook, whether the image URL is absolute and HTTPS, and whether your handles are valid.

3

Compare the live card previews

Review the Facebook, X large-image, X summary, LinkedIn, Slack, and Discord cards. Trim your title or description until every card reads cleanly, and check the image: it is cropped to fill a 1.91:1 frame, or a square in the X summary card.

4

Copy the generated meta block

Copy the finished <meta> tag block and paste it into your page head, or feed the values into your framework metadata API. Then re-scrape the URL in each platform debugger to clear any cached preview.

Key Features

Five Platform Previews

Renders approximate Facebook, X (both card styles), LinkedIn, Slack, and Discord cards from the same set of tags so you can spot the platform that breaks

Paste and Parse Existing Tags

Drop in a page head or a loose block of meta HTML and the built-in parser loads every og: and twitter: tag it recognises straight into the form

Per-Field Validation

Pass, warn, and fail statuses for every field against current platform limits, including the different description limits used by X and Facebook

Image Rules Built In

Flags relative paths, non-HTTPS images, and missing images, and reminds you of the 1200x630 (1.91:1) recommendation that every large-image card assumes

Frequently Asked Questions

Use 1200x630 pixels, a 1.91:1 aspect ratio. That is the size Facebook, LinkedIn, and X all render cleanly for large-image cards, and it is large enough to stay sharp on high-density screens. Keep the file under about 5 MB, serve it over HTTPS at an absolute URL, and keep important text away from the edges since some surfaces crop slightly. For a compact X summary card, supply a square image of at least 144x144 instead.

Comments

0 comments

0/2000 characters

No comments yet. Be the first to share your thoughts!

open graph previewopen graph image previewfree open graph previewog image testertwitter card validatorsocial share previewog tag checkerlink preview testerfacebook share previewlinkedin post inspectorsocial card generatormeta tag preview