Meta Tag Builder (OG + Twitter)
Builder focused on Open Graph and Twitter Cards. Preview a share card before publishing.
Snippet:
—
The card people see when sharing
You paste a link into Slack or LinkedIn and it shows a bare URL, or an image that belongs to some other page. That happens when the meta tags platforms read before drawing the card are missing. Fill in title, description, image and URL, pick a twitter:card type, and the builder returns the nine Open Graph and Twitter tags ready to paste into your head, with a preview beside them showing how the text will wrap.
Values come out escaped: a title containing quotes or an angle bracket turns into HTML entities instead of breaking the content attribute. Two conventions catch people out. og:image has to be an absolute https URL, since a relative path will not resolve. And twitter:card set to summary_large_image is what produces the wide banner; summary gives you the small square thumbnail next to the text.
Paste the block inside head. Point og:url at the canonical, absolute version of the page, and host the image somewhere public with no login, at 1200 by 630 pixels. The preview frame shows the proportions and where text gets cut off; the image itself is worth checking in the platform's own debugger, which also clears the cached version after you publish. There is no copy button, so select the snippet by hand. Everything runs in your browser.
Frequently asked questions
Do I still need Twitter tags if I already have Open Graph?
I changed the image and the old one still shows. Why?
Can og:image be a relative path?
Related Tools
Open Graph Preview
Preview how a page will look when shared on Facebook, Twitter/X, LinkedIn and WhatsApp. Fill in the meta tags and see the social cards in real time.
Twitter Card Generator
Generate Twitter Card meta tags (summary, summary_large_image, app, player). Card preview as it will appear on X/Twitter. Everything in your browser.
Meta Robots vs X-Robots-Tag Comparator
Compares meta robots and X-Robots-Tag directives and shows which one prevails for crawlers in each combination.
Complete Meta Tags Generator
Complete meta tag set: charset, viewport, description, OG, Twitter, theme-color, canonical and hreflang.
robots.txt for AI Bots
Generate a robots.txt block to stop the major AI bots (GPTBot, ClaudeBot, CCBot and more) from training on your content. Copy and paste it into your site.
Link AMP Builder
Build the <link rel="amphtml"> tag pointing to the AMP version.