Open Graph is a set of meta tags in a page’s head that tells social networks, chat apps and other tools which title, description, image and address to show when someone shares a link to that page. The tags start with og:, such as og:title and og:image. Without them, each app guesses, and the preview often shows the wrong picture or a cut-off title.
What is Open Graph? #
The Open Graph protocol was originally created at Facebook. It turns a web page into a “rich object” that other apps can describe in a card. It is built on RDFa, so each tag is a meta element with a property and a content value. It lives beside your other meta tags in the HTML head. Facebook, LinkedIn, WhatsApp, Slack and many other apps read it when they build a link preview.
Which tags does a page need? #
The protocol names four required properties:
- og:title: the name of the thing, as it should appear in the card.
- og:type: what kind of thing it is, such as
websiteorarticle. - og:image: the address of the picture to show.
- og:url: the canonical address, used as the page’s permanent ID.
Useful optional ones include og:description (a short summary), og:site_name (the name of the whole site) and og:locale (language and territory, which defaults to en_US, so a UK site should set en_GB). The image can carry extra detail: og:image:width, og:image:height, og:image:type and og:image:alt. The protocol says the alt text should describe the image, not act as a caption, just like normal alt text.
Why does it matter for search? #
Open Graph is not a ranking factor, but Google does read some of it. Its guide to title links lists content in og:title meta tags as one of the sources it may use to write the title of your result. Its guide to site names says it also considers og:site_name, though WebSite structured data matters most if you want to state a preference. So an og:title that disagrees with your title tag can muddy the signal. Shares that look good also bring visits and, over time, mentions and backlinks.
Why does it matter for AI answers? #
When someone pastes your link into a chat, the app often fetches the page and reads its tags to build a preview. AI tools that read pages see the same head section. Clear, true tags give every reader the same short summary of the page. A description that matches the page, and matches your schema markup, is one less chance for a mixed-up fact. That consistency is part of good AI visibility.
How does it work? #
When a link is shared, the app sends its own crawler to the page. Facebook’s webmaster guide names its crawler’s user agent as facebookexternalhit/1.1. The crawler reads the tags, fetches the image, and stores the result. That stored copy is what people see. Facebook says images are cached by address and won’t be updated unless the address changes. So if you swap the picture but keep the same file name, old cards may keep the old one.
Repeat a tag to give more than one value, such as several images. The protocol says that if tags conflict, the first one wins, so a theme and a plugin both printing og:image can show the wrong picture.
What size should the image be? #
Each app has its own rules, so aim for one image that works almost everywhere.
| App | What it asks for |
|---|---|
| 1200 x 630 pixels recommended; 600 x 315 for large cards; 200 x 200 minimum; close to 1.91:1; under 8 MB | |
| At least 1200 x 627 pixels; 1.91:1; up to 5 MB |
A 1200 x 630 JPEG well under 5 MB meets both, per Facebook’s image guide and LinkedIn’s help page. Keep words and logos away from the edges in case an app crops it. Facebook also notes that the first share of a new page may show no image, because the crawler has not fetched it yet; adding width and height tags lets it draw the card at once.
What does the code look like? #
<meta property="og:title" content="Lambswool scarf, forest green" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://example.co.uk/wool-scarf/" />
<meta property="og:image" content="https://example.co.uk/img/wool-scarf-1200.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Green wool scarf folded on a wooden table" />
<meta property="og:description" content="Knitted in Scotland from lambswool. 180 x 30 cm." />
<meta property="og:locale" content="en_GB" />
Our social meta tag generator writes a block like this for you.
Common mistakes #
- No tags at all. Each app guesses, and may pick a logo, an advert or nothing.
- A relative image path. Use the full https address.
- Blocked images. If robots.txt or a bot rule stops the share crawler, the card is blank. Strict firewall settings can do the same.
- Duplicate tags from a theme and an SEO plugin together. The first wins.
- The same image on every page. It is allowed but tells people nothing.
- A wrong og:url, such as the home page on every product, which can merge shares.
- Huge files. Squash big pictures with our image compressor and crop them with the image resizer.
A worked example #
A small shop shares its new autumn range page. The card shows the cookie banner as the image and the title “Home”.
| Found | Fix |
|---|---|
| No og:image; app took the first picture it found | Add a 1200 x 630 og:image with width, height and alt |
| og:title “Home” printed by the theme on every page | Turn the theme’s tag off; let one plugin print the page title |
| og:url pointed at the home page | Point it at the range page itself |
After the fix, they ran the address through Facebook’s Sharing Debugger, which triggers a fresh scrape, and the new card appeared.
How to check it #
- Paste the address into our Open Graph Checker to see the card and any missing tags.
- Today, our Meta Tag Checker lists every meta tag on the page, including the og: ones. The guide to using it walks through the results.
- Make sure share crawlers are allowed with our Robots.txt Checker, and that the image returns a 200 with our HTTP Header Checker.
- Check that the og:url does not hop through a chain with our Redirect Checker.
- Use each app’s own debugger to refresh its stored copy after a change.
Questions #
Does every app read Open Graph? #
Most link previews do, but some apps also have their own tags. Check each app you care about with its own preview or debugger tool.
Is og:description the same as the meta description? #
No, they are separate tags. They can say the same thing. See meta description.
Why does my old image still show? #
The app is using its stored copy. Rescrape in its debugger, or give the new image a new file name.
Related words #
Sources #
- The Open Graph protocol, checked 24 November 2026
- Meta for Developers: A guide to sharing for webmasters, checked 24 November 2026
- Meta for Developers: Images in link shares, checked 24 November 2026
- LinkedIn Help: Make your website shareable on LinkedIn, checked 24 November 2026
- Google Search Central: Influencing your title links, checked 24 November 2026
- Google Search Central: Site names in Google Search, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Open Graph. URSY. Updated 26 November 2026. https://ursy.com/wiki/open-graph/ · Section links
Tools for this
- LiveOpen Graph + social preview checkerRun the check →
- LiveAI Agent ReadinessOpenAPI, .well-known files, MCP, agent instructionsRun the check →
- LiveWordPress Security Checkeropen user lists, author pages and APIsRun the check →
- ProAI shopping feedsOpenAI feed, AI catalogue text, JSONL, knowledge graph from your shopIn URSY Pro →