Free Open Graph & Twitter Card Meta Tag Generator
Generate Open Graph & Twitter Card meta tags
How to Use Meta Tag Generator
- 1
Enter your page info
Fill in the title, description, image URL, page URL, and site name.
- 2
Configure Twitter Card settings
Set your Twitter handle and select the card type (summary or summary_large_image).
- 3
Copy the generated tags
Click Copy to grab all generated HTML meta tags and paste them into your page's <head> section.
Frequently Asked Questions
Is my data safe?
Where do I put these meta tags?
What is the difference between Open Graph and Twitter Cards?
Do I need Open Graph tags for SEO?
Which og:type should I use?
Learn more
About Meta Tag Generator
Generate the complete set of Open Graph and Twitter Card HTML meta tags for your website in seconds. Fill in your page title, description, image URL, and site information — the tool generates clean, copy-paste-ready HTML that you drop into your page's head section. Covers og:title, og:description, og:image, og:url, og:type, twitter:card, twitter:site, and more. No coding knowledge required. Generated entirely in your browser — no server, no sign-up.
Why Use Meta Tag Generator?
- Complete tag set — generates all standard Open Graph and Twitter Card properties in one operation.
- Copy-ready HTML — output is formatted as proper HTML meta tags, ready to paste directly into your page's head.
- Covers all major platforms — Open Graph tags work on Facebook, LinkedIn, Slack, Discord, and most link preview tools.
- No coding required — fill in plain-text fields without writing any HTML manually.
- Pair with the OG Preview tool to visually verify how the tags will render before adding them to your page.
Common Use Cases
Blog and article publishing
Add social meta tags to each blog post so shared links display a compelling title, description, and feature image on social media.
Landing page optimization
Ensure campaign landing pages show the right image and messaging when shared in ads, emails, and social posts driving traffic.
E-commerce product pages
Add product images and descriptions to Open Graph tags so product links display correctly when customers share them on social media.
SaaS and startup websites
Implement proper social meta tags on your marketing site so links shared by users and press display your brand image and key messaging.
Tips & Best Practices
- 💡Set og:type to 'article' for blog posts and 'website' for your homepage and general pages. The 'article' type allows additional tags like article:published_time and article:author.
- 💡The og:image URL must be an absolute URL (starting with https://) — relative paths like /images/hero.jpg will not work for social platforms fetching the image.
- 💡Twitter falls back to Open Graph tags if Twitter Card tags are absent. If you only add Open Graph tags, Twitter will still display a card using the og: values.
- 💡Use the OG Preview tool alongside this generator to verify the tags produce the visual result you expect before publishing.
How It Works
The generator produces HTML5-compliant meta tags using the property attribute for Open Graph (og:) tags and the name attribute for Twitter Card (twitter:) tags, per each specification's requirements. Open Graph is defined by the Open Graph Protocol (ogp.me). Twitter Cards are documented in Twitter's developer documentation. The tool generates the minimum recommended set of tags for each type, covering the properties that all major platforms support and use for link preview rendering.