Open Graph Generator
Perfect link previews for Facebook, LinkedIn, and X.
Recommended size: 1200×630 px.
<!-- Open Graph -->
<meta property="og:type" content="website" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />About the Open Graph Generator
Generate Open Graph and Twitter Card meta tags free — and preview exactly how your link will look when shared on Facebook, LinkedIn, and X before you publish. Enter your title, description, URL, and a 1200×630 image, then copy the og: and twitter: tags into your page's <head>. Links with a proper preview image get dramatically more clicks than bare grey boxes.
How to use the Open Graph Generator
- 1Enter your page title, description, URL, and image.
- 2Choose the Twitter Card type (summary or large image).
- 3Preview how the link will appear on Facebook, LinkedIn, and X.
- 4Copy the generated og: and twitter: meta tags into your <head>.
Frequently asked questions
What is Open Graph?
Open Graph is a protocol (og: meta tags) that controls how your page looks when shared on social platforms — the title, description, and preview image.
What's the best Open Graph image size?
1200×630 pixels (a 1.91:1 ratio) is the recommended size for a large, crisp preview across most platforms.
Do I need both Open Graph and Twitter Card tags?
Open Graph covers Facebook, LinkedIn, and most platforms. X reads Twitter Card tags but falls back to Open Graph, so including both gives you the most control.