Open Graph Generator

Generate Open Graph meta tags for rich link previews on social media. Runs entirely in your browser.

Use an absolute URL, ideally 1200×630.

Open Graph tags
Fill in the form to generate the code.

Processed on your device. This file is never uploaded.

  1. 1Fill in the title, description, URL and image.
  2. 2Choose the content type.
  3. 3Copy the og: tags into your page's <head>.

Control how your links look when shared

When someone shares your page on social media, the preview card — title, description and image — is drawn from Open Graph tags. Set them and you control that first impression; leave them out and the platform guesses, often unflatteringly. This generator writes the core og: tags for you.

Absolute URLs, escaped values

The image and page URLs need to be absolute for platforms to fetch them, and all values are escaped so punctuation cannot break the tags. Paste the block into your head, then re-scrape the URL in a sharing debugger. It all runs on your device.

Frequently asked questions