Free tool
Open Graph meta tag generator
Fill in a page’s title, description and image to get the Open Graph and Twitter card tags to paste into its <head>, with a preview of the card and a list of anything likely to go wrong.
Tags for your page’s <head>
<meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" />
- Add a title: without og:title most cards fall back to the page <title> or the bare URL.
- Add a description. Some cards show none without it.
- Add an image. Without og:image the card is a small text-only box on most networks.
No image
example.com
Page title
X and LinkedIn style
No image
example.com
Page title
Description
Facebook style
What the generator writes
- The four tags the Open Graph protocol requires (og:title, og:type, og:image, og:url), plus description, site name and image alt.
- Twitter card tags, with summary_large_image when there is an image.
- A canonical link and a meta description, since they usually say the same thing.
- Values are HTML-escaped, so quotes in a title do not break the tag.
Sharing the same link on several networks? Schedule it with Hookpost and it goes out everywhere at the time you choose.
Why the card matters for social posts
When you share your own link, the card is most of the post: a big image, a title and a domain. A missing og:image turns it into a small grey box that few people click. Make the image at 1200 × 630 with the image resizer, and tag the link with the UTM builder so you can see which network sent the clicks.
Questions
- What are Open Graph tags?
- Meta tags in a page’s <head> (og:title, og:description, og:image, og:url) that tell networks and chat apps what to show when someone shares the link. The protocol is documented at ogp.me.
- Which tags are required?
- The Open Graph protocol lists four as required: og:title, og:type, og:image and og:url. Add og:description and og:image:alt as well; most cards use them.
- Do I need separate Twitter tags?
- X reads Open Graph tags when its own are missing, but it needs twitter:card to choose the large-image layout. This generator writes both sets.
- What size should the og:image be?
- 1200 × 630 pixels (1.91:1), as an absolute https:// URL. Smaller images can show as a thumbnail instead of a large card.
- I changed my tags but the old card still shows. Why?
- Networks cache link previews. LinkedIn’s Post Inspector and Facebook’s Sharing Debugger let you ask them to fetch the page again.
Related tools
More free tools
- Character counter (all networks)
- X character counter
- Instagram caption counter
- LinkedIn character counter
- Threads character counter
- Bluesky character counter
- TikTok caption counter
- YouTube title and description counter
- Pinterest title and description counter
- Mastodon character counter
- Thread splitter
- LinkedIn text formatter
- Instagram line break generator
- Hashtag formatter
- Post readability checker
- AI caption generator
- AI hashtag generator
- AI hook generator
- AI bio generator
- AI post ideas generator
- AI YouTube title generator
- AI LinkedIn post generator
- Social media post preview
- Content calendar generator
- Best time to post planner
- Engagement rate calculator
- All free tools