Open Graph Generator

Generate Open Graph and Twitter Card meta tags for rich social media previews.

📐 How to Use

  1. Enter your page URL, title, description, and image URL.
  2. Select the OG type (website, article, product).
  3. Choose Twitter Card type (summary or summary_large_image).
  4. Copy the generated tags into your page's <head> section.

Frequently Asked Questions

QWhat size should my OG image be?
The recommended size is 1200×630 pixels. Facebook and LinkedIn display this at a 1.91:1 ratio. Images smaller than 200×200 may not display.
QDo I need both OG and Twitter Card tags?
Twitter falls back to OG tags if Twitter Card tags are missing, but adding explicit Twitter tags gives you more control over how your content appears on X.
QHow do I refresh a cached social preview?
Use the Facebook Sharing Debugger or Twitter Card Validator to force a re-fetch of your updated tags.

ℹ️ About This Tool

The Open Graph protocol was created by Facebook in 2010 and is now the standard for social sharing metadata across most platforms. Twitter Cards are Twitter's proprietary extension with similar functionality.