What this tool does
You write your head metadata as a short field document — one field: value pair per line — and the tool gives you back a deterministic <head> snippet, a list of findings, and an approximate preview of how the page might appear in a search result and as a shared link.
Two things it deliberately does not do. It never fetches your og:image, so no third-party host learns that you previewed the page from your IP address. And it never claims the preview is what any particular network will show, because no third party can honestly promise that.
How to use it
- Write one
field: valuepair per line. Blank lines are ignored, and a line beginning with#is a comment. - Indent a line by one or more spaces to continue the field above it — useful for a long description that would otherwise run off the editor.
- Press Generate or Ctrl/Cmd + Enter, then Copy snippet and paste it into your
<head>.
A repeated field is an error rather than a silent overwrite, so you always see which value you meant. A field name the tool does not recognise is reported and never emitted — putting an arbitrary <meta name> into your page is a surface nobody needs, and an unrecognised name is nearly always a typo.
Why og:image must be absolute
A relative og:image such as /og/cover.png is one of the most common silent failures in head metadata. Your browser resolves it against your page and shows nothing wrong. The crawler that reads your tags is not on your host, so it resolves the same value against something else — and your shared link loses its image with no error anywhere.
The same applies to canonical, og:url and twitter:image. This tool treats a relative value in any of them as an error rather than a suggestion.
Valid syntax and complete metadata are two different things
The Open Graph protocol lists four required basic properties: og:title, og:type, og:image and og:url. A page carrying only og:title has perfectly valid Open Graph syntax and incomplete Open Graph metadata.
Most generators merge those two statements and tell you the markup is fine. This one reports them separately — "Field syntax: valid. Open Graph basic metadata: incomplete — 2 of the 4 required properties are missing." — and never describes a partial block as complete Open Graph markup.
If you supply no og:* field at all, the tool says nothing about it. Open Graph is optional and you will not be pushed into it.
Escaping is what makes this snippet safe to paste
Every value is escaped for the exact context it lands in. Values inside an attribute have &, <, >, " and ' replaced; the title, which is element text rather than an attribute, has &, < and > replaced so that a </title> inside it cannot end the element early.
The single quote is escaped even though every attribute here uses double quotes. That costs nothing and means a future change of delimiter cannot silently open a hole.
This is verified by parsing the generated snippet back and checking that each recovered value is character-for-character the value you typed — not by reading the escaping code and trusting it.
Why the preview is approximate
Every card is labelled approximate, and that label is real text you can read and a screen reader can announce, not a tooltip.
Search engines and social networks change their rendering without notice, truncate by rendered pixel width rather than by character count, apply their own fallbacks, and frequently ignore the values you supply in favour of the page content. Any tool showing you a pixel-perfect card is showing you a guess.
Length notes here are observations for the same reason. "Titles longer than about 60 characters are often truncated" is true and useful. "Maximum title length: 60" would be false — there is no such limit, nothing is refused for length, and the real cut-off depends on which glyphs your title uses.
Frequently asked questions
Does this fetch my image?
No, and it cannot. The preview shows the image URL as text inside a placeholder. The rendering path also runs through a sanitiser that removes image sources outright, so a request is impossible even if the preview markup were changed.
Will my card look exactly like this?
No. See above — the preview is approximate by design and says so on every card.
What is the ideal title length?
There is not one. Aim for something that reads well and puts the distinctive words first, because whatever is cut is cut from the end.
Do I need both Open Graph and Twitter/X tags?
Usually not. Twitter/X falls back to Open Graph for the title, description and image, so the Twitter block is worth adding mainly when you want a different card type or different text there.
Why does twitter:card only offer two values?
Because the other card types need fields this tool does not model — a player card needs the player URL and its dimensions, an app card needs per-store identifiers. Offering the card type without those fields would let you emit a configuration that looks complete and is not, which is the failure this tool exists to catch.
Is my metadata uploaded?
No. Draft metadata often names unreleased pages and campaign URLs; all of it stays in your browser.