Free SEO tool

Open Graph Tag Generator

Enter your page title, description, URL and image to get ready to paste Open Graph and Twitter card meta tags for better link previews.

What is open graph tag generator?

Open Graph tags tell social networks and chat apps which title, description and image to show when someone shares your link. Good tags make a link look professional and raise clicks.

This generator writes Open Graph and Twitter card tags for you. Paste the output inside the head section of your page.

How to use the open graph tag generator

  1. Enter the title, description, URL and image.
  2. Choose the page type.
  3. Copy the tags into your page head.

How the open graph tag generator works

The tool escapes your text and writes og:type, og:title, og:description, og:url, og:image and og site name tags. It adds twitter:card tags, using a large image card when an image is present.

Worked example

A page with a title, description and 1200 by 630 image creates ten meta tags that cover Facebook, WhatsApp, LinkedIn and X.

Common uses of the open graph tag generator

  • Improving link previews on social media.
  • Preparing a new landing page.
  • Fixing a wrong share image.
  • Blog post sharing.
  • Product page sharing.

Tips and common mistakes

Use an absolute image URL and an image of about 1200 by 630 pixels.

Test with the Facebook Sharing Debugger after you publish.

Background: what to know before you rely on it

Open Graph was introduced by Facebook in 2010 and is now read by almost every platform that shows link previews. If the tags are missing, the platform guesses and often picks a poor image or a cut off title. Platforms also cache previews, so after you fix tags, you may need to use a debugger tool to refresh them. Keep titles short, descriptions clear and images free of small text that becomes unreadable on phones.

Private, free and fast

This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all seo tools, or browse the full list of tools.

Frequently asked questions

Where do I paste the tags?

Inside the head section of your HTML page.

Do they help SEO?

They do not directly affect rankings, but better previews can bring more clicks and shares.

What image size is best?

About 1200 by 630 pixels, under a few megabytes.

Does WhatsApp use them?

Yes. WhatsApp and many chat apps read Open Graph tags.

Related tools

Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Validate markup with search engine testing tools before publishing.