Share a link in a chat or a feed and the platform builds a little card for it: a title, a line or two of description, and usually an image. Sometimes that card looks exactly as the page owner intended. Often it does not, because the platform guessed, pulling the first image it found and the first text on the page. Open Graph tags are how you stop the guessing.
This guide explains the four tags that matter most, og:title, og:url, og:description and og:image, plus the extra fields the free Open Graph Tag Generator on Ovatly supports. It walks through building a tag set with the generator and checking the text-only preview before you paste anything into your page.
Contents
- Quick answer
- What Open Graph tags are
- The four core tags, one by one
- The supporting fields: type, site name and image alt text
- How to generate your tags, step by step
- Worked example: tags for a guide article
- Limitations and alternatives
- Common mistakes
- FAQs
- Conclusion
Quick answer
Open Graph tags are <meta> tags with property attributes that sit in your page's <head> and tell platforms how to present the page when it is shared on Facebook, LinkedIn, WhatsApp and most other platforms. The core four are og:title (the card headline), og:url (the page's canonical address), og:description (the summary line) and og:image (the picture, given as an absolute URL, ideally 1200 by 630 pixels). Open the Open Graph Tag Generator, enter the title, canonical URL, image URL and description, set the type, site name and image alt text, check the preview mock, and copy the generated tags into your <head>. Empty fields are simply left out of the output.
What Open Graph tags are
Open Graph is a convention for describing a page to social and messaging platforms using <meta> tags. Each tag names a property with the og: prefix and gives its value as the content attribute. A platform reading the page looks for these properties first; only when they are missing does it fall back to guessing from the page title, the first text and any image it can find, which often produces a dull or wrong card.
The tags control presentation only. They decide how the shared card looks, not whether the page ranks anywhere: Open Graph tags do not affect search rankings. That separation is worth keeping straight, because the description you write for a social card and the meta description you write for search results are different tags doing different jobs, even when they share wording.
The four core tags, one by one
og:title is the headline on the card. It does not have to match the page's HTML title exactly, and many sites shorten it for sharing, but it should describe the same page honestly. In the generator this is simply the title field.
og:url is the page's canonical URL, the single address you want shares to point at. The generator asks for the title and canonical URL together as its first step, because everything else hangs off identifying the page correctly.
og:description is the summary text under the title on the card. Write it for someone deciding whether to tap, in the space of a sentence or two. It is separate from the meta description: that tag serves search results, while og:description serves social cards. They can share wording, but a page needs both tags if it wants both surfaces covered.
og:image is the picture on the card, and the tag with the strictest practical rules. Most platforms require an absolute image URL, a full address starting with the protocol, not a relative path. Most also recommend at least 1200 by 630 pixels for large cards. The generator does not fetch or check the image; it writes the tag with the URL you provide, and its preview shows the URL as text, so verify the image loads by opening the URL in a browser yourself.
The supporting fields: type, site name and image alt text
Beyond the core four, the generator lets you set the type, the site name and alt text for the image. The og:type value categorises the content for platforms: use website for homepages and general pages, article for posts and guides, and product for product pages. The site name identifies the publication the page belongs to, as distinct from the individual page's title, and appears in the output as the og:site_name line. The image alt text describes the picture for accessibility, in the same spirit as alt text on an image in the page body.
None of these is compulsory. The generator simply leaves empty fields out of the generated lines, so a minimal but correct set of four tags is better than a long set padded with guesses.
How to generate your tags, step by step
- Open the Open Graph Tag Generator and enter the title and canonical URL of the page.
- Add the image URL, an absolute URL, ideally 1200 by 630 pixels, and a description written for the card.
- Set the type, site name and alt text for the image.
- Check the preview mock, then copy the generated tags into the page
<head>.
The preview is a text-only mock built from your entries, so judge the wording and the field choices from it, not the final visual design. Each platform crops and styles cards differently, and the mock cannot reproduce that.
Worked example: tags for a guide article
The tool's own example builds tags for a guide: title "Pour Over Coffee: A Complete Guide", type article, site name "BrewLab".
The first generated line is the title tag:
<meta property="og:title" content="Pour Over Coffee: A Complete Guide">
It is followed by og:url, og:type with the value "article", og:image and og:site_name lines for the values entered. Read the shape rather than the specific values: one line per property, each value exactly what was typed into the corresponding field, and any field left empty simply missing from the output. That predictability is the point of generating the tags instead of typing them from memory, where a mistyped property name fails silently and the platform goes back to guessing.
Limitations and alternatives
The generator writes tags; it does not validate your live page. Its preview is a simplified mock built from your text, the image is not fetched, and each platform crops and styles cards differently, so a card that reads well in the mock can still crop awkwardly on a specific platform. The tool also cannot check that your image URL is reachable; that check is yours, by opening the URL in a browser. And the tags themselves have a hard boundary: they control presentation on social and messaging platforms and do nothing for search rankings.
The alternative is writing the <meta> lines by hand, which is fine for one page and error-prone across a site, or relying on a CMS plugin, which trades control for convenience. Generating the tags and pasting them in sits between the two: you see every line before it ships.
Common mistakes
- A relative image URL.
og:imageneeds an absolute URL. A path like /images/card.jpg leaves platforms unable to fetch the picture. - Assuming the tool checked your image. It did not. The tag carries the URL you typed and the preview shows it as text; open the URL to confirm the image loads.
- Skipping
og:descriptionbecause a meta description exists. They are separate tags for separate surfaces. One does not substitute for the other. - Guessing a type. Pick website, article or product to match what the page actually is; the type helps platforms categorise the content.
- Expecting a ranking benefit. These tags change how a shared link looks, nothing more.
FAQs
What happens if a page has no Open Graph tags? Platforms guess from the page title, first text and any image they find, which often produces a dull or wrong card. Explicit tags give you control.
Is og:image checked or downloaded here? No. The tool only writes the tag with the URL you provide, and the preview shows the URL as text. Verify the image loads by opening the URL in a browser.
Do I still need a normal meta description?
Yes. og:description is for social cards; the meta description serves search results. They can share wording but are separate tags.
Which og:type should I pick? Use website for homepages and general pages, article for posts and guides, and product for product pages. The type helps platforms categorise the content.
Where do Open Graph tags go?
In the <head> of the page. Generate the tags, check the preview mock, then copy the generated lines into the head alongside your other meta tags.
Conclusion
Four tags, written carefully, decide whether your page travels with the card you chose or the card a platform improvised. Set og:title, og:url, og:description and an absolute og:image at 1200 by 630 pixels or better, add type, site name and image alt text where they apply, and paste the result from the Open Graph Tag Generator into your <head>. The wider SEO Tools guide category covers the neighbouring checks, including how a page's wording reads under measurement in How to Analyse a Competitor Page's Keyword Use.