Open Graph Generator

Open Graph Generator

Build og tags that make shared links look polished

What the Open Graph Generator Does

Open Graph tags tell social networks and messaging apps how to display your page when someone shares it. Without them, platforms guess, and the result is often an ugly card with the wrong image or no image at all. The Open Graph Generator on WebTOOLkt creates the tags for you from a simple form. Enter your title, description, image and other details, then copy the generated code into your page.

It is meant for bloggers, small business owners, developers and marketers who want share cards that look right on the first try.

How to Use the Open Graph Generator

  1. Enter the page title as you want it shown on the card.
  2. Write a short description that makes people want to click.
  3. Add the full address of your share image, beginning with https://.
  4. Enter the page URL and choose a content type such as website or article.
  5. Add your site name and any other optional fields.
  6. Generate the tags, copy them and paste them into the head section of your page.
  7. Test the result with the Open Graph Checker.

What the Generated Code Contains

Open Graph tags are meta elements with a property name beginning with og: and a content value. The core set, defined at ogp.me, includes the title, type, image and URL, and most sites also add a description and site name. If you use a CMS such as WordPress, an SEO plugin may already output these tags. Check first to avoid duplicates, which can confuse platforms about which values to use.

Writing Cards People Click

  • Title. Clear and specific. It can differ from your page title if a shorter or more social version works better.
  • Description. One or two short sentences. Lead with the benefit.
  • Image. Bright, simple and readable at small sizes. A size of around 1200 by 630 pixels works well on most platforms.
  • Consistency. The card should match what the page delivers. A misleading card hurts trust.
  • Branding. Include your logo or a recognisable style so your links stand out in a busy feed.

Adding the Tags to Your Site

  1. Plain HTML. Paste the code between the opening and closing head tags.
  2. WordPress. Use the social settings of your SEO plugin, or add the code to your theme's header if you manage it by hand.
  3. Other CMS platforms. Look for a custom head code or SEO settings area.
  4. Template sites. Generate unique tags for each page, not the same set for the entire site.

After publishing, run the page through the Open Graph Checker, then use platform debug tools such as the Facebook Sharing Debugger to refresh cached versions.

Pairing With Twitter Card Tags

X reads its own card tags first, then falls back on Open Graph. If you want control over how links appear there, add Twitter card tags as well. The Twitter Card Generator on WebTOOLkt builds them. With both sets in place, your shares look consistent everywhere.

Mistakes to Avoid

  • Using a relative image path instead of a full address.
  • Pointing og:image at a file that is blocked, deleted or behind a login.
  • Using the same image and text for every page.
  • Forgetting to refresh the cache after an edit.
  • Choosing a tiny image that gets stretched or ignored.

Why Use This Tool Instead of Other Options

Writing tags by hand risks typos, and plugins sometimes add more than you need. The Open Graph Generator produces clean, correct code in seconds, free and without registration. It joins the Open Graph Checker, Twitter Card Generator and Meta Tag Generator on WebTOOLkt to cover everything a page needs for search and social sharing.

Related WebTOOLkt Tools

Useful External Resources

Frequently Asked Questions

Where do Open Graph tags go?

Inside the head section of the page's HTML.

What size should my image be?

Around 1200 by 630 pixels is a safe, widely used choice.

Can I use different tags for each page?

Yes, and you should. Each page needs its own title, description and image.

Do I need all the tags?

Title, type, image and URL are the core ones. Description is strongly recommended.


Avatar

Syed M

Creator/Developer

Enjoy the little things in life. For one day, you may look back and realize they were the big things. Many of life's failures are people who did not realize how close they were to success when they gave up.

Cookie
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. Kindly Donate for a cause.