What is Open Graph?
Create the Open Graph (og:) and Twitter Card meta tags that control how your page looks when shared on social media. Enter the title, description, URL, image and type, and copy a complete set of meta tags to paste into your page's <head>.
How Open Graph works
Social platforms read og: and twitter: meta tags to build the share card — the title, description and preview image.
The generator outputs both sets together, with the recommended 1200×630 image and a large-image Twitter card by default.
Common uses
- Add rich previews to shared links
- Generate og: and twitter: tags together
- Set the social title, description and image
- Improve click-through from social media
Frequently asked questions
What image size should I use?
1200×630 pixels is the recommended Open Graph image size for a large preview.
Where do the tags go?
Inside the <head> of your HTML page.
Do I need both og: and twitter: tags?
Twitter can fall back to og: tags, but including twitter: tags gives you the most control.