Skip to content

Open Graph Generator

Create og: tags for social sharing with a live link preview, image checks and copy-ready HTML.

AvailableRuns in your browserFree · No sign-up

Open Graph Generator

Page

og:title is required.

0 characters · previews usually show one or two lines

og:url is required: the page's canonical address.

language_TERRITORY, e.g. en_GB

Share image

JPG, PNG or WebP. 1200 × 630 px is widely used.

Check your current tags for duplicates (optional)

Finds Open Graph tags that appear twice or would conflict with the generated ones. Read in your browser; nothing is uploaded or run.

Sharing preview

No image

example.com

Your page title

Your description appears here.

Illustrative only. Facebook, LinkedIn, WhatsApp and others fetch the page themselves, cache it and lay cards out differently. This preview doesn't prove a platform has read or accepted your tags — use each platform's own sharing debugger after publishing.

  • An og:description is recommended — most platforms show it under the title.
  • og:image is one of the four required Open Graph properties. Without it, most platforms show no picture.

Open Graph tags

<!-- Fix the errors above to generate the tags -->

Your data is processed locally in your browser and is not uploaded to OZVILO servers.

How to use the Open Graph Generator

  1. 1Enter the page title, description and canonical URL.
  2. 2Add the share image URL and, optionally, its width, height and alt text.
  3. 3Choose the content type and locale, then check the preview and any validation messages.
  4. 4Copy all tags or single tags into your page's <head>, or download them as .html or .txt.

Examples

  • Product page

    Input
    Title, URL, type product, 1200 × 630 image with alt text
    Result
    og:title, og:type, og:url, og:image with og:image:width, :height and :alt, og:locale
  • Special characters

    Input
    Title: Tom & "Jerry"
    Result
    content="Tom &amp; &quot;Jerry&quot;"

Open Graph Generator features

  • All core and image tags: og:title, og:description, og:type, og:url, og:image, og:image:width, og:image:height, og:image:alt, og:site_name, og:locale
  • Only the tags your input needs, in the order the Open Graph protocol expects
  • Live link preview with the image loaded in your browser and its real size checked
  • Validation of required properties, URLs, image dimensions and locale
  • Duplicate and conflict check against your current <head>; copy or download

Frequently asked questions

Which Open Graph tags are required?

The Open Graph protocol lists four: og:title, og:type, og:image and og:url. A description is optional but recommended, and a page with og:image should also have og:image:alt.

Does the preview show exactly what Facebook or LinkedIn will display?

No. It's an illustration. Each platform fetches your page itself, caches it and lays the card out its own way. After publishing, use the platform's own sharing debugger to see what it actually reads.

What image size should I use?

1200 × 630 pixels (about 1.91:1) is widely used. Use JPG, PNG or WebP over https, and add og:image:width and og:image:height so platforms can lay out the card before the image loads.

Is this different from the Meta Tag Generator?

It focuses only on Open Graph, with more image options and a duplicate check. Both use the same code to build tags, so the same values produce the same markup.