Open Graph Generator
Perfect link previews for Facebook, LinkedIn, and X.
Sign in to use this tool
Create a free account to unlock every tool — plus a 14-day free trial of HQ Pro, no card required.
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
- 01Enter your page title, description, URL, and image.
- 02Choose the Twitter Card type (summary or large image).
- 03Preview how the link will appear on Facebook, LinkedIn, and X.
- 04Copy 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.