Cosmic Hub

Open Graph Tags: Make Shared Links Look Good on Social Media

Updated · 5 min read · By Alpha Ross, multimedia creator & website builder

Open Graph Tags: Make Shared Links Look Good on Social Media

Open Graph tags are small snippets in a page's header that tell social networks and messengers which title, image and description to show when someone shares the link. The four basics are title, image, address and type, with description and site name as useful extras. They cost nothing and make a shared link far more likely to be noticed.

What Open Graph is

Open Graph is a standard that began at a social network to describe web pages in a consistent way. Today many platforms and messaging apps read it, including professional networks and pin boards. Without these tags, the platform guesses: it may pick a random image, cut the title in the wrong place or show nothing at all. With them, you choose what people see.

Why it matters

A preview card is often the first impression of your page. A clear title and a good image make people more likely to click, and a professional card builds trust. It can also affect how often a link is shared, which in turn brings visitors and sometimes links from other sites. It does not change rankings directly, but it supports the work in the backlinks guide.

The tags that matter most

Required tags

Optional tags

Choosing the preview image

A good preview image works at a small size. Use a simple composition with a clear focus and little or no text, and keep the key part in the center so cropping does not cut it. Use a different image for each important page when you can, because a card with the same picture everywhere is easy to scroll past. Check that you have the right to use the image.

How to add the tags

Test the preview

  1. Publish the page with the tags.
  2. Open the sharing debugger of each network you care about and paste the address. It shows the card and any problems.
  3. If the old preview still appears, ask the tool to fetch the page again, because platforms keep previews for a while.
  4. Share the link in a private chat and see how it looks on a phone.

Some networks no longer provide a separate checking tool, so a test share in a private chat is a useful backup.

Audit your pages

A site audit tool can list which pages have tags and which do not. Do the same by hand for a small site: open the five most shared pages, view their source and look for the tags. Pay special attention to the homepage and to any page you promote.

Common problems

A worked example

Imagine a small bakery site with a page about its sourdough class. The page title is "Sourdough Baking Class for Beginners". Without tags, a messenger might show the bakery logo, cropped, with a half-sentence from the footer. With tags, the card shows the title above, a one-line description such as "A relaxed three-hour class: mix, shape and bake your first loaf", and a bright photo of hands shaping dough. Same page, same link, but the second card tells a stranger what they will get before they click.

Writing the title and description for a card

The card title can differ from the page title in the browser tab. The tab title is written for search results and often includes the brand at the end. The card title can be shorter and warmer. Keep the description to one or two sentences that add something the title does not say, such as who the page is for or what the visitor can do. Avoid repeating the title word for word, and avoid empty phrases like "welcome to our website".

Image rules worth remembering

FAQ

Do Open Graph tags help SEO?

Not directly. They improve how shared links look, which can bring more clicks and shares.

What size should the image be?

Use a widely recommended preview shape and a file large enough to look sharp on a high-resolution screen. Check each platform's current guidance.

Why does my preview not update?

Platforms keep a copy. Use the platform's debugger to fetch the page again, then re-share.

Are Twitter cards different?

Some platforms have their own tags, but many fall back to Open Graph tags if their own are missing.

Do messengers read these tags?

Many do, which is why a good card also helps links shared in private chats.

Your next step: share your homepage in a private chat. If the preview looks wrong, add or fix the title and image tags, then test again.

Read next

Explore more