Blog
Wild & Free Tools

Open Graph Meta Tags Generator — Create OG Tags in Seconds

Last updated: April 2026 7 min read

Table of Contents

  1. What Open Graph Tags Do
  2. The 4 Required OG Tags
  3. OG Image Requirements
  4. og:type — Which Value to Use
  5. Generate Your OG Tags Now
  6. Frequently Asked Questions

Open Graph meta tags are the hidden instructions you embed in your HTML that tell Facebook, LinkedIn, Pinterest, and Slack exactly how to display your page when someone shares the link. Without them, platforms guess — and they usually guess wrong.

This guide explains the four required OG tags every page needs, the optional tags that improve how your content looks on specific platforms, and how to generate the complete HTML code in under a minute without touching your head element manually.

What Open Graph Meta Tags Actually Do

When someone pastes a URL into Facebook, LinkedIn, or iMessage, the platform's crawler fetches that URL, reads the HTML head section, and looks for Open Graph tags. Those tags provide the title, description, image, and URL that appear in the link preview card.

Without OG tags, platforms fall back to guessing: the page title might come from the HTML title tag, the description might come from the first paragraph of visible text, and the image might come from the first img element on the page — which could be your logo, a tracking pixel, or nothing at all.

The result of missing OG tags is link previews that look like broken links — no image, a garbled title, or a description that has nothing to do with the content. Even if your page is excellent, a bad preview causes people to scroll past it.

OG tags were created by Facebook in 2010 as the Open Graph Protocol. Today every major platform reads them, making them the most universally supported way to control link preview appearance across the web.

The 4 Open Graph Tags Every Page Needs

These four tags are required for a valid Open Graph implementation. Skip any one of them and platforms will either refuse to show a preview or fill in missing values poorly.

A fifth tag — og:type — is technically required but defaults to "website" if omitted. Use "article" for blog posts, "product" for e-commerce, "profile" for author pages.

Sell Custom Apparel — We Handle Printing & Free Shipping

OG Image Requirements for Facebook and LinkedIn

The OG image is the most important element in your link preview. A good image drives 2–3x more clicks than a preview without one. Here are the technical requirements:

PlatformRecommended SizeMinimumMax File Size
Facebook1200x630px200x200px8MB
LinkedIn1200x627pxNone5MB
Twitter/X1200x600px (large) / 800x800 (small)144x144px5MB

In practice, a 1200x630 image at JPEG quality 85 hits every platform correctly. Avoid text-heavy images — Facebook crops images differently in mobile vs desktop feeds, and important text at the edges gets cut. Keep key content centered.

Use HTTPS URLs only. Facebook will not load HTTP images. Avoid WebP if you need maximum compatibility — JPEG and PNG are universally supported for OG images.

After setting your og:image, check it using the Open Graph Checker — paste your HTML source and see the exact Facebook and Twitter preview card in your browser.

og:type — What to Set for Different Page Types

The og:type tag tells platforms what kind of content your page represents. The most common values and when to use each:

When in doubt, use "website." The type mainly affects how platforms categorize your content internally — the visual preview appearance doesn't change dramatically based on og:type alone.

Generate Your Open Graph Tags in Under a Minute

The fastest way to create correct OG tags is to use the Meta Tag Generator. Fill in these fields:

  1. Page Title — your SEO title (also used as og:title default)
  2. Meta Description — used as og:description default
  3. og:image URL — the full https:// URL to your 1200x630 image
  4. og:type — select website, article, or product from the dropdown
  5. Canonical URL — used as og:url

The generator outputs ready-to-paste HTML with all OG tags formatted correctly. Copy everything between the opening and closing meta tag lines and paste it into your HTML head element.

After pasting, verify your implementation: copy your full page source, paste it into the Open Graph Checker, and see the Facebook and Twitter preview cards exactly as they'll appear when someone shares your link.

For WordPress sites, you don't need to paste raw HTML — use the SEO plugin's OG settings. For Next.js, extract the values from the generator output and add them to your metadata object. For Shopify, use the SEO fields in the product editor and upload your OG image to the Preferences panel.

Try It Free — No Signup Required

Runs 100% in your browser. No data is collected, stored, or sent anywhere.

Open Free Meta Tag Generator

Frequently Asked Questions

Are Open Graph tags the same as meta tags?

Open Graph tags are a type of meta tag. They use the property attribute (property="og:title") instead of the name attribute (name="description"). Both live in the HTML head element. Standard meta tags are read by search engines; OG tags are read primarily by social platforms. Both matter for a complete SEO and social setup.

Do Open Graph tags affect Google rankings?

No, OG tags do not directly affect Google search rankings. Google uses your title tag and meta description for SERPs, not OG tags. However, better-looking social previews lead to more shares, which can generate backlinks and traffic — both of which can indirectly affect rankings over time.

Can og:title be different from the title tag?

Yes, and this is often a good idea. Your HTML title tag is optimized for search results — shorter, keyword-focused. Your og:title can be slightly longer and more engaging since social feed previews have different formatting than search result snippets. The generator handles both separately.

Launch Your Own Clothing Brand — No Inventory, No Risk