Open Graph Generator
Build Open Graph and optional X Card tags. Set image order, alt text, dimensions and locales, then preview a draft and copy or download the HTML.
Set Image Order in Open Graph HTML
Open Graph Generator: how to use it
- Enter the page URL, Open Graph title and type. Enter an absolute URL for each image you want to declare.
- Add image dimensions and alt text where available. Use Move image up or Move image down to set precedence. Choose an X Card if needed.
- Select Generate tags, then copy or download the HTML. To see a visual draft, choose a local JPG, PNG or still WebP for the preview.
Limits and notes
Supports website and article, up to four ordered image URLs, locales in language_TERRITORY form and summary or summary_large_image X Cards. The visual draft uses an optional file you select locally. Actual layouts and image availability depend on the sharing platform.
How your privacy works →Open Graph Generator: common questions
What happens when I add two Open Graph images?
Both image tags appear in the generated HTML. Each image is followed by its own structured properties. Open Graph gives the first entry preference when values conflict.
Which image does the X Card use?
The generated X Card uses the first Open Graph image by default. Enter an X Card image URL to specify a different one.
Does opening a local preview image change the HTML?
The preview displays the local file independently. The export uses the URLs and properties you enter in the form.