Generate OGP tags for social sharing. Preview for Facebook, X, LINE, and LinkedIn.
Fill in the title, description, page URL, site name, and other OGP-related information.
Check real-time previews for Facebook, X, LINE, and LinkedIn.
Copy the generated OGP tags and paste them into the '<head>' section of your HTML.
<meta property="og:type" content="website" /> <meta property="og:locale" content="ja_JP" /> <meta name="twitter:card" content="summary_large_image" />
OGP Generator is an online tool that generates Open Graph Protocol (OGP) tags to optimize how your website appears when shared on social media. It allows you to preview in real-time how your page will look on Facebook, X (Twitter), LINE, and LinkedIn. See exactly how your content will appear before publishing.
OGP is a protocol developed by Facebook that specifies what information to display when a page is shared on social media. When og:title, og:description, og:image, etc. are set, that information is displayed when shared.
Facebook uses OGP tags directly, while X (Twitter) uses Twitter Card tags. This tool lets you set and preview both separately. When Twitter Card is not set, X falls back to OGP tags.
Facebook and LINE recommend 1200x630px, X recommends 1200x600px for summary_large_image. Using 1200x630px as a common size works well across all platforms.
Each platform caches OGP information. Use Facebook's Sharing Debugger or X's Card Validator to clear the cache. Also, verify that your OGP image URL is publicly accessible.
'website' is for top pages and portal sites, 'article' is for blog posts and news articles. Most pages should use 'website' unless they are clearly articles.