Skip to content

Open Graph Generator

Generate Open Graph and Twitter Card meta tags with a live social-share preview.

About Open Graph Generator

Build Open Graph and Twitter Card meta tags so your pages look great when shared on Facebook, X/Twitter, LinkedIn and more. A live preview shows how your link card will appear, and the generated tags can be copied straight into your page's <head>.

How to use Open Graph Generator

  1. 1

    Enter the title, description, URL and image for your page.

  2. 2

    Pick the og:type and Twitter card style.

  3. 3

    Check the live preview of how your share card will look.

  4. 4

    Copy the generated Open Graph and Twitter tags into your <head>.

Frequently Asked Questions

What image size should I use for Open Graph?

1200×630 pixels (a 1.91:1 ratio) is the recommended size for large link previews across most platforms.

Do I need both Open Graph and Twitter tags?

Open Graph covers most platforms, including Twitter's fallback. Adding explicit twitter:* tags gives you finer control over how cards appear on X/Twitter.