Generate Open Graph and Twitter Card meta tags instantly. Fill in your page details, see live previews for Facebook, Twitter, and LinkedIn, then copy the code straight into your <head>.
Open Graph (OG) meta tags are HTML <meta> tags placed in your page's <head> that control how your content appears when shared on social media platforms. They were introduced by Facebook in 2010 and are now used by Facebook, LinkedIn, WhatsApp, Slack, Discord, iMessage, and most other platforms that generate link previews.
Without Open Graph tags, social platforms have to guess your page's title, description, and image — often with poor results. With OG tags, you control exactly what people see when they share your link.
Twitter (now X) has its own set of meta tags called Twitter Cards. However, Twitter will also fall back to OG tags if Twitter Card tags are missing. Best practice is to include both — the Twitter Card tags are a small addition that ensure perfect rendering on Twitter/X even if the platform changes its fallback behaviour in future.
summary_large_image shows a large banner image; summary shows a small square thumbnail.<head> section of your HTML, before the closing </head> tag. Order doesn't matter, but convention is to put them after your <title> tag. If you're using a CMS like WordPress, use a plugin like Yoast SEO or RankMath — they handle OG tags automatically and have UI fields for each value.summary_large_image card. The minimum size is 600 × 315px — below this, Facebook will not show the image at all. Keep important content and text away from the edges, as some platforms crop the image slightly.