LocalExcelTool
Get started

OG Tag Checker

Detect missing Open Graph tags and og:url vs canonical mismatches.

Runs in your browserNo account neededFree

What is OG Tag Checker

An Open Graph tag checker verifies the six required og: properties (title, description, url, image, type, site_name) and that og:url matches the canonical URL. Frameworks like Next.js merge metadata shallowly, so page-level overrides can silently drop site_name or point og:url at the wrong page. Paste the rendered HTML.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Four tags carry almost all the value

og:title, og:description, og:image and og:url determine the card in every major chat app and social network. og:type is required by the specification and rarely changes rendering. Without og:image, the preview is a bare text link, which measurably reduces clicks.

The image should be an absolute URL. Relative paths work on the page itself and fail in previews, because the crawler that builds the card is not necessarily resolving relative to the same base — this is the most common reason an image that displays on the page does not appear in a share card.

Sizes, formats and the caching problem

1200×630 is the widely supported ratio (1.91:1) and is what large-image cards expect. Smaller images are often shown as a thumbnail instead of a full-width card; images above about 8 MB or 3000px are rejected by some platforms. PNG or JPEG only — WebP and AVIF support is inconsistent across the crawlers that build these cards.

The larger practical issue is caching. Platforms cache the card for days and re-fetch on their own schedule, so a corrected og:image can take a long time to appear. Most debuggers offer a re-scrape, and using a versioned filename is the reliable way to force a refresh.

Twitter/X and the fallbacks

X reads twitter:card, twitter:title, twitter:image when present and falls back to the og equivalents otherwise. twitter:card=summary_large_image is what produces the wide layout; without it the image renders as a small square beside the text.

Both families should agree. A page whose og:image and twitter:image differ will show one card in Slack and another in X, which is fine if deliberate and confusing when it is a leftover from an older template.

How to use it

  1. 1.Paste the <head> or OG tags
  2. 2.Click Check
  3. 3.Review missing tags

How OG Tag Checker works under the hood

Developer tools here are deterministic byte and string transformations. The useful question is not whether they are fast, but whether the output can be verified against a reference.

  1. 1

    Encode the input

    Text is converted to UTF-8 bytes with TextEncoder; binary input is read as an ArrayBuffer.

  2. 2

    Apply the primitive

    Hashing and HMAC use Web Crypto (SHA-1/256/384/512); encoding, escaping and formatting are pure functions over the bytes or string.

  3. 3

    Format the output

    The result is rendered as lowercase hex, Base64, or the target syntax, with the exact same rules the specification defines.

  4. 4

    Compare and copy

    Output stays on the page so you can diff it against a reference implementation before using it.

  5. Processing pipeline

Hashing is not encryption

A SHA-256 digest is one-way: there is no key and no way back. It proves that two inputs are identical (or not), which is what integrity checks need. It does not hide a password — for that you need a slow, salted KDF such as Argon2id, which this site uses for account passwords.

What runs where

Every transformation in this category runs in the tab. No key, token or payload is sent to us; the site cannot see what you hashed or decoded. That also means there is no server-side undo — if you close the tab, the input is gone.

Limits worth knowing

JWT decoding shows the header and payload; it does not validate the signature unless you supply the key, and it never proves the issuer is trustworthy. Regex-based tools can degrade badly on pathological input, so input size is capped. Very large payloads are also capped to keep the tab responsive.

Verify it yourself

Compare the output against a reference before you ship it.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

What does it check?

Presence of the six required OG properties, that og:url matches the canonical, and (optionally) that og:image exists.

Why must og:url match the canonical?

A mismatch makes the shared URL ambiguous and crawlers may treat it as a different page.

Is my input uploaded?

No. Everything runs locally in your browser.

What this kind of conversion cannot keep

Developer tools here check what breaks silently: a missing canonical, a description over the length search engines display, a sitemap that returns 200 but lists dead URLs. Each result links to the exact line or URL, because a warning you cannot act on is noise.

More in Developer