Open Graph Tag Generator

Enter the title, description, address and image of your page to get the meta tags that social sites read to build a link preview.

Use the tool

Loading the tool…

About Open Graph Tag Generator

Make the Open Graph tags that control how a page looks when it is shared on social media. Choose the type of page, such as website, article, product, profile, video or song, and enter the details. You can leave out the Twitter card tags.

Worked example

Choose the article type and enter a title and description. Copy the tags into the head of your page.

Limits

Platforms cache previews, so a change may not show straight away. Use the platform's own debugger to check the result.

How to use Open Graph Tag Generator

  1. Type the title and, if you like, the description, page address, image address and site name.
  2. Choose the content type and whether to add Twitter card tags.
  3. Copy the tags and paste them inside the head of your page.

Good to know

  • Use a full address for the page and the image, starting with https:// or http://.
  • A common image size is about 1200 by 630 pixels, but each platform has its own rules.
  • Platforms keep a copy of what they first saw, so a changed preview may take time to update.
  • Add a short image description for people who cannot see the image.

Frequently asked questions

Do I need both Open Graph and Twitter tags?

Many sites fall back to Open Graph tags, but the Twitter card tag chooses the card style, so add it when you want a large image.

Why does my shared link look different?

Each platform builds its own preview and may keep an older copy of your page. Check with that platform's own preview or debug tool.

Is anything I type saved or sent?

No. The work happens in your browser on this page, and nothing is stored or sent to us.