Skip to main content

Open Graph Tag Generator Generate Open Graph meta tags for optimized social media sharing on Facebook and LinkedIn.

Open Graph Tag Generator illustration
🔍

Open Graph Tag Generator

Generate Open Graph meta tags for optimized social media sharing on Facebook and LinkedIn.

1

Enter content details

Add your page title, description, URL, and image for social sharing.

2

Choose OG type

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

3

Copy OG meta tags

Copy the generated Open Graph meta tags for your HTML head section.

Loading tool...

What Is Open Graph Tag Generator?

The Open Graph Tag Generator creates meta tags that control how your web pages appear when shared on Facebook, LinkedIn, Pinterest, and other social platforms that support the Open Graph protocol. Without OG tags, social platforms guess what title, description, and image to show — often pulling incorrect or unflattering content. With proper OG tags, you control exactly what users see: a compelling title, descriptive text, and an eye-catching image that drives clicks and engagement.

Why Use Open Graph Tag Generator?

  • Control how your pages appear on Facebook, LinkedIn, and Pinterest
  • Generate og:title, og:description, og:image, og:url, and og:type tags
  • Support for article-specific tags (published_time, author, section)
  • Image dimension recommendations for optimal display
  • Copy-ready HTML meta tags for your page head

Common Use Cases

Social Media Marketing

Ensure every page shares beautifully on Facebook and LinkedIn.

Content Marketing

Optimize blog post sharing with custom titles and images for social.

E-commerce

Control product appearance when pages are shared socially.

Landing Pages

Create compelling social previews for campaign landing pages.

Technical Guide

Open Graph was created by Facebook in 2010 and has become the universal standard for social sharing metadata. The four required OG properties are: og:title, og:type, og:image, and og:url. The og:type determines additional properties available — "article" allows article:published_time, article:author, and article:section. The og:image should be at least 1200x630 pixels for optimal display across platforms. Facebook caches OG data — after updating tags, use the Facebook Sharing Debugger to refresh the cache. LinkedIn also uses OG tags (falling back to regular meta tags). Pinterest uses OG tags plus its own rich pin markup.

Tips & Best Practices

  • 1
    Use images at least 1200x630 pixels for optimal social sharing display
  • 2
    Keep og:title under 60 characters and og:description under 155
  • 3
    Use the Facebook Sharing Debugger to test and refresh cached OG data
  • 4
    Include og:locale for international content (e.g., en_US, fr_FR)
  • 5
    Set og:type to "article" for blog posts with published_time and author

Related Tools

Frequently Asked Questions

Q What is Open Graph?
Open Graph is a protocol created by Facebook that lets you control how your web pages are represented when shared on social media platforms.
Q What is the ideal OG image size?
1200x630 pixels is recommended for the best display across Facebook, LinkedIn, and other platforms. Minimum is 200x200 pixels.
Q How do I refresh cached OG data on Facebook?
Use the Facebook Sharing Debugger (developers.facebook.com/tools/debug/) — enter your URL and click "Scrape Again" to refresh the cache.

About This Tool

Open Graph Tag Generator is a free online tool by FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration or installation required.