AheadTools

Open Graph Generator

Generate Open Graph and Twitter Card tags for social sharing.

Free

About the Open Graph Generator

The Open Graph Generator builds the og: and twitter: meta tags that control how your page looks when shared on Facebook, LinkedIn, and X (Twitter). A good Open Graph image and title dramatically improve social click-through. Fill in your title, description, URL, and image, then copy the complete tag set into your page’s <head>.

How to use the Open Graph Generator

  1. Enter your title, description, URL and image URL.
  2. Copy the generated Open Graph and Twitter Card tags.
  3. Paste them into your page’s <head>.

Frequently asked questions

What image size works best?

Use 1200×630 pixels for the og:image — it’s the recommended size for Facebook and LinkedIn previews.

Do I need Twitter Card tags too?

X (Twitter) can read Open Graph tags, but adding twitter:card tags gives you more control over the preview.