Metadata and Open Graph generator
Enter one page title, description, canonical URL, and social image URL. The generator produces ordinary metadata, Open Graph tags, and X card tags from the same source so they cannot drift apart. Local LinkedIn, X, Facebook, and Slack previews expose truncation and missing fields. They do not fetch the destination, and they cannot refresh a platform cache.
Generate metadata from one source
Platform previews
These are approximate local previews, not platform emulators. The image URL is shown but never loaded, so a private or signed draft URL is not requested.
- Network requests
- ·
- Our own script
- ·
Was this tool useful?
One source prevents metadata drift
Title and description appear in several tag families. Editing them independently makes previews disagree with search metadata. This generator escapes attribute values and emits each repeated field from the same input. It includes a canonical link, the core Open Graph fields, and a large-image X card.
A title that fits one card and not the next
Type this title and watch the four local cards:
How to proof sourdough at room temperature without your Dutch oven
.
This page flags a Facebook title over 65 characters as likely to be cut, and this one runs 66, so that card shows a note. The limits here for LinkedIn and X are 70 characters and for Slack 80, so those three cards show no note. All four titles use the same two-line clamp. The disagreement is the note,
not a different cut in the sentence.
They are not a measurement of what those products will show after they fetch your live URL. Platforms may reuse cached metadata. Cache lifetimes and refresh options differ, so consult the platform's documentation or debugger where available. This page cannot refresh a platform's cache, and it will not fetch your canonical URL to see what is actually in the HTML.
If the tags you copy from here are right and a preview is still wrong, why your link preview image is not showing walks the order that actually fixes it: the tags in the served HTML, then an absolute image URL a stranger can reach, then the cache.
What this page will not do
It will not scrape an existing page for tags. It will not load the social image URL, even to prove the file exists: a private or signed draft URL would leave this tab if it did. The image area shows your local file if you choose one, and otherwise a placeholder with the URL printed. It will not emit JSON-LD, player cards, or per-platform tag families beyond Open Graph and a large-image X card. It will not purge LinkedIn, X, Facebook, or Slack caches.
Paste a relative image path such as /brand/og-card.png. The issues list flags
it because a crawler has no site to resolve it against, and Copy tags stays blocked.
A title over 60 characters or a description over 160 is a warning beside the result;
Copy tags still works. Paste an https://
address. Unless you chose a local preview file, the card still shows a placeholder with
that URL printed, not a fetch of the image. That is the same privacy
rule as the missing fetch, applied to the image URL. When an image URL is set and
image alt text is empty, the page notes that a page with an og:image
should specify og:image:alt. That note does not block Copy tags.
Filled alt text adds og:image:alt and twitter:image:alt.
Slack's classic unfurl reads common Open Graph and X card metadata. That is why a Slack box is here. It is still a local sketch, not Slack's crawler.
Meta's image guide at developers.facebook.com/docs/sharing/webmasters/images/ gives a
minimum allowed size of 200 by 200 pixels, recommends at least 1200 by 630, and names
600 by 315 as the minimum for a large-format card. This page does not fetch your image,
so it cannot refuse or thumbnail a file against those numbers.
Questions
How do I make Open Graph tags for a page?
Fill in a title, a description, and full URLs for the page and its image. You'll get a <title> tag, a meta description, a canonical link, five Open Graph tags and four X card tags. A site name or X handle adds one tag each. A title over 60 characters or a description over 160 gets a note but still copies; an error, like a relative image URL, blocks Copy tags.
What does the tag block look like?
Here's the output for a title of "Fall Launch: 20% Off Trail Shoes", with a site name and an X handle filled in:
<title>Fall Launch: 20% Off Trail Shoes</title>
<meta name="description" content="Every trail shoe is 20% off through October 31.">
<link rel="canonical" href="https://example.com/fall-launch">
<meta property="og:type" content="website">
<meta property="og:title" content="Fall Launch: 20% Off Trail Shoes">
<meta property="og:description" content="Every trail shoe is 20% off through October 31.">
<meta property="og:url" content="https://example.com/fall-launch">
<meta property="og:image" content="https://example.com/fall-launch.png">
<meta property="og:site_name" content="Example">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Fall Launch: 20% Off Trail Shoes">
<meta name="twitter:description" content="Every trail shoe is 20% off through October 31.">
<meta name="twitter:image" content="https://example.com/fall-launch.png">
<meta name="twitter:site" content="@example">
Fill in the optional image alt text and it adds og:image:alt and twitter:image:alt, which the Open Graph protocol says a page with an og:image "should specify". It doesn't write og:image:width or og:image:height.
What size should an Open Graph image be?
The Open Graph protocol doesn't set one. Meta's guide to images in link shares says to "use images that are at least 1200 x 630 pixels for the best display on high resolution devices," and to "keep your images as close to 1.91:1 aspect ratio as possible." It also says "the minimum allowed image dimension is 200 x 200 pixels" and "the size of the image file must not exceed 8 MB." This page never loads your image URL, so it can't check the size for you.
Why does the image URL have to be absolute?
A relative path like /card.png only makes sense next to your page's own address. The generator accepts only a full http:// or https:// address. Type one and the issues list says "Image URL must be an absolute http or https URL." The canonical URL follows the same rule, and it can't carry a # fragment either.
Can it check my live page or test the image?
No. It won't fetch your canonical URL to read the tags already on it, and it won't load the image URL, even to see that the file exists. That way a private or signed draft address never leaves the tab. To see a picture in the cards, pick a file under Local preview image. It's shown from your own disk and isn't uploaded. Open the real image URL yourself, signed out, before you share the link. Before any update to this page goes live, an automated check types into every box and presses every button, and blocks the update if what it typed turns up in a request.
Why is my link preview not showing, or still showing the old image?
This page can't tell you. It builds tags in this tab and never contacts a platform, so it can't see what a platform shows for your link or change it. The cards here are local sketches that flag a title or description that may get cut. Why your link preview image is not showing walks the checks in order, starting with the HTML your server actually sends.
Related tools
If a preview image will not show, why your link preview image is not showing is the matching explainer. Use the slug generator before settling the canonical URL, or add campaign tracking with the UTM builder.