Toolzweb
Guide

How to Create Open Graph Tags So Your Links Look Good When Shared

When someone shares your link, social networks and chat apps show a title, a description and an image. Open Graph tags let you choose what they show, instead of leaving it to chance.

What Open Graph tags are

They tell social networks and chat apps which title, description and image to show when someone shares your link. Without them, platforms guess, and often show nothing useful.

How to create them

  1. Open the Open Graph Preview Generator and enter your page address, a title, a description and an image address.
  2. Check how the link will look on Facebook, LinkedIn, X and WhatsApp.
  3. Copy the tags and paste them in the head of your page. In WordPress, an SEO plugin usually does this for you.

Tips

If the preview does not update

Platforms save the image and text for a while. After you change a page, use each platform’s sharing debugger to refresh its preview.

Preview your shared link

Free, with no sign-up.

Open the Open Graph Generator

Frequently asked questions

Why is my image not showing in the preview?

The image address must be a public link to a picture. If the site hosting it blocks other sites, the preview shows a gray box.

What image size should I use?

About 1200 × 630 pixels works well for Facebook, LinkedIn, X and WhatsApp.

Where do the tags go?

Inside the head section of your page. In WordPress, an SEO plugin usually does this for you.

More guides