Open Graph Generator

Create Open Graph and Twitter Card tags with a live social share preview.

Share preview
Meta tags

    

How to use the Open Graph Generator

  1. Enter the page URL, title, description and the full URL of a share image (1200 × 630 px recommended).
  2. Choose the content type and Twitter card style.
  3. Check the preview card, then copy the tags into the <head> of your page.

About this tool

This Open Graph generator writes the tags that control how your links look when shared. When someone shares your link on Facebook, LinkedIn, WhatsApp, Slack or X, those apps read Open Graph tags to build the preview card: the title, description, image and site name. Without them, platforms guess – often picking the wrong image or none at all.

Fill in the fields and this generator outputs the og: tags plus matching Twitter Card tags, and shows a preview of the share card. The recommended image size is 1200 × 630 pixels.

Frequently asked questions

1200 × 630 pixels (a 1.91:1 ratio) works well everywhere. Keep important text away from the edges because some apps crop the image to a square.

Platforms cache previews. Use Facebook's Sharing Debugger or LinkedIn's Post Inspector to force them to fetch the page again.

They do not directly affect Google rankings, but attractive share previews get more clicks and shares, which brings more visitors and potential links.

OG tags are the Open Graph meta tags – og:title, og:description, og:image and og:url – that social apps read to build a link preview. The Open Graph generator writes them together with the matching Twitter Card tags, so your link looks right on X as well as Facebook, LinkedIn and WhatsApp.