Open Graph Tag Generator
Generate Open Graph meta tags.
About this tool
Enter a title, description, image URL and page URL, choose the type, and copy a tag block with Open Graph and Twitter card meta tags.
How to use
How it works
Open Graph tags use property attributes, Twitter tags use name attributes. The Twitter card is summary_large_image when you give an image and summary otherwise. Values are HTML-escaped. Empty fields are skipped.
Worked example
A blog post
- Input
- Title: Hello, image https://x.com/i.jpg, type article
- Output
- og:title, og:type article, og:image, twitter:card summary_large_image, twitter:title, twitter:image
- Walkthrough
- Twitter tags mirror the title, description and image.
Limitations
- Use an absolute https image URL; it is not fetched or checked.
- No video or audio tags.
- Does not refresh a platform's cached preview.
Questions
Which tags does it output?
Do I need the Twitter tags?
Where do the tags go?
Is my text uploaded?
Features
- Full Open Graph set
- Twitter card tags
- HTML-escaped values
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Google Search Console Training trailer
Google Search Central
Series overview for Search Console workflows.
Watch on YouTubeHTML Crash Course For Absolute Beginners
Traversy Media
Title/meta tags live in HTML these SEO tools preview.
Watch on YouTube
- Schema.org
Schema.org
Vocabulary for JSON-LD generators on SEO pages.
- The Open Graph protocol
ogp.me
OG tags used by social/SEO preview tools.