SEONEW

Open Graph Tag Generator

Create perfect OG and Twitter Card tags for any URL. Control title, description, image, and type for beautiful social media link previews.

SEO/open-graph-generator
Live in browser

Continue the workflow

Tools that pair well.

01 · Overview

What Is an Open Graph Tag Generator?

An Open Graph tag generator creates the meta tags that control how your web pages appear when shared on social media. OG tags were originally created by Facebook but are now used by Twitter, LinkedIn, Slack, Discord, and many other platforms.

This tool generates a complete set of OG and Twitter Card meta tags based on your page title, description, image URL, and content type. Each tag is properly formatted and ready to paste into your HTML head section.

Without proper OG tags, social platforms guess which title, description, and image to display — and they often get it wrong. Generated tags ensure your content always looks professional when shared.

02 · Walkthrough

How to Generate Open Graph Tags

  1. Step 01

    Enter your page title, description, and image URL.

  2. Step 02

    Select the content type (article, website, product, video, or profile).

  3. Step 03

    Configure optional settings like site name, locale, and Twitter handle.

  4. Step 04

    Preview how your link appears on Facebook, Twitter, and LinkedIn.

  5. Step 05

    Copy the generated meta tags and paste them into your HTML head.

03 · Why it matters

Why Use an Open Graph Generator

  • ✱ 01Control exactly how content appears when shared on social platforms.
  • ✱ 02Generate complete OG and Twitter Card tags in seconds without manual coding.
  • ✱ 03Preview how links will look before publishing to social media.
  • ✱ 04Ensure consistent branding across Facebook, Twitter, LinkedIn, and others.
  • ✱ 05Avoid truncated titles and descriptions with properly sized meta tags.

04 · In the wild

Common Use Cases

Case 01

Social media marketing

Marketers generate OG tags for campaign landing pages to ensure compelling link previews when shared.

Case 02

Blog publishing

Bloggers create Open Graph tags for each post to maximize click-through rates from social media shares.

Case 03

E-commerce product pages

Store owners optimize product page previews with proper images, prices, and descriptions for social sharing.

✓ Do

Open Graph Best Practices

  • Use images at least 1200x630 pixels for best display on high-resolution screens.
  • Keep OG titles under 60 characters to avoid truncation on most platforms.
  • Write descriptions between 110-200 characters for optimal display.
  • Use absolute URLs for og:image — relative paths fail on social platforms.
  • Include both og:image and twitter:image for consistent display.

✗ Avoid

Common Open Graph Mistakes

  • Using relative URLs for og:image that break when shared outside your domain.
  • Setting image dimensions too small, resulting in low-quality previews.
  • Writing titles that are too long, causing truncation and information loss.
  • Forgetting og:type, which prevents platforms from optimizing preview layout.
  • Not testing OG tags with platform debuggers before publishing.

05 · Questions

Frequently Asked Questions

Q01What size should my OG image be?

Facebook recommends 1200x630 pixels for the best display. This 1.91:1 ratio works well across most platforms.

Q02Do I need both OG and Twitter Card tags?

While Twitter can fall back to OG tags, including both gives you more control over how content appears specifically on Twitter.

Q03How can I test my OG tags?

Use the Facebook Sharing Debugger, Twitter Card Validator, and LinkedIn Post Inspector to see how links appear on each platform.

Q04Can I set different OG tags per page?

Yes, each page should have unique OG tags that reflect the specific content on that page.

Q05What is og:locale?

og:locale tells platforms the language and region of your content, helping them format dates, numbers, and text direction correctly.

06 · Before you go

Pro Tips

  • 01Use Facebook Sharing Debugger to scrape and update cached OG data after changing tags.
  • 02Include multiple og:image tags with different sizes for varying platform requirements.
  • 03Add og:updated_time to tell platforms when content was last modified.