Open Graph Tag Generator
Generate Open Graph and Twitter card meta tags.
When you share a link on Facebook, LinkedIn, Slack, KakaoTalk or X (Twitter), the platform reads the Open Graph (og:) and Twitter Card (twitter:) meta tags inside your page's <head> to build the preview card — title, description and thumbnail. Without these tags the title and image may be guessed incorrectly, or the card may render empty.
This generator turns a few fields — title, description, URL, image and more — into a ready-to-paste block of meta tags. Everything runs in your browser and nothing you type is sent to a server. After adding the tags to your page's <head>, verify the result with each platform's official debugger.
<meta property="og:type" content="website" /> <meta name="twitter:card" content="summary_large_image" />
What each tag does
A social preview is usually built from these fields. Empty values are omitted from the output automatically.
- og:title — the bold headline on the card. Keep it under ~50-60 characters to avoid truncation.
- og:description — the supporting line below the title. Around 110 characters works well.
- og:url — the canonical, absolute URL of the content being shared.
- og:image — the absolute URL of the thumbnail; it largely decides preview quality.
- og:type — the page type. Use
websitefor generic pages,articlefor posts/news. - og:site_name — the name of your site or brand.
- twitter:card — the X card shape:
summary_large_imagefor a big image,summaryfor a small thumbnail.
Recommended image: 1200×630
Most platforms render large cards at a 1.91:1 aspect ratio. The standard recommended size is 1200×630, and you generally need at least 600×315 to qualify for a large card. Use an absolute image URL (starting with https://) and keep files under ~5MB as JPG or PNG. If you place text in the image, keep it centered because the edges can be cropped.
Cache busting: scrapers remember the old result
Social platform scrapers cache the metadata they fetch for several days, so editing your tags often leaves the preview looking unchanged. When that happens, force a re-fetch with each platform's official debugger.
- Facebook: paste the URL into the Sharing Debugger and click "Scrape Again".
- X (Twitter): re-check the URL in the Card Validator.
- LinkedIn: clear the cache with the Post Inspector.
- KakaoTalk: caching is slow, so appending a query like
?v=2to create a fresh URL is a common workaround.
After adding the tags, check how the live share card looks with the Open Graph preview. Title and description length also affect search snippets, so review your meta description length too.