Open Graph Preview

See exactly how your link will look when shared on social media. Edit your tags and preview in real time.

Open Graph Tags

Recommended: 1200 x 630 pixels for best display across all platforms.

Live Preview

Facebook

No image set

example.com

Page Title

Page description will appear here.

Twitter / X

No image set

Page Title

Page description will appear here.

example.com

LinkedIn

No image set

Page Title

example.com

Discord

Page Title

Page description will appear here.

No image set

What Are Open Graph Tags?

Open Graph (OG) meta tags are snippets of HTML code that control how your web pages appear when shared on social media platforms like Facebook, Twitter/X, LinkedIn, and Discord. They determine the title, description, and image that display in the link preview card.

Without Open Graph tags, social platforms try to guess what to show — often resulting in missing images, truncated titles, or irrelevant descriptions. By setting these tags explicitly, you control the first impression your content makes when someone shares it.

Why Open Graph Tags Matter

Links with well-configured Open Graph tags get significantly more clicks than those without. A compelling image, clear title, and concise description act as a mini advertisement for your content. Studies show that social posts with rich previews receive up to 2-3x more engagement than plain links.

Essential Open Graph Tags

  • og:title — The title of your page as it should appear in the preview. Keep it under 60 characters for best display.
  • og:description — A brief summary of the page content. Aim for 155 characters or fewer.
  • og:image — The preview image URL. Use 1200 x 630 pixels for optimal display across all platforms.
  • og:url — The canonical URL of the page.
  • og:type — The type of content (website, article, or product).
  • og:site_name — The name of your overall website or brand.

Twitter Card Tags

Twitter uses its own set of meta tags (twitter:card, twitter:title, etc.) but will fall back to Open Graph tags if Twitter-specific tags are not present. The twitter:card tag determines the card format: summary shows a small square image, while summary_large_image displays a wide banner image above the text.

Best Practices

  • Always include an image. Posts with images get 2-3x more engagement. Use 1200x630 px for maximum compatibility.
  • Keep titles concise. Under 60 characters ensures the full title displays without truncation.
  • Write compelling descriptions. Treat them like ad copy — make people want to click.
  • Test before sharing. Use platform debuggers (Facebook Sharing Debugger, Twitter Card Validator) to verify how your tags render.
  • Use absolute URLs. Always provide full URLs including https:// for images and canonical links.
  • Update cached previews. Platforms cache Open Graph data. After changing tags, use the platform debugger to refresh the cache.

How Each Platform Uses Open Graph

Facebook reads og:title, og:description, og:image, and og:url to build link preview cards. Images should be at least 600x315 px, but 1200x630 px is recommended.

Twitter/X prefers its own twitter: tags but falls back to OG tags. The twitter:card type controls whether the preview is compact (summary) or wide (summary_large_image).

LinkedIn uses OG tags to generate article previews. It supports og:title, og:description, og:image, and og:url. LinkedIn caches previews aggressively — use the Post Inspector tool to refresh.

Discord renders rich embeds using OG tags, including a colored sidebar, site name, title, description, and image. Discord also supports oEmbed for richer previews from supported providers.