Launch ToolkitCalculatorsConvertersDeveloperTextAll toolsLaunches
Launch your project Sign in
Theme
Home/Launch Toolkit/Open Graph Tag Generator

Open Graph Tag Generator

Enter a title, description, URL, image, type and site name and this page writes the og: meta tags, plus a rough card preview.

Runs in your browser. Nothing you enter is uploaded.

About to launch? List your project on yourhack.ai for free, or go live today with Fast Track. Not sure where else to launch? Compare 25 launch sites.
Launch on yourhack.ai →

Worked examples

The values the form starts with, image left blank, type website, site name "Example"

Tagsog:title, og:description, og:url, og:type (website), og:site_name
Image left blankog:image is omitted, and the card shows an empty preview box instead of a photo
Host on the cardThe host of the URL, or example.com if the URL has none

og:type values in the menu

Menucontent attribute
websitewebsite
articlearticle
productproduct
videovideo.other

The intro on this page suggests an image of at least 1200 by 630 pixels. That is this page's own guidance for a full share card.

Create the Open Graph meta tags that control how your link looks when shared on Facebook, LinkedIn, Slack, WhatsApp and most other platforms. Fill in the title, description, canonical URL, preview image and the content type, article or website, and the tool builds a clean, correctly escaped block of og tags to paste into the head of your page. A live card preview shows roughly how the shared link will appear, so you can catch a title that is too long or a missing image before you publish. Open Graph is the shared standard behind almost every rich preview, so getting it right once fixes previews across many apps at once. Include an image at least 1200 by 630 pixels for the best result. Everything is generated locally in your browser and never uploaded.

How to use Open Graph Tag Generator

  1. Enter title, description and image URL.
  2. Choose the og:type.
  3. Generate the og meta tags.
  4. Copy them into the head of your page.

Frequently asked questions

Which tags are always written?

og:type is always written. The others are written only when that field is not empty.

What image size does this page suggest?

At least 1200 by 630 pixels, stated in the introduction on this page.

Is the preview uploaded?

No. The tags and the card are built in the browser.

Is Open Graph Tag Generator any good?

Give your verdict. Sign-in needed to vote and comment.

Badge

Link this tool from a README, doc or site. The badge links back to this page.

Listed on yourhack.ai

[![Listed on yourhack.ai](https://yourhack.ai/badge/open-graph-generator.svg)](https://yourhack.ai/open-graph-generator)