Open Graph Tag Builder

Generate complete OG tags for beautiful link previews on every platform

Build a full set of Open Graph meta tags — og:title, og:description, og:image with dimensions and alt text, og:url, og:type, og:site_name, og:locale — plus matching Twitter Card tags, from one form. Outputs clean, paste-ready HTML.

What is Open Graph?

Open Graph is a protocol created by Facebook that lets any web page become a rich object in a social graph. The og meta tags tell platforms like Facebook, LinkedIn, WhatsApp, Slack, and iMessage how to display your link with a title, description, and image instead of a bare URL.

A link with no preview looks broken; a link with a sharp title, a one-line summary, and a clean image looks trustworthy and gets clicked. Open Graph tags control that preview across nearly every platform that renders links. This builder generates the complete set, including the image-dimension and locale tags people often forget, plus the Twitter Card equivalents.

How it works

The tool emits the Open Graph properties platforms read, in a logical order:

  • og:type — website, article, or product.
  • og:title, og:description, og:url, og:site_name.
  • og:image, with optional og:image:width, og:image:height, and og:image:alt so the preview renders instantly and accessibly.
  • og:locale so platforms know the content language.
  • When you select article, it also emits article:published_time if you provide a date.
  • Matching twitter:card, twitter:title, twitter:description, and twitter:image tags so X renders correctly too.

All values are HTML-escaped, so quotes, ampersands, and angle brackets in your copy cannot break the markup. The output updates live as you type.

Tips and example

  • Use absolute https URLs for og:url and og:image. Relative paths frequently fail when a remote scraper resolves them.
  • Keep og:title under about 60 characters and og:description under about 110 so platforms do not truncate them.
  • Add og:image:alt — it improves accessibility and is good practice, even though not every platform displays it.
  • After deploying, re-scrape with the platform’s debugger to clear the old cached preview.