OG Tags

Generate Open Graph and Twitter Card <meta> tags for any web page. Fill in the fields, preview how the link will appear when shared, and copy the tag block.

What are Open Graph tags?

Open Graph (OG) tags are <meta> tags in your HTML <head> that control how a page appears when shared on social platforms — the title, image, and description shown in link previews on Twitter/X, LinkedIn, Slack, iMessage, and more.

Fields

FieldTagNotes
Titleog:title, twitter:titleKeep under 60 characters
Descriptionog:description, twitter:descriptionKeep under 160 characters
Image URLog:image, twitter:imageRecommended size: 1200×630px
Page URLog:urlCanonical URL of the page
Site Nameog:site_nameYour brand or site name
Twitter @handletwitter:siteInclude the @ prefix
OG Typeog:typewebsite for most pages
Twitter Cardtwitter:cardsummary_large_image shows a big image

Pasting into your HTML

Place the generated tags inside the <head> of your HTML:

<head>
  <meta property="og:title" content="My Page" />
  <meta property="og:description" content="..." />
  ...
</head>

In Next.js App Router, use the metadata export instead of raw tags.