A laptop, a phone and a hand writing in a notebook on a wooden desk, banner image on the OG Preview Card Maker page

Outils / Build suite

OG Preview Card Maker

Design a 1200x630 share card, download the PNG, and copy or check the Open Graph meta tags that point to it.

Type a title and site name, pick a layout, and download the card as a 1200 by 630 PNG. The same page writes the og: meta tags for it, and checks the og: tags of an existing page head against the Open Graph protocol. Pasted text and pictures stay on your device. A request is made only when you press Fetch or tick the box that loads the preview image.

Open the toolWhat is insideWhat it cannot do
Screenshot of the OG Preview Card Maker tool

What is inside

What is inside the tool.

1200x630 card

A canvas drawn at exactly 1200 by 630 pixels with a title, site name and optional kicker. Left, center and split layouts, dark, light or brand background, and an accent colour. Long titles wrap, shrink to a floor, then end in an ellipsis with a message.

PNG export

The Download button saves the canvas as og-card.png. The file is 1200 by 630.

Meta tags for the card

Fills og:title, og:type, og:url, og:image with its type, width, height and alt, og:description, og:site_name and og:locale from your fields. Values are HTML-escaped and line breaks become spaces. A field left empty is left out, and the tool says which required tag is missing.

Head checker

Paste a page head or a whole page, or press Fetch to read one URL. The tool reads the og: tags and reports missing required tags, empty content, relative URLs, a missing image description, bad width or height, a locale that is not language_TERRITORY, an og:type that is neither a global type nor a prefixed custom type, tags written with name instead of property, and repeated singular tags. Repeated og:image tags are read as an ordered list, and each image gets its own structured properties (alt, width, height) from the tags after it.

Copy and download

Copy or download the tags, and copy or download the check report.

How to use it

Four steps.

Step 1

Enter the title and site name, then pick the layout and colours.

Step 2

Download the PNG and host it on your site.

Step 3

Enter the page URL and the address where the PNG will live, then copy the tags into the page head.

Step 4

Paste a live page head into the checker, or press Fetch, to confirm the tags.

What it cannot do

Limits.

Fetch is limited

Fetch reads one URL, up to 1MB, straight from your browser. Many sites do not allow another page to read them, and then the result is outcome unknown. The request may still have reached the site. Paste the head instead. Pages that build their tags with scripts show only the tags in the served HTML.

No platform previews

It does not draw how a feed, chat app or search result will frame the card, and it does not run any platform debugger.

Open Graph only

Tags for X cards and any platform-specific rules are not generated or checked. The protocol page is the only rulebook used.

One design family

Three layouts, three backgrounds, an accent colour and an optional background picture from your device. No templates, no bulk generation from a list of pages, no platform-specific previews.

Hosting

The PNG has to be uploaded by you. The og:image tag only works once that address serves the file.

Size limits

What it does

What it does.

From a URLFetch one URL and check its tags, if the site allows it. No preview.
Edit and generate tag codeYes, Open Graph tags from your fields
Create an imageOne canvas, three layouts, optional picture from your device, PNG
Check existing tagsYes, against ogp.me
Where it runsPasted text and pictures stay in the tab. Requests only on Fetch or when you tick the image box

Common mistakes

Each of these produces a message.

A relative image URL

The protocol page uses absolute URLs. Use the full https address.

Missing og:image:alt

The protocol page says a page with og:image should have it.

name instead of property

Open Graph tags are written with property on the protocol page.

An invented og:type

Use a global type from the protocol page, or a prefixed custom type with its prefix declared in the head prefix attribute.

Repeated singular tags

Repeating og:title, og:url or similar means the first one wins. Repeating og:image is fine, it makes a list.

A raw & or quote in a value

Escape them in the attribute. The tool does this for the tags it writes.

Questions

Before you ask.

Is my text or picture uploaded?

No. The card, tags and any background picture are handled in your browser tab. Only Fetch and the preview image box make a request, and only to the address you give.

Does the tool host the PNG?

No. Download it and host it yourself.

Will every site show the card the same way?

Not compared. Sites differ and the tool does not test them.

What does it cost?

Nothing. No account.

Your data

What stays on your device.

The tool runs in this browser tab. The card, the tags and any head you paste stay in the page. It requests a URL only when you press Fetch or tick the box that loads the preview image. The browser then contacts that address directly, with no cookies and no referrer. A fetched or pasted page is read as text only, so its images, scripts and frames are never loaded.

Keep going

Other tools you may want next.

Sources

References.

Try it

Make the card and its tags

Open OG Preview Card Maker
A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the OG Preview Card Maker page

