Open Graph Meta Tag Generator
FreeCreate complete Open Graph and Twitter Card meta tags for any page. Fill in your title, description, image, and URL — then copy the generated HTML and paste it into your page's <head>.
Twitter / X Card
Generated HTML Meta Tags
<!-- Fill in the fields above to generate your meta tags -->
How to use the Open Graph Meta Tag Generator
- 1Enter your page title, description, and URL.
- 2Add your Open Graph image URL (recommended size: 1200×630px).
- 3Set your site name and page type (website, article, or product).
- 4Configure Twitter Card type and your Twitter handle if needed.
- 5Click "Copy All Tags" and paste the HTML into your page's <head> section.
Related SEO Tools
Open Graph Meta Tag Generator FAQs
What are Open Graph tags?
Open Graph (OG) tags are meta tags in your HTML <head> that control how your page appears when shared on social media platforms like Facebook, LinkedIn, Twitter/X, and messaging apps like WhatsApp.
What is the ideal OG image size?
The recommended Open Graph image size is 1200×630 pixels at a 1.91:1 aspect ratio. This ensures your image displays correctly across Facebook, LinkedIn, Twitter, and other platforms.
What is a Twitter Card?
Twitter Cards are similar to Open Graph tags but specific to Twitter/X. They control how your link appears in tweets. The most common type is "summary_large_image", which displays a large preview image.
Do OG tags affect SEO?
OG tags do not directly affect search engine rankings, but they improve how your content looks when shared on social media. Better social previews lead to higher click-through rates and more traffic — which can indirectly benefit SEO.
Need an SEO agency?
Browse verified SEO agencies and request proposals matched to your goals.