Home › All Tools ›

Open Graph Generator

Use Open Graph Generator online for free at FreeToolZones — no sign-up, no watermark.

Loading tool...

When someone shares a link to your page on a social platform or in a messaging app, the link rarely appears as a bare address. Instead, the platform builds a preview card with a title, a description, an image, and the name of the site. The information for that card comes from Open Graph tags, a set of meta tags placed in the page head. Without them, platforms guess, and their guesses often pick the wrong image, a truncated title, or a fragment of navigation text. The Open Graph Generator on FreeToolZones helps you take control of the preview by building the tags from your chosen title, description, address, image, and page type.

This page explains what each Open Graph tag does, how the generator’s fields and preview work, and how to choose images and wording that represent your page well. It also states the tool’s limits plainly, including the fact that the preview is illustrative and the image itself is not loaded or checked.

What Is the Open Graph Generator?

The Open Graph Generator is a free browser-based tool that creates Open Graph meta tags for a web page. Open Graph is a protocol, originally developed for social sharing, that lets a page declare its title, description, canonical address, type, site name, and preview image in a structured way. Platforms and messaging apps that support the protocol read these tags when a link is shared and use them to build the preview card.

The generator builds a set of tags from up to six inputs: a title, a description, a page URL, an optional image URL, an optional site name, and a type selected from a dropdown. The type tag is always included, defaulting to “website” when you do not change it. The other tags appear only when you supply the matching value. When an image URL is provided, the tool also adds image width and height tags fixed at 1200 by 630 pixels, matching the recommended image size.

At least one of the title, description, or URL must be filled in. If all three are empty, the tool shows an error and produces nothing. Page and image URLs, when provided, must start with http:// or https://, and the tool validates both before generating. Special characters in your values are escaped so the resulting markup stays well formed.

All generation happens in your browser. The tool does not fetch your page, does not load or verify the image, and does not submit the tags anywhere. It assembles the markup and shows an illustrative preview, and you place the tags in your page head.

How to Use the Open Graph Generator

Prepare your title, description, page address, and image address before you start, so the generation is a single smooth pass. The steps below match the actual fields and buttons in the tool.

  1. Enter a title. Type the title you want shown in the preview card into the Title field. This can match your page title or be a shorter, more shareable version of it. The title becomes the content of the og:title tag.
  2. Enter a description. Type a short description of the page into the Description box. Keep it concise and self-contained, because the card may be the only context a reader sees before deciding to click. The description becomes the content of the og:description tag.
  3. Enter the page URL. Type the full address of the page into the Page URL field, including the protocol. The tool validates that it starts with http:// or https://. The address becomes the content of the og:url tag, which identifies the canonical address of the shared page.
  4. Add an image URL if you have one. The Image URL field is optional. Enter the full address of the preview image, which the tool also validates as an http or https URL. The hint recommends an image of 1200 by 630 pixels. When an image is provided, the tool adds og:image plus width and height tags of 1200 and 630.
  5. Add a site name if you want one. The Site Name field is optional. Enter the name of your site as it should appear in the card, such as the publication or brand name. The value becomes the content of the og:site_name tag.
  6. Choose a type. The Type dropdown offers website, article, product, book, and profile. Choose the value that best describes the page. The default is website, which suits homepages and general pages. Articles, product pages, books, and profile pages should use their matching types. The type tag is always included in the output.
  7. Click Generate Open Graph Tags. The tool builds the tags and shows them in a code block, followed by an illustrative share preview and a note that the image itself is not loaded. If the required fields are all empty or a URL is invalid, the tool shows the relevant error instead.
  8. Review the preview and copy the tags. The preview shows the image address as text when an image is given, the site name or the domain derived from the URL, the title, and the description. It is a text illustration of the card’s contents, not a pixel-perfect rendering. When you are satisfied, click Copy Tags to copy the markup. The copy button asks you to generate first if clicked before generating.
  9. Paste the tags into the page head. Place the tags inside the head section of the page, alongside the title and other meta tags. Save the page and, when possible, test the live address with a platform’s sharing debugger or by sharing the link in a private test, to confirm the card appears as intended.

Key Features of the Open Graph Generator

The generator covers the core Open Graph tags with sensible defaults and honest presentation. The features below describe exactly what it offers.

Five page types

The type dropdown includes website, article, product, book, and profile. Choosing the right type helps platforms interpret the page correctly and, for some types, enables richer presentations. The default of website is a safe choice for general pages, and the dropdown makes the alternatives easy to reach when they fit better.

Automatic image dimensions

When an image URL is supplied, the tool adds width and height tags fixed at 1200 and 630. Declaring dimensions helps platforms reserve space and render the card without waiting to measure the image. The fixed values match the recommended image size, so they are correct when your image follows the recommendation. If your image has different dimensions, you may need to adjust the values by hand after pasting.

URL validation for page and image

Both URL fields are validated to require the http or https protocol. This catches relative paths and bare domains, which would not work as Open Graph values, because platforms fetch the image and resolve the page address from absolute URLs. The error messages identify which field failed, so the fix is obvious.

Illustrative share preview

