跳到正文
  1. Blog
  2. Files

FilesWebIndie DevMetadata

Favicon vs. OGP Image: Exact Names, Sizes, and HTML Tags Every New Website Needs

Confused about what to call the tiny browser tab icon versus the large social share preview card? Exact dimensions, formats, and HTML head tags for favicons (16/32/180/512px) and OGP images (1200×630px).

Written by the site’s operator1 min read

Right before launching a personal website or web app, two image assets always trip people up: the tiny square icon in the browser tab and the wide preview card that expands when you paste a link into X, Discord, or Slack.

When publishing your first site or web tool, two distinct image assets control how your pages look outside the viewport itself: the tiny square Favicon beside the browser tab title, and the wide OGP Image (og:image) shown whenever someone pastes your URL into social media or chat apps.

1. The browser tab icon: Favicon

The square icon displayed in browser tabs, bookmarks, and Google Search results is called a Favicon (Favorite Icon).

  • Recommended sizes: Ship a multi-resolution favicon.ico (16×16, 32×32, 48×48), apple-touch-icon.png (180×180) for iOS home screens, and 192×192 + 512×512 PNGs for Android/PWA manifests.
  • Design rule: At 16px wide, thin strokes and small words turn into unreadable blur. Stick to one bold geometric mark or 1–2 initials with clear contrast.

2. The social link preview card: OGP Image

The wide banner shown when pasting a URL into X (Twitter), Discord, Slack, or Facebook is the OGP (Open Graph Protocol) image.

  • Standard dimensions: 1200 × 630 px (aspect ratio ~1.91:1) in PNG, JPG, or WebP renders cleanly across nearly every social platform without awkward cropping.
  • Always use an absolute URL: Specify https://example.com/ogp.png in <meta property="og:image" ... /> — external social crawlers frequently fail on relative /ogp.png paths.
Code
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta property="og:image" content="https://example.com/ogp.png" />
<meta name="twitter:card" content="summary_large_image" />

You can generate the full multi-resolution ICO, iOS, and PWA icon pack locally in one click with our Favicon & App Icon Generator, and size your 1200×630 OGP banner cleanly with the OGP preset in our Image Resizer.

Tools for this article

Share this article
Share on X

Read next

Files

“Can you make this image smaller?” — smaller how?

Dimensions, file size and quality are three different things. Which one you move changes the work entirely. Here is how to pick, and how to do each.

#Images#Files
Files

個人開発のAndroidアプリをGoogle Playストアに出す流れと、避けられない「クローズドテスト」の壁

個人でAndroidアプリを作ってGoogle Play Consoleから公開するとき、初回登録料25ドルと本人確認に加えて待ち構えているのが 「12人以上のテスターによる14日間連続のクローズドテスト」という条件です。申請までの全体手順と詰まりやすいポイントをまとめました。

#Android#個人開発
Network

再起動するとNASのドライブが切れる、エラー1219が出る。Windowsのネットワークドライブの困りごとと SMB Linker

Windowsの再起動後にNASのネットワークドライブに赤いバツが付く、スリープ復帰で切れる、正しいパスワードなのにエラー1219が出る。 よくある3つの原因と、確かめるコマンド、接続を待ってからつなぎ直す無料ツール「SMB Linker for Windows」の紹介。

#自宅サーバー#NAS
Other

日本語入力にもローカルAIを。前の文を読んで変換する無料IME「Asteria」

前の文の流れをAIが読んで変換候補を選ぶ、Windows向けの無料の日本語IME「Asteria」の紹介。AIは自分のPCの中で動き、 APIキーも月額料金も要らず、入力した文章を外へ送らない。Google日本語入力との比較、仕組み、必要なPC環境まで。

#ソフトウェア#ローカルAI
PC & Local AI

月100円VPNの現実と、iOSショートカット「Brave終了時にVPN切断」の限界

月額100円級の格安VPNのリスクを整理したうえで、iPhoneのショートカットでBrave起動時にVPN接続・終了時に切断しつつ、OS制約で常駐監視できない部分を通知で補う設計。

#VPN#iOS
Files

W3C WebCodecs (Nov 2026 Draft) and the Codec Registry: Where Browser-Only Audio & Video Conversion Hits Its Limits

How the November 19, 2026 W3C WebCodecs Working Draft separates core APIs from the Codec Registry (Opus, AAC mp4a.40.2, Linear PCM) — and why muxing and AudioSpecificConfig still make local conversion tricky.

#Web Standards#WebCodecs

All articles