Open Graph Meta Tags: Setup & SNS Link Preview Guide

Contents
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, andog:urlare required by every messenger and social preview card. ② Absolute paths only: If you put a relative path like/images/og.jpginog:image, the social scrapers can't read the image. Always use a full URL that includeshttps://. ③ 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 (usewebsitefor a general site,articlefor 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 setsummary_large_imageso 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:imageandog:url, always enter the complete absolute path, including the protocol and domain, likehttps://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.
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 / Messenger | Recommended image resolution | Aspect ratio | Max file size | Notes |
|---|---|---|---|---|
| KakaoTalk | 1200 × 630px (minimum 800×400px) | 1.91 : 1 or 2 : 1 | Under 5MB | Title truncates automatically after 2 lines |
| 1200 × 630px (minimum 600×315px) | 1.91 : 1 | Under 8MB | Large thumbnail at full feed width | |
| Twitter (X) | 1200 × 628px | 1.91 : 1 | Under 5MB | summary_large_image card spec |
| Slack / Discord | 1200 × 630px | 1.91 : 1 | Under 5MB | Auto-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.
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