Free tool for websites & social

Open Graph Tag Generator with Share Preview

Control how your link looks when shared on WhatsApp, Facebook, X and LinkedIn — title, description and image. Enter your page details to get ready-to-copy Open Graph and X card tags, with a preview and checks.

  • Open Graph + X card
  • Share preview
  • Length & image checks

Page details

A full URL starting with https; suggested size 1200 × 630.

Preview

Checks
    Tags
    
    		

    Developed by Ahmed Elshamy All free tools

    How it works

    Three simple steps

    1. Enter your page details

      Title, description, URL, image URL and site name.

    2. Review the preview and checks

      How the card looks when shared, with warnings for long text or invalid URLs.

    3. Copy the tags

      Paste them inside <head>, or use your WordPress SEO fields.

    Why do you need Open Graph tags?

    When someone shares a link to your page, platforms read its Open Graph tags to decide which title, description and image to show. Without them, a platform may pick a random image from the page or show none, and the link looks flat and unclickable.

    The preview is approximate, because each platform renders cards its own way and changes its design from time to time. After publishing, use each platform’s sharing debugger to refresh its cached copy of your link.

    FAQ

    Good to know

    What’s the best size for a share image?

    The common size is 1200 × 630 px (a 1.91:1 ratio). Keep key elements in the centre, because some platforms crop the edges or show the image square.

    Why doesn’t my new image show after updating?

    Platforms cache link data. Use Facebook’s Sharing Debugger or LinkedIn’s Post Inspector to refresh it; WhatsApp may take some time.

    Does the image URL need to be absolute?

    Yes — a full URL starting with https:// that’s reachable without logging in. Relative paths like /images/og.jpg don’t work on most platforms.

    Do I need separate X tags?

    X falls back to Open Graph tags, but the twitter:card tag is needed to set the card style (large or small image). The tool adds it automatically.