Try it now.

OG Preview Card Maker runs in your browser. No account needed.

Pipeline

From fields to card

Type title, siteand kickerPick layout andbackgroundPick an accentcolourCanvas redraws at1200 by 630Download the PNG
Type title, site and kickerPick layout and backgroundPick an accent colourCanvas redraws at 1200 by 630Download the PNG
The card redraws on every change.

Bar Compare

Card width, in pixels

Left margin96 pixelsTitle area1008 pixelsRight margin96 pixels
Left margin96 pixelsTitle area1008 pixelsRight margin96 pixels
How the 1200 wide card is divided.

Bar Compare

Title size steps

Starting size84 pixelsSmallest size44 pixels
Starting size84 pixelsSmallest size44 pixels
The title starts large and shrinks to fit.

Pipeline

Fitting a long title

Wrap at the titlewidthCount the linesthat fitToo many lines,shrink fourStop at thesmallest sizeCut with anellipsis if stilltoo long
Wrap at the title widthCount the lines that fitToo many lines, shrink fourStop at the smallest sizeCut with an ellipsis if still toolong
Shrinks by steps of four.

Before After

A title that overflows

TitleNote under the cardTitle fits at the start sizeTitle fits after shrinkingTitle too long at thesmallest sizeNo noteNote says it was scaled downNote says the end is cut
Title to Note under the cardTitle fits at the start sizeNo noteTitle fits after shrinkingNote says it was scaled downTitle too long at the smallest sizeNote says the end is cut
What the note tells you.

Pipeline

Choosing the kicker colour

Measure accentagainst backgroundCompare with 4.5Use the accent ifit passesElse use the textcolour
Measure accent against backgroundCompare with 4.5Use the accent if it passesElse use the text colour
Contrast decides.

Before After

Kicker colour by contrast

AccentKickerAccent with ratio 6Accent with ratio 3Accent equal to backgroundKicker drawn in the accentKicker drawn in text colourKicker drawn in text colour
Accent to KickerAccent with ratio 6Kicker drawn in the accentAccent with ratio 3Kicker drawn in text colourAccent equal to backgroundKicker drawn in text colour
Same kicker, two accents.

Pipeline

Kicker spacing

Upper case thetextPut a spacebetween lettersStart at size 30Shrink by twountil it fitsStop at size 14
Upper case the textPut a space between lettersStart at size 30Shrink by two until it fitsStop at size 14
The kicker is spelled out letter by letter.

Bar Compare

Field length limits

Kicker30 charactersSite name40 charactersTitle120 charactersImage description200 charactersDescription300 characters
Kicker30 charactersSite name40 charactersTitle120 charactersImage description200 charactersDescription300 characters
Characters each box accepts.

Pipeline

Adding a background picture

Pick a PNG, JPEGor WebPCheck type andsizeCheck the pixelcountScale to cover thecardDim it so textstays readable
Pick a PNG, JPEG or WebPCheck type and sizeCheck the pixel countScale to cover the cardDim it so text stays readable
Read on this device.

Input To Output

Tags built for the card

Page URLImage URLImagedescriptionDescriptionType andlocaleMeta tag textWarnings listCopy anddownloadbuttonsTag builderInOut
InPage URLImage URLImage descriptionDescriptionType and localeTag builderMeta tag textWarnings listCopy and download buttonsOut
Entered next to the card.

Pipeline

Building the tag list

Clean each valueSkip empty onesAdd title, type,urlAdd image tags ifan image URLexistsAdd description,site name, locale
Clean each valueSkip empty onesAdd title, type, urlAdd image tags if an image URLexistsAdd description, site name, locale
Empty values are left out.

Authored Tiles

Tags added with an image

og:image:type, always pngog:image:width, 1200og:image:height, 630og:image:alt, from yourtext
og:image:type, always pngog:image:width, 1200og:image:height, 630og:image:alt, from your text
Four extra tags follow og:image.

Before After

Locale check

TypedResulten_USen-USenglishAcceptedWarningWarning
Typed to Resulten_USAccepteden-USWarningenglishWarning
Format is language, underscore, territory.

Pipeline

Checking a pasted page head

Paste HTML or afull pageParse it as adocumentCollect og metatagsRun each checkList findings byseverity
Paste HTML or a full pageParse it as a documentCollect og meta tagsRun each checkList findings by severity
The page is only parsed as text.

Authored Tiles

Warnings the checker raises

Tag written withname instead ofpropertyStructured tagbefore og:imageType not aglobal typeRelative url orimageLocale formatImage withoutalt
Tag written with name instead ofpropertyStructured tag before og:imageType not a global typeRelative url or imageLocale formatImage without alt
Softer than errors.

