What Open Graph Tag Generator does
Open Graph tags control how a link looks when it's shared on Facebook, LinkedIn and most other platforms that build a link preview card. Without them, a shared link often shows a blank image and a mismatched title pulled from wherever the crawler could find text. This tool turns a title, site name, description and image into the exact Open Graph markup to fix that.
How to generate Open Graph tags
- Fill in the title, site name, and a one- or two-sentence description.
- Add an image URL — ideally sized around 1200×630 pixels, the dimension most platforms crop to.
- Copy the generated tags and paste them into the page's HTML
<head>.
Why image size matters
Platforms crop the preview image to a fixed aspect ratio, close to 1.91:1. An image sized far outside that ratio — a tall portrait photo, for instance — tends to get cropped awkwardly, cutting off faces or key details. Using an image close to 1200×630 pixels avoids that.
Common uses
- Blog posts and articles — making sure a shared link shows the right headline and cover image.
- Product pages — showing the actual product photo and name instead of a generic site logo.
- Fixing a broken preview reported by a marketing team or noticed after sharing a link.