Free Open Graph Generator

Generate Open Graph and Twitter Card meta tags with escaped HTML values. Review a simulated social share card, copy the code and test your published page.

Used for both Open Graph and Twitter / X title tags.

Optional summary used for both cards.

Full preferred public page URL. Format and access are not checked.

Hosted image URL. The preview requests this image from its host.

Optional name of your website.

Optional site account handle, for example @yourhandle.

Use website or article for the page type. Other types may need extra tags.

Simulated social share preview

Actual platform previews may differ.

https://www.tool-mint.com

Your title preview

Your description preview goes here.

Blank fields are omitted. For the four basic Open Graph properties, fill title, page URL and image URL, and choose a type. URLs and platform access are not validated.

<meta property="og:type" content="website" />

<meta name="twitter:card" content="summary_large_image" />
Steps

How to use

  1. Enter the title, full public page URL and image URL, and keep a suitable type such as website or article.
  2. Add a description, your own site name and your optional Twitter / X handle.
  3. Review the simulated card and generated HTML; blank fields are omitted.
  4. Copy the tags into your page head, or update the metadata already managed by your CMS or framework.
  5. Publish and inspect the live tags with Open Graph Checker, then verify the actual share on your target platform.
Examples and use cases
  • Prepare website metadata for a public landing page using its title, preferred URL and hosted image.
  • Generate article metadata for a blog post, then add any article-specific properties in your site code.
  • Reuse one title, description and image across Open Graph and Twitter Card tags.
Privacy, limits and tool details

Key facts

Input
Page title, description, page URL, image URL, site name, Twitter / X handle and type
Output
Up to six og:* tags and five twitter:* tags; HTML for the page head
Basic OG properties
og:title, og:type, og:image and og:url; blank fields are omitted
Twitter Card
summary_large_image; title, description and image reuse the OG inputs
Preview
Simulated card using your entered values; platform results can differ
Processing
Tag text generated in browser memory; preview images are requested from their host
Main limitation
No URL, image-dimension, crawler-access or platform validation
Privacy

Privacy and processing

Processing method: Builds meta tags locally, escapes HTML attribute values and shows a simulated card.

Privacy model: Tag text is generated locally. The preview requests the image URL from its host; copying uses the browser clipboard.

Limitations

Limitations

  • Blank fields are omitted; copying partial output does not make a page protocol-complete.
  • URL format, image dimensions and social crawler access are not validated.
  • One image and summary_large_image card type; extra image, locale and article properties need separate configuration.
  • The output does not include search metadata or an HTML canonical link.
  • A simulated card cannot guarantee a platform layout or refresh its cache.
Features

Benefits

Editable markup

Copy generated social meta tags into your own site.

Escaped values

Quotes and ampersands remain text inside HTML content attributes.

Visible draft

Review your entered title, description and image in a simulated card.

Tips

Pro tips

  • Use full public HTTPS URLs.
  • Enter ordinary text; the generator escapes it for HTML.
  • Review the live source after publishing.
Watch out

Common mistakes to avoid

  • Copying partial output with a missing title, URL or image.
  • Adding a duplicate set of tags alongside a CMS or SEO plugin.
  • Treating the simulated card as an exact platform preview.

Sources

Detailed Open Graph Generator guide

What this Open Graph generator creates

Enter your page details to generate Open Graph and Twitter Card meta tags for the HTML <head>. The output updates as you type. Copy the markup after reviewing it, then check the published page with the Open Graph Checker.

The card beside the form is a simulation using your inputs. Each platform fetches and renders a shared URL independently, so the layout, crop, text and cached version can differ.

Required Open Graph properties and optional fields

The Open Graph protocol requires four basic properties: og:title, og:type, og:image and og:url. Fill the title, page URL and image URL, and keep a suitable type. The type starts as website; use article for an article. Other object types can require additional metadata that this form does not provide.

Form field Generated tags What to enter
Title og:title, twitter:title A title that accurately describes the page
Description og:description, twitter:description A short page summary; optional in the OG protocol but recommended
URL og:url The full preferred public URL of the page
Image URL og:image, twitter:image A full public image URL
Site name og:site_name Your own site name; optional
Twitter / X handle twitter:site Your site's account handle, such as @yourhandle; optional
Type og:type A type appropriate for the page, such as website or article

The output always requests twitter:card="summary_large_image". Title, description and image values are shared between OG and Twitter tags. Blank fields are omitted, so a partially filled form produces partial metadata.

Add the generated tags to your page

  1. Enter the page title, full page URL, full image URL and appropriate type. Add a description and your own optional site details.
  2. Review the generated code. Quotation marks, ampersands and angle brackets are escaped for HTML attributes; type ordinary text rather than pre-escaped HTML entities.
  3. Copy the tags into the page's <head>. If a CMS, SEO plugin or framework already generates these tags, update that metadata instead of adding a conflicting second set.
  4. Publish, inspect the initial page HTML and run the Open Graph Checker or Twitter Card Validator to review the extracted tags.
  5. Check the actual share on your target platform. The generator cannot refresh a platform's cached preview.

og:url identifies the preferred page URL for Open Graph. It does not create an HTML rel="canonical" link. Use the Canonical URL Generator if you also need that separate tag, or Meta Tag Studio for search and social metadata together.

Image and preview limitations

Enter an image URL, rather than uploading a file here. Host the image at a stable public URL that social crawlers can fetch without signing in. Seeing it in your browser does not prove that a platform's crawler can retrieve it.

The generator uses one image and a fixed simulated card ratio. It does not check image dimensions, file size, HTTP status, robots rules or platform eligibility. It also does not generate og:image:alt, image dimensions, locale, article-specific properties or a complete page document. Add any extra metadata your page needs in your website's metadata settings or code.

Processing and privacy

Tag text is generated in browser memory. Loading the simulated image sends a request to the image's host, which can receive normal request information. Copying puts the HTML on your clipboard. Use public image URLs and avoid confidential values in shared or copied output.

Open Graph tags and search visibility

These tags describe preferred social link previews. They do not guarantee more clicks, traffic or higher Google rankings. Keep your search title, meta description, canonical link and indexing settings accurate separately. Google's supported meta tags documentation explains the metadata it uses for Search.

Frequently asked questions

The protocol requires og:title, og:type, og:image and og:url. Description and site name are optional. Other object types can require additional properties. Blank fields in this generator are omitted.

No. It builds markup from your inputs and escapes HTML attribute values. It does not check URLs, image dimensions or crawler access. Inspect the published page with Open Graph Checker and verify the actual platform preview.

Yes. It emits twitter:card with summary_large_image and reuses filled title, description and image values for Twitter tags. A filled handle becomes twitter:site.

No. It is a simulation using your inputs. Platforms control their own layouts, image crops, text display and caches.

Put them inside the page HTML head. If your CMS, SEO plugin or framework already manages the same tags, update that metadata to avoid a conflicting second set.

No. og:url is Open Graph metadata. An HTML rel="canonical" link is separate and must be configured in your site or generated separately.

No. Enter a hosted image URL. The simulated preview requests that image from its host; a browser preview does not prove that social crawlers can access it.

These tags describe preferred social previews. They do not guarantee higher rankings, clicks or traffic. Manage search metadata and indexing settings separately.
5 min read Works in browser