Bar Compare

Global types it knows

Music4 typesVideo4 typesOther4 types
Music4 typesVideo4 typesOther4 types
Types from the protocol page, by family.

Before After

Repeated tags

In the headFindingTwo og:title tagsTwo og:image tagsOne of eachNote: the first from the topis preferredNote: treated as an orderedlistNo note
In the head to FindingTwo og:title tagsNote: the first from the top ispreferredTwo og:image tagsNote: treated as an ordered listOne of eachNo note
Notes on duplicates.

Pipeline

Fetching a page to check

Validate the URLRefuse non-httpschemesRefuse user nameand password inthe URLRequest with nocookiesRead at most 1 MBCheck the text
Validate the URLRefuse non-http schemesRefuse user name and password inthe URLRequest with no cookiesRead at most 1 MBCheck the text
Your browser makes one request.

Support Matrix

Where data goes

Stays in tabReaches another siteCard drawingBackground pictureMeta tagsPage checkFetch button
Card drawingStays in tabBackground pictureStays in tabMeta tagsStays in tabPage checkStays in tabFetch buttonReaches another site
Nothing is uploaded by this tool.

Before After

Where the layouts put text

LayoutResultLeftCenterSplit accentText starts 96 px from theleftText centred on the middlelineLeft margin plus a 120 pxaccent band on top
Layout to ResultLeftText starts 96 px from the leftCenterText centred on the middle lineSplit accentLeft margin plus a 120 px accentband on top
Three layouts, three positions.

Before After

Frame line colour

BackgroundFrameDark backgroundLight backgroundFrame in #353535Frame in #dcdcdc
Background to FrameDark backgroundFrame in #353535Light backgroundFrame in #dcdcdc
A thin frame is drawn inset 24 px.

Before After

Picture checks

FileResultA GIF fileA 9 MB PNGA 50 million pixel JPEGA 2 MB WebPRefused: not PNG, JPEG orWebPRefused: over 8MBRefused: over 40 millionpixelsAccepted, dimmed behind thetext
File to ResultA GIF fileRefused: not PNG, JPEG or WebPA 9 MB PNGRefused: over 8MBA 50 million pixel JPEGRefused: over 40 million pixelsA 2 MB WebPAccepted, dimmed behind the text
Each file is tested before use.

Before After

Builder warnings

InputMessageTitle emptyURL emptyNo image URLImage URL, no descriptionLocale typed as englishog:title left outog:url left outog:image left out, host thePNG firstShould have og:image:altShould look like en_US
Input to MessageTitle emptyog:title left outURL emptyog:url left outNo image URLog:image left out, host the PNGfirstImage URL, no descriptionShould have og:image:altLocale typed as englishShould look like en_US
Each names the protocol rule.

Before After

Finding order

SeverityPositionErrorWarningNoteListed firstListed secondListed last
Severity to PositionErrorListed firstWarningListed secondNoteListed last
Sorted by severity.

Before After

Errors the checker raises

InputMessageEmpty pasteNo og:typeNo image tagWidth typed as wideDeterminer someNo og: meta tags were foundog:type is missingog:image is missingWidth must be a whole numberDeterminer must be a, an,the, empty or auto
Input to MessageEmpty pasteNo og: meta tags were foundNo og:typeog:type is missingNo image tagog:image is missingWidth typed as wideWidth must be a whole numberDeterminer someDeterminer must be a, an, the, emptyor auto
Examples with the message.

Before After

Determiner values

ValueResultatheautoansomeAcceptedAcceptedAcceptedAcceptedError
Value to ResultaAcceptedtheAcceptedautoAcceptedanAcceptedsomeError
Five are allowed, anything else errors.

Before After

Fetch refusals

TypedNoteftp://example.comhttps://user:pw@example.comnot a urlOnly http and https URLs canbe fetchedURLs with a user name orpassword are not fetchedThat is not a valid URL
Typed to Noteftp://example.comOnly http and https URLs can befetchedhttps://user:pw@example.comURLs with a user name or passwordare not fetchednot a urlThat is not a valid URL
Checked before any request.

Real Timeline

Title sizes tried, largest first

841 step802 step763 step724 step685 step646 step607 step568 step529 step4810 step4411 step
1841 step2802 step3763 step4724 step5685 step6646 step7607 step8568 step
Steps of four pixels.

Bar Compare

Kicker size range

Start size30 pixelsSmallest size14 pixels
Start size30 pixelsSmallest size14 pixels
Starts large, shrinks by two.