OpenGraph Viewer

Open Graph Meta Tag Generator

Fill in the fields and copy the tags. You get the Open Graph and Twitter Card meta tags for your page, with a live preview of the card on Facebook, X and LinkedIn as you type.

Generate Open Graph Meta Tags

Nothing is uploaded. The tags are built in your browser as you type.

Your meta tags

<meta property="og:type" content="website" />

<meta name="twitter:card" content="summary_large_image" />

Preview

Facebook Preview

No image available

example.com

Your Page Title

Your description shows up here.

X (Twitter) Preview

summary_large_image
No image available

Your Page Title

Your description shows up here.

🔗 example.com

LinkedIn Preview

No image available

Your Page Title

example.com

How to Use the Generator

  1. Type the title and description you want on the card.
  2. Paste the page's URL and the full URL of your preview image.
  3. Check the previews. They update as you type.
  4. Click copy and paste the tags inside the <head> of your page.
  5. Deploy, then run the live page through the Open Graph checker to make sure the tags made it.

Where to Put the Tags

The tags go inside <head>, and they have to be in the HTML your server sends. Crawlers don't run JavaScript, so tags added in the browser are invisible to them.

  • Plain HTML: paste them into the <head> of each page.
  • WordPress: an SEO plugin such as Yoast or Rank Math writes these tags for you. Don't add a second set by hand.
  • Next.js: use the metadata export instead of raw tags. There's a copy-paste version in the Open Graph examples.
  • Shopify, Webflow, Squarespace, Wix: set the social image and description in the page's SEO settings.

What Each Field Does

FieldTagTip
Titleog:titleUnder 60 characters. Leave your site name out.
Descriptionog:descriptionOne or two sentences. X cuts it at 200 characters.
Page URLog:urlThe clean canonical address, without tracking parameters.
Image URLog:image1200x630 pixels, JPG or PNG, full https:// address.
Site nameog:site_nameYour brand, the way you'd write it.
Typeog:typeUse article for blog posts and website for everything else.
Card typetwitter:cardsummary_large_image shows the big image on X.

Frequently Asked Questions

Do I need both Open Graph and Twitter Card tags?

You need the Open Graph tags plus one Twitter tag: twitter:card. X reads og:title, og:description and og:image when the twitter: versions are missing, so the generator only adds the ones that matter.

What image size should I use?

1200x630 pixels. It's a 1.91:1 ratio and works on Facebook, X, LinkedIn, WhatsApp, Slack and Discord. Use JPG or PNG and keep the file under 1 MB.

Does the generator host my image?

No. Upload the image to your own site first, then paste its full https:// URL into the image field.

How do I test the tags after adding them?

Publish the page, then paste its URL into the Open Graph checker on the homepage. It fetches the live page and shows the preview each platform will build.

Last checked Nov 30, 2026.