Docelora
ToolsAboutContact
SEO tools

Open Graph Generator

Control what people see when your link is shared: the title, text and image on Facebook, LinkedIn, WhatsApp, Slack, Discord and X. Fill in the fields and copy the tags.

Quick answer: add a title, description, page URL and an absolute image URL (1200 × 630 px is the safe size), choose the card type, and paste the tags into the page <head>. Platforms cache previews, so use their debug tools to refresh after a change.

Open Graph Generator

og:* and twitter:card · live preview

Runs on your device: everything you type or open is processed in this browser tab. Nothing is uploaded to Docelora or anyone else.

Recommended values

PropertyAdvice
og:titleUp to about 60–70 characters; can differ from the SEO title
og:descriptionOne or two sentences, about 100–200 characters
og:imageAbsolute https URL, 1200 × 630 px (1.91:1), JPG or PNG, under ~5 MB
og:urlThe canonical URL of the page
twitter:cardsummary_large_image for a big picture, summary for a small square
1. Fill in the fieldsWatch the preview card.
2. Copy the tagsPaste them into the <head>.
3. Refresh platform cachesUse Facebook’s Sharing Debugger, LinkedIn Post Inspector or re-share the link.

Why previews do not update

Facebook, LinkedIn, WhatsApp and Slack cache link previews, sometimes for days. After changing tags, ask each platform to scrape the URL again with its own debugging tool. Images must be publicly reachable – a page behind a login or blocked by robots.txt shows no preview.

Related tools

Frequently asked questions

What is Open Graph?

A set of meta tags, started by Facebook, that tells platforms what title, text and image to show for a shared link.

Which platforms use it?

Facebook, LinkedIn, WhatsApp, Slack, Discord, Pinterest, Telegram, iMessage and many others; X also reads it.

What image size should I use?

1200 × 630 pixels (1.91:1).

Why is my image not showing?

It must be an absolute, public https URL, not too large, and not blocked by robots.txt.

Why does the old preview still appear?

Platforms cache previews – re-scrape the URL with their debug tools.

Do I need twitter: tags?

X uses Open Graph for title, description and image, but needs twitter:card to choose the layout.

Can og:title differ from my title tag?

Yes – it can be written for social feeds.

What does og:type do?

It describes the object; “website” suits most pages and “article” suits posts.

Should I add og:image:alt?

Yes, it describes the image for screen-reader users.

Do OG tags help SEO?

Not directly, but better previews can bring more visits from shares.

Can I use a WebP image?

Some platforms do not support WebP for previews; JPG or PNG is safer.

What locale format is used?

language_TERRITORY with an underscore, e.g. en_GB.

Is the preview exact?

No – each platform crops and truncates slightly differently.

Where do the tags go?

In the page <head>, rendered in the HTML (not added later by JavaScript).

Why does LinkedIn show a different image?

It may use a cached image; use LinkedIn Post Inspector.

Can one page have several og:image tags?

Yes; most platforms use the first one.

Does WhatsApp need anything special?

Keep the image under about 300 KB for reliable previews.

Is it free?

Yes – no sign-up, no limits and no watermark.

Does it work on a phone?

Yes, in current mobile browsers; the layout adapts to small screens.

Is my content sent anywhere?

No. The tool runs in your browser and nothing you type is uploaded.

Last reviewed: 8 November 2026.