Meta / OG Tag Generator
Generate SEO, Open Graph and Twitter Card meta tags.
How to use
- 1 Enter your page title and description.
- 2 Add the canonical URL, an absolute image URL, site name and Twitter handle.
- 3 Pick a Twitter card type if you want to override the default.
- 4 Copy the generated meta tag block and paste it into your page <head>.
About Meta / OG Tag Generator
The Meta / OG Tag Generator builds the block of HTML meta tags that control how a page looks in search results and when it is shared on social platforms.
Getting these right is fiddly: you need a title and description for search engines, a parallel set of Open Graph property tags for Facebook, LinkedIn and most link previews, and a third set of Twitter Card tags for X.
This tool produces all three from one short form so you do not have to memorise the property names or copy them from another site.
Fill in your page title, description, canonical URL, an absolute image URL, your site name and Twitter handle, then choose a card type.
The generator emits a clean, ready-to-paste block containing the title, meta description, canonical link, the og:title, og:description, og:type, og:url, og:image and og:site_name properties, and the twitter:card, twitter:title, twitter:description, twitter:image and twitter:site tags.
Only the fields you fill in are included, and every value is HTML-attribute-escaped so stray ampersands or quotes cannot break your markup.
If you add an image, the Twitter card defaults sensibly to a large image preview.
Everything is generated locally in your browser; nothing you type is uploaded, logged or stored, and the tool works offline once loaded.
FAQ
Why do I need both Open Graph and Twitter tags?
Open Graph drives previews on Facebook, LinkedIn and most apps, while Twitter/X reads its own twitter: tags. Including both maximises how reliably your link preview renders everywhere.
Should the image URL be absolute?
Yes. Social crawlers fetch og:image and twitter:image from outside your site, so they must be full, absolute URLs rather than relative paths.
Are my values safe to paste?
Yes. Every field is HTML-attribute-escaped, so characters like &, <, > and quotes cannot break out of the tag or corrupt your markup.