The preview assembles the site name or domain, the title, and the description into a simple card layout, with the image address shown as text. The tool is explicit that the image itself is not loaded, and it restates the recommended image size of 1200 by 630. The preview helps you judge wording and completeness, not visual design.

Escaping and copy support

Special characters in titles, descriptions, and URLs are escaped during generation, so quotes and similar punctuation do not break the markup. The Copy Tags button copies the complete set of lines, guarded so it asks you to generate first when no output exists yet.

Practical Use Cases With Concrete Examples

Open Graph tags serve every page that might be shared. The examples below show how different pages use them.

A blog article shared on social media

A writer publishes an essay about urban gardening and generates Open Graph tags with the article type, the essay title, a two-sentence description, the article URL, a site name, and a 1200 by 630 photograph of a balcony garden. When readers share the link, the card shows the photograph, the title, and the description, making the share far more inviting than a bare link would be.

A product page shared in a messaging app

A small shop creates tags for a handmade candle product page, using the product type, the product name, a short description mentioning scent and burn time, the product URL, and a product photograph. When a customer pastes the link into a chat, the preview card shows the product clearly, and the recipient can judge the item before clicking.

A homepage shared by a partner organization

A charity’s homepage uses the website type, the organization name as the site name, a mission description, and a wide photograph from a recent project. Partner organizations sharing the homepage link produce a consistent, professional card every time, because the tags define the preview rather than leaving it to each platform’s guess.

An event page shared before the event

An organizer creates tags for a workshop page with the website type, the workshop title and date in the description, and an image showing the venue. Shares in the weeks before the event carry the date and the image together, so potential attendees get the essential information at a glance.

A documentation page shared in a team chat

A software team generates tags for a key guide, using the article type and a description that names the problem the guide solves. When team members share the link internally, the preview identifies the guide immediately, reducing the need for explanatory messages alongside the link.

Tips and Best Practices

  • Use an image of 1200 by 630 pixels. This is the size the tool assumes and recommends. Images of this size display well across platforms. Smaller images may appear blurry or be ignored, and very different aspect ratios may be cropped unexpectedly.
  • Write the description to stand alone. The card may be seen without any surrounding message. The description should identify the page, its topic, and its value in one or two sentences, without relying on context the reader does not have.
  • Use absolute URLs for the page and the image. Platforms fetch Open Graph values from their own servers, so relative paths do not work. The generator enforces absolute URLs, and you should keep them absolute when pasting.
  • Choose the most specific type that fits. An article should use the article type, a product page the product type, and so on. The website type is the fallback for pages that fit no specific category, not the default for everything.
  • Keep the image accessible and stable. The image address must load for the platform’s crawler, without requiring a login, and should remain at the same address over time. A moved or protected image leaves the card imageless.
  • Test the live page after publishing. Because the generator’s preview is illustrative and does not load the image, verify the real card with a platform sharing debugger or a private test share. Caching means a corrected tag may take time to appear, so test before announcing the page widely.
  • Update tags when the page changes significantly. A new title, a new lead image, or a changed focus should be reflected in the Open Graph tags, so shares after the change represent the current page rather than the old one.

Limitations of the Open Graph Generator

The generator builds tags from your input. It does not load, measure, or verify the image, so it cannot confirm that the image exists, has the recommended dimensions, or displays well. The preview is a text illustration, not a rendering of the actual card, and different platforms render cards differently. The tool offers five page types and the core tags only; it does not generate the extended properties available for some types, such as article authorship details or product pricing, which must be added by hand when needed.

Open Graph tags are also hints that platforms interpret in their own ways. A platform may cache an old card, crop an image differently, or override a value in specific circumstances. The tags improve the odds of a good preview substantially, but they do not control every platform’s display. Testing the live page remains essential.

Frequently Asked Questions

Do Open Graph tags affect search rankings?

Open Graph tags are designed for sharing previews, not for search ranking. Their value lies in making shared links more attractive and informative, which can increase clicks from social and messaging contexts. Search engines use other signals for ranking.

What image size should I use?

The tool recommends 1200 by 630 pixels, and it declares those dimensions in the generated tags when an image is provided. Use an image of that size for the most consistent display, and verify the result with a sharing debugger after publishing.

Why is the preview only illustrative?

The tool does not load the image or replicate any platform’s rendering engine. The preview shows the text values that will appear in the card so you can judge wording and completeness. The real card must be checked on a live page through a platform tool or a test share.

What happens if I leave the image field empty?

The tool generates the tags without any image lines. Platforms will then choose an image themselves, often the first suitable image on the page, or show no image. Providing an image gives you control over that choice and is strongly recommended for important pages.

Which type should I choose for a blog post?

Choose article for blog posts and news articles. Choose website for homepages and general pages, product for product pages, book for book pages, and profile for personal profile pages. The most specific fitting type is the best choice.

Can I use the same tags on every page?

No. The title, description, URL, and usually the image should be specific to each page. Reusing one set across pages produces identical cards for different content, which confuses readers and wastes the opportunity to represent each page accurately.

Related Tools

These tools complete the sharing and search setup around Open Graph tags.

Browse More Tools