Open Graph Meta Tags: Setup & SNS Link Preview Guide

PublishedToolOpen Graph Meta Tag Generator: Preview & Build OG Tags for Any Link

Contents
  1. What Is the Open Graph (OG) Protocol? How It Works and Crawlers
  2. The 8 Essential Open Graph and Twitter Card Tags
  3. 3 Things to Check When Your Thumbnail Doesn't Show Up
  4. Open Graph Spec Cheat Sheet by Major Social Platform
  5. Wrapping Up
  6. Frequently Asked Questions

When you paste a website or blog link into a KakaoTalk chat, Slack, Facebook, or Twitter (X), the clean preview card with a thumbnail image, title, and short summary shows up because of the Open Graph (OG) meta tags defined in your HTML <head>.

Quick summary ① The four core tags: og:title, og:description, og:image, and og:url are required by every messenger and social preview card. ② Absolute paths only: If you put a relative path like /images/og.jpg in og:image, the social scrapers can't read the image. Always use a full URL that includes https://. ③ Recommended size: The image spec that fits KakaoTalk chat bubbles, Facebook, and large Twitter cards best is 1200 × 630px (1.91:1 ratio).

What Is the Open Graph (OG) Protocol? How It Works and Crawlers

Facebook first proposed the Open Graph protocol in 2010 as a standard (ogp.me) for representing web pages as objects in the social graph.

When a user enters a link URL in a messenger or social app, that platform's scraper bot (Kakao's kakaotalk-scrap, Facebook's facebookexternalhit, the Twitter bot, and so on) requests the web server, reads the <meta property="og:..." > tags in the <head> section of the HTML document, and assembles them into a visual card.

Regular SEO tags (<title>, <meta name="description">) exist for Google and Naver search result lists. Open Graph tags are social-only metadata built to maximize click-through rate (CTR) and trust when your page is shared in chats and feeds.

The 8 Essential Open Graph and Twitter Card Tags

This is the standard meta tag set that should be in the <head> of every page on your site.

<!-- Basic Open Graph (KakaoTalk, Facebook, Slack, Instagram) -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com/page">
<meta property="og:title" content="페이지 대표 제목">
<meta property="og:description" content="대화방에 노출될 1~2줄 요약 설명 문구">
<meta property="og:image" content="https://example.com/images/og-image.jpg">
<meta property="og:site_name" content="브랜드 또는 서비스명">

<!-- Twitter-only card (Twitter / X) -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="페이지 대표 제목">
<meta name="twitter:description" content="대화방에 노출될 1~2줄 요약 설명 문구">
<meta name="twitter:image" content="https://example.com/images/og-image.jpg">
  • og:type: The nature of the page (use website for a general site, article for a blog post or news story).
  • og:url: The canonical URL, with no parameters or session IDs mixed in.
  • og:image: The URL of a 1.91:1 thumbnail image that catches the eye.
  • twitter:card: You have to set summary_large_image so the card renders as a large card with the image spread wide across the top.

3 Things to Check When Your Thumbnail Doesn't Show Up

Here are the three most common reasons the image shows up blank or an old image keeps appearing on KakaoTalk or social apps even after you add the meta tags, plus how to fix each one.

1. You're using a relative path (/images/og.jpg)

Relative paths work inside the HTML document, but a social scraper pulling the document from the outside doesn't know your base domain, so it can't download the image.

  • Fix: For og:image and og:url, always enter the complete absolute path, including the protocol and domain, like https://www.example.com/images/og.jpg.

2. The platform's scrape cache hasn't refreshed

Once a URL has been shared to KakaoTalk or Facebook, that platform's servers cache it for anywhere from a few days to a few weeks. So editing your website code doesn't change anything right away.

  • Fix: Enter the URL in the Kakao Developers "KakaoTalk Share Cache Reset" tool or Meta's "Facebook Sharing Debugger" and click the "Scrape Again" button to clear the cache. That pushes the latest meta tags through immediately.

3. Image file format and size limits

For security and rendering reasons, KakaoTalk and most social scrapers refuse to parse SVG vector files.

  • Fix: Use JPG, PNG, or WebP whenever you can, and compress the file to under 5MB (under 1MB is recommended) so crawlers can grab it fast without timing out.

