Open Graph and X Card Tag Generator
Generate Open Graph and X (Twitter) card meta tags for link previews on Facebook, LinkedIn, KakaoTalk, Slack and X, with image size checks and escaped values.
Platforms cache previews. After changing tags, refresh them with Facebook's Sharing Debugger or LinkedIn's Post Inspector.
When a link is shared on Facebook, LinkedIn, KakaoTalk, Slack, Discord or X, the preview card — title, description and image — comes from Open Graph meta tags in the page's <head>. This generator writes a complete, escaped set of og: tags (with image size and alt text and the article fields) plus the X card tags, and warns about the things that break previews: relative or http image URLs, images that are too small or the wrong shape, and missing descriptions.
How to use this tool
- Enter the title, description and canonical URL of the page.
- Add an absolute image URL — 1200 × 630 px works on every platform — and its size and description.
- Pick the og:type and, for articles, the published time and tags; add X account names if you have them.
- Paste the tags into the page's <head>, then refresh the cached preview in each platform's debugger.
Formula
<meta property="og:title|og:description|og:type|og:url|og:image" content="…"> · <meta name="twitter:card" content="summary_large_image">
Open Graph uses the property attribute; X card tags use name. X falls back to og:title, og:description and og:image when twitter: versions are missing, so only twitter:card is essential. Since March 2026 Google also lists og:image as a source for the thumbnail it shows with a result.
Example
For the sample article the generator outputs 13 tags: og:title, og:description, og:type (article), og:url, og:image with secure_url, width 1200, height 630 and alt, og:site_name, og:locale en_US, article:published_time and twitter:card summary_large_image. A title such as Tom & "Jerry" is written as Tom & "Jerry", and a relative image path like /img/share.jpg is rejected because crawlers need a full URL.
Frequently asked questions
Why does my old image still show?
Platforms cache previews for days. Re-scrape the URL in Facebook's Sharing Debugger or LinkedIn's Post Inspector; on X, the card updates after its cache expires.
What image size should I use?
1200 × 630 px (about 1.91:1) under 5 MB in JPG or PNG. X's large card is 2:1, so keep important content away from the left and right edges.
Can I preview the card here?
Not with your real image: a page cannot read images from another site to draw them. Use the Open Graph image generator to design the image, and the platform debuggers to check the live card.
Sources
Last updated:
Page address with these inputs: https://kakao.mobile/tools/open-graph-generator/
Cite or embed this tool
kakaoCalc. (2026, November 8). Open Graph and X Card Tag Generator. https://kakao.mobile/tools/open-graph-generator/
“Open Graph and X Card Tag Generator.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/open-graph-generator/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms