Open Graph and Social Share Preview

See how your page will look when it is shared on Facebook, X (Twitter), LinkedIn and WhatsApp before you post it. Paste your page's HTML to read its Open Graph and Twitter Card tags, or type the details yourself. The checker flags missing tags and image problems, and gives you corrected code to copy.

Step 1 (optional): read the tags from your page's HTML

Open your page, press Ctrl+U (or add view-source: before the address on a phone), select all, copy and paste it here. Only the <head> section is needed.

Step 2: check or edit the share details

Or preview a local image before you upload it:

Previews

Approximate layouts based on how each network currently displays links. Networks change their designs, crop images differently on phones, and cache previews, so treat these as a close guide.

Facebook
X (Twitter)
LinkedIn
WhatsApp

Checks

    Your share tags

    
      
    

    What are Open Graph tags?

    Open Graph tags are short lines of code in the <head> of a web page that tell social networks and messaging apps what to show when someone shares the link. Facebook created the protocol, and today LinkedIn, WhatsApp, Telegram, Slack, Discord, Pinterest and many others read it too. The four core tags are og:title, og:description, og:image and og:url. X (formerly Twitter) uses its own Twitter Card tags, such as twitter:card, and falls back to the Open Graph tags when its own are missing.

    Without these tags, each network guesses. It might take the first image on the page, which could be a logo, an advert or a tiny icon, and a random piece of text as the description. A good share preview with a clear title and an eye-catching image makes people far more likely to click, so it is worth getting right, especially for pages you promote on WhatsApp, Facebook groups or LinkedIn.

    How to use this social share preview tool

    1. Read your existing tags. Open your page, view its source code, copy it and paste it into Step 1, then press Read tags. The tool fills in every field it finds and notes problems such as duplicate tags or tags written with the wrong attribute.
    2. Edit and preview. Change the title, description or image URL and watch the Facebook, X, LinkedIn and WhatsApp previews update as you type. You can also choose an image file from your device to see how it would look before you upload it.
    3. Fix the warnings. The checks list explains each issue in plain language, from images that are too small to URLs that are not absolute.
    4. Copy the tags. Paste the generated code into the head of your page, or use it as a checklist for your CMS or SEO plugin.
    5. Refresh the cache. Networks remember a link's preview for days. After changing your tags, paste the URL into the Facebook Sharing Debugger and LinkedIn Post Inspector and ask them to scrape it again.

    The ideal share image

    Use an image of 1200 × 630 pixels (a ratio of about 1.91:1). That size looks sharp in large previews on every major network and still works when it is shown as a small thumbnail. Keep the file under 1 MB in JPG or PNG format, and keep important text and faces near the centre, because WhatsApp, X and some phone apps crop the edges or show a square version. Avoid tiny text: a share image is often seen at the size of a thumbnail on a phone. Facebook ignores images smaller than 200 × 200 pixels, and X needs at least 300 × 157 pixels for a large image card.

    Always use an absolute URL that starts with https://. A relative path such as /images/share.jpg works in your browser but not for a social network's crawler, which does not know which site it belongs to. Make sure the image is public: images behind a login, or on servers that block requests from other websites, will not appear.

    Open Graph tags on Blogger and WordPress

    Blogger writes og:title, og:description and og:url for you, and uses the first image in each post as og:image. To control the preview, add a good image near the top of every post and fill in the post's Search description in Post settings, which Blogger uses as the description. Blogger does not add Twitter Card tags itself, but many themes, including ours, add them. On WordPress, SEO plugins such as Yoast, Rank Math and All in One SEO add Open Graph tags and let you choose a separate social title, description and image for each post.

    Frequently asked questions

    Why does Facebook still show my old image?

    Facebook caches link previews. Paste your URL into the Facebook Sharing Debugger and press Scrape Again. If the old image still appears, check that you changed the image URL itself rather than replacing the file at the same address, because the old file may also be cached.

    Do Open Graph tags help SEO?

    They are not a Google ranking factor. They do affect how many people click your links on social media and in messaging apps, which brings visitors and can lead to links and mentions that do help SEO.

    Why can't the tool fetch my page by URL?

    Browsers block websites from reading other websites' code directly, for security. Instead of sending your URL through our own server, the tool asks you to paste the HTML, so everything stays in your browser and nothing is stored.