Open Graph tag generator

Build Open Graph and Twitter card meta tags in the browser, with length and absolute-URL checks.

Loading tool…

Recommended next step

Related developer tools

After using Open Graph tag generator, continue with Cron expression generator.

Open next

Tools selected to complete the same task.

4 steps

Tool guide

Open Graph tag generator: how it works

Practical information to understand the result and use this tool correctly.

About Open Graph tag generator

Open Graph tags are what Facebook, LinkedIn, Slack, and WhatsApp read for a link preview. Twitter cards use a parallel set of name attributes.

This generator only writes the HTML snippet. It does not fetch og:image, so a broken image URL still looks valid here.

og:title is warned past 60 characters and og:description past 200. Relative image or page URLs are rejected because crawlers resolve them inconsistently.

How to use it

  1. 1Enter the title, description, canonical URL, and absolute image URL.
  2. 2Pick website or article, and summary or summary_large_image.
  3. 3Copy the meta tags and paste them in the page head.

Frequently asked questions

What does the kitchen timer example emit?
Title Kitchen timer is 13 characters, under the 60 soft limit. Description A free browser timer for cooking. is 33 characters. Image https://utilihub.net/og/kitchen.jpg yields twitter:card summary_large_image and no errors.
Does this fetch the image?
No. The snippet is built locally. A 200 response and the real dimensions are not checked.
Why does a missing image warn on summary_large_image?
That card expects og:image and twitter:image. The tags are still emitted, with an image-missing warning. Switch to summary if you have no image.