The Util Box

Open Graph Generator

Free SEO open graph generator. Generate OG meta tags for social. Improve your website search performance.

Open Graph Tags
<meta property="og:title" content="Page Title">
<meta property="og:description" content="Social share description">
<meta property="og:image" content="https://example.com/og-image.jpg">
<meta property="og:url" content="https://example.com">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Site Name">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Page Title">
<meta name="twitter:description" content="Social share description">
<meta name="twitter:image" content="https://example.com/og-image.jpg">

Embed this tool

Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.

<iframe src="https://www.theutilbox.org/embed/open-graph-generator" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Open Graph Generator tool from The Util Box"></iframe>
<!-- Free tool by The Util Box — https://www.theutilbox.org/tools/open-graph-generator -->
<a href="https://www.theutilbox.org/tools/open-graph-generator">Open Graph Generator by The Util Box</a>

Frequently Asked Questions about Open Graph Generator

Open Graph Generator — The Full Social Card Tag Set

This Open Graph generator produces the complete set of social sharing tags for a page — Open Graph for Facebook, LinkedIn and Slack, plus the Twitter Card equivalents. Fill in the nine fields and copy the block straight into your <head>.

It covers more than the simpler link preview generator: og:type, og:site_name and og:locale are all editable, and the Twitter fields are included alongside them.

What Each Field Controls

Field What it does
og:title The headline of the card.
og:description The supporting text under it.
og:image The picture. Use an absolute URL — a relative path will not render.
og:url The canonical address of the page.
og:type The content type — website, article, product and so on.
og:site_name The brand name shown alongside the title.
og:locale The language and region, in the form en_US.
twitter:card The card layout — summary_large_image, summary or player.
twitter:site The account credited on the card. Left out of the output entirely when empty.

Two of the fields are conditional: twitter:site and twitter:image are omitted from the output when they are blank, rather than being emitted as empty tags.

Honest Limits

  • The values are not HTML-escaped. A double quote in a title or description breaks the tag it lands in. Replace " with &quot; before you paste.
  • There is no preview. Unlike the Link Preview Generator, this tool gives you the tags but does not show you what the card will look like.
  • No canonical link, no Twitter creator handle and no image dimensions, which you will want to add yourself for a complete setup.
  • It generates the tags, it does not verify them. Whether a crawler actually picks them up depends on the page, and the image must be reachable at a public absolute URL.

Related SEO Tools

The tags are generated entirely in your browser.