To generate Open Graph meta tags from your title, description, and thumbnail URL, and to see a KakaoTalk share card preview in real time, try our free tool: Open Graph Meta Tag Generator: Preview & Build OG Tags for Any Link.

Open Graph Meta Tag Generator: Preview & Build OG Tags for Any Link

Free · Generate Open Graph and Twitter Card meta tags and preview your social card live

Open Graph Spec Cheat Sheet by Major Social Platform

Platform / MessengerRecommended image resolutionAspect ratioMax file sizeNotes
KakaoTalk1200 × 630px (minimum 800×400px)1.91 : 1 or 2 : 1Under 5MBTitle truncates automatically after 2 lines
Facebook1200 × 630px (minimum 600×315px)1.91 : 1Under 8MBLarge thumbnail at full feed width
Twitter (X)1200 × 628px1.91 : 1Under 5MBsummary_large_image card spec
Slack / Discord1200 × 630px1.91 : 1Under 5MBAuto-embeds below the message in the chat

Wrapping Up

Open Graph meta tags are the spec that shapes your website's first impression in messengers and social feeds.

Always use an absolute path with https:// for og:image, and stick to the 1200 × 630px spec so your card shows up sharp and unbroken. After you change your meta tags, it's safest to refresh the cache with each platform's debugger tool.

Open Graph Meta Tag Generator: Preview & Build OG Tags for Any Link

Free · Generate Open Graph and Twitter Card meta tags and preview your social card live

Frequently Asked Questions

Can I use an SVG vector image for og:image?

We don't recommend it. Scrapers on major social platforms like KakaoTalk, Facebook, and Twitter can't convert SVG files into thumbnails — because of security protections (XSS and similar) and limits in their image rendering engines — so they show a blank space instead. Always use a raster image in JPG, PNG, or WebP format.

Can the <meta name="description"> for search and the og:description be different?

Yes, and writing them differently actually works better. Write the search description around key keywords and a summary of the information so Google searchers will click it, and make the OG description different — a conversational or call-to-action line that sparks interest when it's passed to a friend or coworker in a KakaoTalk chat.

How do I declare OG meta tags in the Next.js App Router?

In the Next.js 13+ App Router, you can export a export const metadata: Metadata = { openGraph: { ... } } object from each page.tsx or layout.tsx, or you can have an app/opengraph-image.tsx file automatically generate a 1200×630px dynamic image server-side (ImageResponse).

I fixed my meta tags, but KakaoTalk keeps showing the old image. Why?

Because the KakaoTalk scraper bot has already saved the information for that URL in its own server cache. Go to [Tools] → [KakaoTalk Share Reset] in the Kakao Developers Center, enter the URL, and click "Reset" — the cache is cleared and the latest image applies right away.


The Open Graph and Twitter Cards specs described in this guide are compiled from the official ogp.me standard and each social platform's official developer guides. The exact preview format may vary depending on version updates or each messenger app's own rendering policy.

This article was adapted from our Korean original. Read the Korean original

Related articles

  1. NATO Phonetic Alphabet Chart: A=Alpha Through NumbersFull NATO phonetic alphabet mapping from A=Alpha to Z=Zulu, plus how to read numbers 0-9. Use the chart or convert any spelling in one step.
  2. TCP/UDP port numbers: common ports and security checksWhat the well-known and registered port ranges are, and what common TCP/UDP ports like 80, 443, 22, 3306, and 8080 do and how to secure them.
  3. px to rem Calculator: Check the Formula by HandSee exactly how px converts to rem, em, %, and pt, and why the same number renders differently when rem uses the root and em uses the parent.
  4. Query String Array Parameters: Why Languages Parse Them DifferentlySame-key query parameters like tag=a&tag=b aren't arrays in URLs. See how browsers and frameworks read them, and how to check which rule a server uses.
  5. Regex Replace With $1 and $&: What Each One SubstitutesSee exactly what $1, $2, and $& turn into in regex find and replace, why $ stays literal with regex mode off, and what the replacement count tallies.
  6. Regex Special Characters and Flags: Check Matches Without CodeSee what ^, $, ., and * mean, how the g, i, m, s, u, and y flags work, and check match counts and capture groups without writing code.

Related tools