MISTOOLS

Open Graph Tag Generator

Generate Open Graph and Twitter card tags and see a live share preview.

How it works

  1. Fill in the title, description, URL and image.
  2. Choose the page type and card style.
  3. Copy the meta tags into the head of your page.

About this tool

Open Graph tags control how a link looks when it is shared on Facebook, LinkedIn, WhatsApp and many other apps. X (Twitter) uses its own card tags. A good title, a short description and a sharp image make people more likely to click.

This tool builds all the tags you need and shows a simple preview. An image of 1200 by 630 pixels works best. Use full web addresses for the page and the image, and clear social caches (for example with the Facebook Sharing Debugger) after you change a page.

Questions

What size should the Open Graph image be?

1200 by 630 pixels (about 1.91 to 1 ratio) is the common standard.

Do I need both Open Graph and Twitter tags?

X can fall back to Open Graph tags, but adding twitter:card makes sure the large image card is used.

Why does my old preview still show?

Social sites cache previews. Use their debugger tools to refresh the cache.

More tools

More free SEO tools