Open Graph & X Card Generator

Free Open Graph generator: create og:title, og:description, og:image and X (Twitter) card tags with a live share preview, then copy the HTML.

  • 100% free
  • No sign-up
  • Runs in your browser

X (Twitter) card

Share preview

1200 × 630 image

example.com

Your title appears here

Your description appears here.

Open Graph and X card meta tags
<meta property="og:type" content="website" />
<meta property="og:title" content="" />
<meta property="og:description" content="" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="" />
<meta property="og:site_name" content="" />
<meta property="og:locale" content="en_US" />

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

Webmaster Tools

About the Open Graph & X Card Generator

The Open Graph & X Card Generator creates the tags that control how your page looks when it is shared on Facebook, LinkedIn, WhatsApp, X and other apps: the title, description, image, address, site name and type.

Choose the content type, such as a website, article, product or video, to get the extra tags that type uses. Add an X (Twitter) card type and handles, and the generator adds the twitter tags too. X reads the og tags for the title, description and image, so you do not need to repeat them.

A live preview shows the share card as you type. Everything runs in your browser, so your text or code never leaves your device.

How to use this tool

  1. 1Choose the content type.
  2. 2Enter the title, description, page address and image address.
  3. 3Add your site name, and an article’s author and date if needed.
  4. 4Choose the X card type and add your @handles.
  5. 5Copy the tags into the head of your page.

Best-practice tips

  • Use a 1200 × 630 pixel image for the best results everywhere.
  • Use a full image address starting with https://.
  • Keep the title short; it can be different from the SEO title.

After adding the tags

  1. Upload the page with the new tags.
  2. Check them with the Open Graph Checker.
  3. If a network still shows an old preview, use its debugger (for example Facebook’s Sharing Debugger) to refresh its cache.

For the search tags, use the Meta Tag Generator.

Answers

Open Graph & X Card Generator FAQs

Meta tags that tell social networks and messaging apps which title, description and image to show when your page is shared.

Related tools

Continue with these related webmaster tools.