Skip to content
ToolZone

OpenGraph Preview

Preview how your page looks when shared on Facebook, LinkedIn, and more, then copy the ready-to-use Open Graph meta tags for your site.

Runs in your browser. Nothing you enter or upload leaves your device.

Content type (og:type)

Preview

🖼️
og:image
tz.mk
My Awesome Page
This is a description of the page that will appear in social media previews.

Meta tags to add to your <head>

<meta property="og:type" content="website" /> <meta property="og:title" content="My Awesome Page" /> <meta property="og:description" content="This is a description of the page that will appear in social media previews." /> <meta property="og:url" content="https://tz.mk" /> <meta property="og:locale" content="en_US" /> <meta property="og:image" content="https://tz.mk/your-image.jpg" />

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the OpenGraph Preview

When someone pastes your link into Facebook, LinkedIn, Slack or a messaging app, the card that appears is built from Open Graph tags in your page's head. OpenGraph Preview lets you fill in those values, see a mock share card update as you type, and copy a ready-made block of og: meta tags. It's aimed at site owners, bloggers, marketers and developers who want shared links to look intentional.

How it works

Each field maps to one Open Graph property: og:type, og:title, og:description, og:url, og:site_name (only when filled in) and og:locale. For the article type, article:author and article:published_time are added when you fill them in; for the product type, product:price:amount and product:price:currency are added once a price is entered. The preview card shows the site name, or the domain taken from your URL when no site name is set.

If you choose an image, it is read by your browser with FileReader and never sent anywhere. The tool records its natural width and height, adds og:image:width and og:image:height tags, and compares the ratio with 1200:630. The og:image tag itself is written as a placeholder path on your domain (for example example.com/your-image.jpg), because the tool cannot know where you will host the file; replace it with the image's full public https URL.

How to use

  1. 1

    Pick a content type (og:type): website, article, product or video.other.

  2. 2

    Fill in Title, Description and URL, plus Site name and Locale if you want them.

  3. 3

    For an article add Author and Published date; for a product add Price and Currency.

  4. 4

    Enter the og:image URL, and optionally upload the image (1200x630 recommended) to check its size.

  5. 5

    Review the Preview card and click Copy meta tags. The page link keeps every text field, so you can share the draft.

Worked examples

Workshop landing page

A pottery studio wants a clean card for a class sign-up page, with no image chosen yet.

Input
Type: website, Title: Spring Pottery Workshop, Description: Four evenings of wheel throwing for beginners., URL: https://example.com/workshops/pottery, Site name: Clay Studio, Locale: en_US
Result
<meta property="og:type" content="website" /> <meta property="og:title" content="Spring Pottery Workshop" /> <meta property="og:description" content="Four evenings of wheel throwing for beginners." /> <meta property="og:url" content="https://example.com/workshops/pottery" /> <meta property="og:site_name" content="Clay Studio" /> <meta property="og:locale" content="en_US" /> <meta property="og:image" content="example.com/your-image.jpg" />

The last line is a placeholder. Swap it for the absolute URL of the image you upload to your server.

Square image warning

A blogger uploads a 1080x1080 photo for an article.

Input
Type: article, image 1080x1080
Result
Warning: Aspect ratio isn't close to the recommended 1.91:1 — image may get cropped.

A ratio of 1.0 is far from 1.91, so most platforms would crop the top and bottom of a wide card. A 1200x630 version avoids that.

Product listing

A shop adds price data to a product page.

Input
Type: product, Price: 29.99, Currency: EUR
Result
<meta property="product:price:amount" content="29.99" /> <meta property="product:price:currency" content="EUR" />

These two lines are added after the standard og: tags, and the preview card shows "29.99 EUR" under the description.

Limitations
The preview is a generic card, not a pixel-exact copy of how Facebook, LinkedIn or any specific app renders links. Without an image URL, og:image is a placeholder path on your domain; the tool doesn't host images. An uploaded image is only used for the preview and size check; it isn't stored or included in the link.
Assumptions
You will paste the copied tags inside the <head> of the page whose URL you entered. The image you preview is the one you will later upload and reference in og:image.
Privacy
Everything runs in your browser; the image you pick is read locally to measure it and is not uploaded to any server.

Frequently asked questions

What are Open Graph tags?+

They are meta tags such as og:title, og:description, og:image and og:url that tell social networks and chat apps what title, summary and image to show when a link to your page is shared.

What image size should I use for og:image?+

1200x630 pixels is the common recommendation. This tool warns you if an image is smaller than 600x315 or if its aspect ratio is not close to 1.91:1.

Why does the og:image tag say your-image.jpg?+

That placeholder appears when the og:image URL field is empty. Enter the full public URL of your image and the tag uses it instead.

Which og:type should I choose?+

Use website for home pages and general pages, article for blog posts and news, product for items you sell, and video.other for pages built around a video.

I updated my tags but Facebook still shows the old preview. Why?+

Platforms cache link previews. Use Facebook's Sharing Debugger or LinkedIn's Post Inspector to make them fetch the page again.

Do Open Graph tags help my Google ranking?+

They aren't a ranking factor for Google search. They control how links look when shared, which can affect how many people click them.

Related tools