Map Extract
Free tool

Open Graph tag generator for link previews

Fill in what a shared link should show: title, description, page address, image and its description. The generator writes the Open Graph tags plus the matching X (Twitter) card tags, and previews the card as you type.

Runs in your browser. Nothing you enter is uploaded.

Why a small business should care about link previews

Every time someone pastes your page into LinkedIn, WhatsApp, Slack, Teams, Facebook or an email app that shows previews, those apps look for Open Graph tags. Without them they guess, and the guess is often the cookie banner text or a stretched logo. With them, a prospect who receives your link from a colleague sees a clear headline, a proper picture and one line saying why it matters.

That is worth five minutes for the pages you share most: your home page, the main service page, a price list and anything you link to in outreach emails.

Making the tags

  1. Write the title and site name

    The title is the card's headline. The site name appears in some apps as a small label.

  2. Add a short description

    One sentence. Cards usually show only one or two lines.

  3. Give the page and image addresses

    Both must be full addresses starting with https://. A relative image path such as /og/share.jpg triggers a red warning, because most apps will not show it.

  4. Describe the image

    The alt text goes into og:image:alt and twitter:image:alt for people using screen readers.

  5. Choose the type and card size, then copy

    Type is website, article, product or profile. For X, choose Large image or Small square image, and add your X handle if you have one.

Example: sharing an event page for a garden nursery

A plant nursery (fictional) is promoting a spring fair to local cafes and shops it wants as stallholders. It fills in every field and gets fourteen tags; the locale is set to en_GB, and the X handle gains its @ automatically.

Input
Title: Spring Plant Fair at Willow Nursery
Site name: Willow Nursery
Description: Sat 18 April: 40 local growers, talks and free entry.
Page URL: https://www.willownursery.example/plant-fair
Image URL: https://www.willownursery.example/og/plant-fair.jpg
Image description: Trays of spring perennials on benches
Type: article. Card: Large image. X account: willownursery
Result
<meta property="og:type" content="article">
<meta property="og:title" content="Spring Plant Fair at Willow Nursery">
<meta property="og:description" content="Sat 18 April: 40 local growers, talks and free entry.">
<meta property="og:url" content="https://www.willownursery.example/plant-fair">
<meta property="og:image" content="https://www.willownursery.example/og/plant-fair.jpg">
<meta property="og:image:alt" content="Trays of spring perennials on benches">
<meta property="og:site_name" content="Willow Nursery">
<meta property="og:locale" content="en_GB">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@willownursery">
...

Before you share the page

  • The image is at least 1200 × 630 pixels and its important part sits in the middle, since some apps crop to a square.
  • The image address opens in a private browser window without a login.
  • The title and description match what the page actually says.
  • You have run the page through the sharing preview tool of the network you care about most, since networks cache old previews.

Questions people ask

What are Open Graph tags?

They are meta tags in the head of a page, such as og:title, og:description and og:image, which link previews are built from when the address is pasted into a social network, chat or messaging app. Facebook introduced the format, and LinkedIn, WhatsApp, Slack, Teams and many others now read it.

What size should an Open Graph image be?

1200 × 630 pixels, a ratio of about 1.91 to 1, is the size most networks recommend for large link cards and is what this generator suggests. Keep text and faces near the centre, because some apps crop previews to a square or a narrower shape.

Why is my link still showing the old preview?

Networks cache previews, sometimes for days. After changing your tags, paste the address into the network's own preview or debugging tool, such as LinkedIn's Post Inspector or Facebook's Sharing Debugger, and ask it to fetch the page again. The preview here shows your new tags immediately.

Do I need separate Twitter tags as well?

X reads Open Graph tags when its own are missing, but the twitter:card tag sets the card size, so it is worth including. This generator writes both sets from the same fields, so the title, description and image stay identical everywhere.

Where your data goes

The card preview is drawn from your typed values without fetching the image or page. Tags are written in your browser and nothing is sent to any network.

Checked against the tool on

Top