LocalExcelTool
はじめる

OGタグ検査

Open Graph 6項目の欠落と og:url ⇔ canonical の不一致を検出。

OGタグ検査とは

OGタグ検査とは、Open Graphメタタグ(og:title・og:description・og:url・og:image・og:type・og:site_name)の欠落や、og:urlとcanonical URLの不一致を検出するツールです。Next.jsなどのフレームワークはmetadataを浅くマージするため、ページ単位の上書きでsite_nameやog:urlが意図せず落ちることがあります。レンダリング後のHTMLを貼って検査します。

🔒 処理はすべてブラウザ内で完結し、データは送信されません。

このツールの前提

処理場所
このページのブラウザ内(JavaScript / Canvas)
アップロード
なし — ファイルは端末の外に出ません
オフライン
ページを開いた後は通信不要

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.

使い方

  1. 1.<head>またはOGメタタグを貼り付け
  2. 2.「検査する」をクリック
  3. 3.欠落タグを確認

他の方法との比較

同じ変換をする方法は 3 つあります。ブラウザ内(このページ)、サーバー側の変換サービス、デスクトップアプリ。差がつくのは速度ではなく、ファイルがどこへ行くかと、無料でどこまでできるかです。

観点このツールサーバー側の変換サービス
ファイルの処理場所このページのブラウザ内ベンダーのサーバー(アップロード後)
アカウント不要多くの場合必要(無料枠の制限解除に登録を求める)
無料で扱えるサイズサイズ制限なし(回数制限もなし)数ファイル/時間、または 5〜10MB 程度で課金 wall
料金無料。Pro は月 $9(大きいファイルと AI 機能のみ)サブスクが一般的。おおむね月 $7〜15(2026 年 11 月時点)
オフライン一度開けば通信不要不可
20MB を処理し始めるまで待ち時間なし(アップロードが無い)アップロードが支配的(10Mbps 上りで約 16 秒)
保証できないこと検査は保存済みのスナップショットではなく、現在の応答に対して行います同じ(変換の原理は変わらない)

サーバー側のサービスが優れている点は明確にあります。巨大なファイル、チームでの共有、変換履歴の管理、スクリプトからの自動化。逆に「1 回だけ、手元のファイルを別形式にしたい」という今回の用途では、アップロードの待ち時間と登録の手間だけが増えます。

よくある質問

何を検査しますか?

OG必須6項目の存在、og:urlとcanonicalの一致、(指定した場合)og:imageの存在を検査します。

なぜog:urlとcanonicalの一致が必要?

一致しないとSNSシェア時の正規URLが曖昧になり、クローラが別ページと判断する可能性があります。

入力内容は送信されますか?

いいえ。すべてブラウザ内で判定されます。

この変換で失われるもの

開発者向けツールは「静かに壊れるもの」を点検します。canonical の欠落、検索結果で切れる長さを超えた description、200 を返すが死んだ URL を載せた sitemap。各結果は該当行や URL を指します。行動できない警告は雑音だからです。

その他の開発・ネットワーク