Build Open Graph tags for rich social sharing.
This generator writes the Open Graph meta tags that Facebook, LinkedIn and many chat apps read when someone shares your link. You fill in a title, description, page URL, image URL, type, site name and, optionally, a locale, and it returns a block of <meta property="og:..."> tags to paste into your page's <head>. Quotes, ampersands and angle brackets in your text are escaped so they cannot break the attributes. The tool does not fetch your page or image, so it shows no preview.
og:title, og:description, og:url and og:type are always written, even when a field is empty, so an empty box produces an empty content attribute. og:image, og:site_name and og:locale are written only when you fill them in. The Open Graph protocol treats title, type, image and URL as the basic required set, so do not skip the image.
The Open Graph protocol treats a missing og:locale as en_US, so set the Locale field for other languages or regions, for example fr_FR or en_GB. The tool writes the type and nothing more, none of the extra properties such as article:published_time, and no Twitter card tags. X reads Open Graph as a fallback for the title, description and image, and uses a twitter:card tag to choose the card layout, so add that line yourself if you want the large image card. Platforms cache previews, so after changing tags, refresh them with the platform's own sharing debugger.