Open Graph Checker

Check and preview the Open Graph tags of any URL before you share it. Paste a page address to see approximate previews for X, LinkedIn, Facebook, Slack and Discord, find missing tags, and get copy-paste fixes. You can also paste HTML to test a page still on localhost.

Free · No login required

What this Open Graph checker tests

The checker reads the HTML returned for a page and finds sharing tags in its <head>. Enter a public URL to check the deployed page, or paste its source HTML while the project is still on localhost. It builds approximate previews for X, LinkedIn, Facebook, Slack and Discord; each platform can render or cache a different result.

Core tags include og:title for the headline, og:description for the summary, og:image for the thumbnail, og:url for the canonical address and og:type for the kind of page. The twitter:card tag selects an X card layout; twitter:title, twitter:description and twitter:image can override OG values for X. Missing tags may cause a service to choose its own fallback.

For each supplied image, the tool downloads the file and measures its real width, height, aspect ratio and byte size. It also reports whether the file is reachable. Checks show passed, warning or missing/failed states. A warning can flag content that may be cropped or truncated, or a live-page check that remains pending. Length and size suggestions are guidance rather than universal platform rules. The generated fixes are starting points to review, not automatic edits to your site.

Why your OG image is not showing

If the tags exist but the card is empty or out of date, check these common causes in order:

  1. An old preview is cached. A platform may keep a previous card after you change the page. Verify the live HTML and image first, then use that platform's inspection or refresh tool if one is available. This checker cannot clear another service's cache.
  2. The image path is relative. Use a full, public URL such as https://example.com/images/cover.png instead of /images/cover.png. HTTPS is the safest choice for public sharing.
  3. Access is blocked. A login wall, hotlink protection, a bot challenge or robots rules can stop a crawler. Open the image in a private browser window and check access rules for both the page and the image host.
  4. The file is unsuitable. JPEG or PNG are dependable starting formats. Compress a large file; this checker has a 5 MB image-fetch limit. Format and size support can differ by platform.
  5. Tags arrive too late. Put metadata in the server-rendered <head>. Tags added only by browser JavaScript may not appear in the HTML a sharing service reads.
  6. Tags are duplicated. A theme, plugin or framework may emit another og:image. The Open Graph protocol gives the first value preference when values conflict, so inspect the returned HTML and remove unintended duplicates.
  7. The URL redirects. Check the final page after redirects and set og:url to the canonical public address. Different services can handle redirect and cache histories differently.

Recommended og:image size

A 1200 × 630 pixel canvas at roughly 1.91:1 is a practical starting point for a wide link preview. It is a design recommendation, not a dimension required by the Open Graph protocol. The same artwork can be reviewed for all five previews here, but each service may crop or display it differently.

PlatformStarting canvasReview
Facebook1200 × 630 pxWide link preview
LinkedIn1200 × 630 pxFeed crop
X large image card1200 × 630 pxCard layout and crop
Slack1200 × 630 pxWorkspace preview
Discord1200 × 630 pxEmbed crop

Keep your logo and essential words comfortably inside the edges. A compact JPEG or PNG is easier to deliver reliably; aim for under 1 MB when you can without making text blurry. If an X summary card needs a square thumbnail, provide a separate twitter:image and check that crop too.

How to fix Open Graph tags by framework

For static HTML, add one set of tags inside <head>. Replace the example title, description, canonical URL and image with values for this page:

<meta property="og:title" content="Your page title">
<meta property="og:description" content="A short page summary.">
<meta property="og:image" content="https://example.com/og.png">
<meta property="og:url" content="https://example.com/page">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">

In Next.js App Router, export metadata from a page or layout. Next.js writes it into the server-rendered head. Use real strings and an image that exists at the public URL:

export const metadata = {
  title: "Your page title",
  description: "A short page summary.",
  openGraph: {
    title: "Your page title",
    description: "A short page summary.",
    url: "https://example.com/page",
    type: "website",
    images: [{ url: "https://example.com/og.png", width: 1200, height: 630 }],
  },
  twitter: { card: "summary_large_image" },
}

In WordPress, set the social image and text in the SEO plugin that already manages your metadata, such as Yoast or Rank Math. If a theme or another plugin also emits OG tags, disable the duplicate source. After any fix, deploy, inspect the returned HTML and run the URL check again.

How to test Open Graph tags on localhost

Social crawlers cannot reach localhost on your computer. Before deployment, view the source HTML returned by your local server and paste it into the Paste HTML tab above. This checks the tags without requiring a public page. Remove secrets or private content before pasting; the source is sent to this checker for analysis.

You can also expose a development page through a tunnel or test a staging URL, then run the URL check. Keep staging addresses out of the final og:url. Local images remain unverified here unless they have public URLs. Pasted HTML proves only what you supplied, not what a deployed server returns or what a platform has cached. After launch, switch to Website URL, verify the real page and review the previews again.

Frequently Asked Questions

How do I check my Open Graph image?
Paste the public page URL into the checker above. It fetches the image and reports its actual dimensions, file size and accessibility. This does not guarantee that every social crawler can fetch or display it.
What size should my Open Graph image be?
Start with a 1200 × 630 pixel image at about 1.91:1. Keep the file small and important text away from the edges, then review the approximate previews for the platforms you use.
How do I test Open Graph tags on localhost?
Copy the HTML source of your local page into Paste HTML. The checker can read its tags, but it cannot verify a private page or local image. After deployment, run the URL check as well.
Is Open Graph free to use?
Yes. Open Graph tags are free to add to your HTML. This checker is free and does not require an account; short-term request limits keep it available for everyone.
Why does X show an old image?
X may be showing a cached card, or your page or image CDN may still serve the old file. Check the live HTML and image first. This checker cannot clear X's cache, so review a new share after the update is live.
What's the difference between Open Graph tags and Twitter Cards?
Open Graph describes a page for services that use OG metadata. Twitter Card tags add X-specific choices, such as the card layout and an alternate image. This checker uses Twitter overrides for the X preview and OG values for the other previews.

Free Tools

More tools for this stage

Next step

All checks passing? Introduce your product to makers and early users on LaunchVault.

Submit your product to LaunchVault →

Implementation references: Open Graph protocol, Next.js metadata, and WordPress wp_head.