Open Graph Generator

Create Open Graph (OG) meta tags controlling how your page looks when shared on social platforms. No signup. Ideal for giving your links an appealing social preview.

Remove Ads
Remove Ads

Result

Share on Social Media:

Fill in one short form — title, site name, page URL, description, type and image — and this free Open Graph Generator writes the og: meta tags for your page, live, in the "Result" block below the form. Copy them and paste them into your page's HTML head. No signup, no install, one page at a time. Two honest limits first: there is no "article" type in the dropdown — if your page is a blog post, pick website — and there is no visual preview of the card; the Result block shows the tags as code, and you check the finished preview on the platform itself after publishing.

On this page

  1. How to Generate Open Graph Tags Step by Step
  2. What Open Graph Tags Are and Why They Matter
  3. With Versus Without OG Tags
  4. Who Uses an Open Graph Generator
  5. Pro Tips for Open Graph Tags
  6. Common Open Graph Mistakes to Avoid
  7. Related Tools You May Need Next
  8. Frequently Asked Questions

How to Generate Open Graph Tags Step by Step

  1. Fill in Title, Site Name, Site Url and Description. Title is the headline shown in the share preview; Site Name is your site's name; Site Url is the page's full address, starting with https://; Description is the short text shown under the title. All four are required — the form will not let you submit with one empty, and the tags appear as you type, so you can watch the Result block fill in.
  2. Pick the Type — do not leave it on "book". The dropdown opens on book, because that is the first option in the list. Choose the type that matches your page: website for an ordinary page or a blog post (there is no article type), product for a shop page, profile for a person, music.song for a song, and so on. The full list has 26 options, from book and business.business to restaurant.menu and video.movie.
  3. Set "No Of Image" first, then paste the image URLs. The dropdown offers 1 to 10 images, and one Image Url field appears for each. Set the number before you paste anything: changing it afterwards rebuilds the fields and wipes any URLs you already typed. Paste the full https:// address of each image — the tool takes a URL, it does not upload or check the image.
  4. For a video page, fill in the five video fields. Picking a video type — video.episode, video.movie, video.tv_show or video.other — adds Video URL, Video Secure Url, Video Mime, Video Width and Video Height. Use the https:// address for the secure URL and the file's real type, for example video/mp4, with its real width and height in pixels. Any other type shows no video fields at all.
  5. Check the Result block. There is no Generate button: the tags appear under the "Result" heading and update with every keystroke. Before you type anything, the block already shows the tags with empty values — fill in every field first, and do not copy the empty version.
  6. Click "Copy to Clipboard", then paste the tags into your page's HTML head. Add them beside your other meta tags. Generating tags changes nothing on its own — they only work once they are in the page and the page is published. Do not press Enter while typing in a field: that submits the form and reloads the page empty, wiping everything you typed.
  7. Check the live preview after publishing. The tool shows code, not a mock-up of the card. Once the page is live with the tags in place, paste its URL into Facebook's Sharing Debugger or X's Card Validator to see the preview the platform will actually show.

A dashboard sharing a page to social preview cards

What Open Graph Tags Are and Why They Matter

Open Graph tags are meta tags in a page's HTML head that tell social platforms what to show when a link to the page is shared — the title, the description and the image in the preview card, instead of a plain link the platform has to guess at. Facebook, LinkedIn, WhatsApp, Telegram, Slack and many others read them; X reads them too, alongside its own card tags. This tool writes those tags for you from one form, so you do not have to type the HTML by hand — and it writes exactly the tags below, and nothing else.

Tag the tool writesExact line it generatesWhere the value comes from
Page title<meta property="og:title" content="…">Title field
Site name<meta property="og:site_name" content="…">Site Name field
Page URL<meta property="og:url" content="…">Site Url field
Description<meta property="og:description" content="…">Description field
Page type<meta property="og:type" content="…">Type dropdown (26 options; defaults to book)
Image<meta property="og:image" content="…">One line per Image Url field (1–10 images)
Video URL<meta property="og:video:url" content="…">Video URL field — video types only
Video secure URL<meta property="og:video:secure_url" content="…">Video Secure Url field — video types only
Video type<meta property="og:video:type" content="…">Video Mime field, e.g. video/mp4 — video types only
Video width<meta property="og:video:width" content="…">Video Width field, in pixels — video types only
Video height<meta property="og:video:height" content="…">Video Height field, in pixels — video types only

That is the whole output. There is no length check, no image check and no preview — a very long description or a broken image URL goes through exactly as typed, so keep your own text short and your URLs real (see the tips below).

Worked example: tags for a recipe page

Filling in the form with these values — Title "How to Bake Sourdough at Home" (29 characters), Site Name "The Baking Journal" (18 characters), Site Url https://example.com/sourdough-guide (35 characters), the 100-character description "A step-by-step sourdough guide with timings, temperatures and troubleshooting for first-time bakers.", Type website, and one image at https://example.com/images/sourdough-og.jpg (43 characters) — gives this exact output:

LineGenerated tag
1<meta property="og:title" content="How to Bake Sourdough at Home">
2<meta property="og:site_name" content="The Baking Journal">
3<meta property="og:url" content="https://example.com/sourdough-guide">
4<meta property="og:description" content="A step-by-step sourdough guide with timings, temperatures and troubleshooting for first-time bakers.">
5<meta property="og:type" content="website">
6<meta property="og:image" content="https://example.com/images/sourdough-og.jpg">

The 29-character title and 100-character description sit comfortably inside what social previews show without cutting off — platforms typically display roughly the first 60 characters of a title and around 200 of a description. The URLs above are examples, not real pages: use your own page's real address and a real, publicly reachable image URL. If the same page had two images, the output would be the same six lines plus a second og:image line; with ten images, fifteen lines in total.

Worked example: the same page as a video

Change the Type to video.movie and five more fields appear. Filling them in — Video URL https://example.com/videos/sourdough.mp4, Video Secure Url the same https:// address, Video Mime video/mp4, Video Width 1280, Video Height 720 — adds exactly these five lines after the og:type line and before the og:image line:

LineGenerated tag
6<meta property="og:video:url" content="https://example.com/videos/sourdough.mp4">
7<meta property="og:video:secure_url" content="https://example.com/videos/sourdough.mp4">
8<meta property="og:video:type" content="video/mp4">
9<meta property="og:video:width" content="1280">
10<meta property="og:video:height" content="720">

What this tool does not make

Knowing the gaps matters as much as knowing the output. This tool never writes og:image:width, og:image:height or og:image:alt, so there is no way to tell a platform the preview image's size or alt text here; it never writes og:locale, og:video:duration or any og:article:* tags (no author, no published time, no section); and it never writes any twitter:* tags. If you need X card tags with a title and image, add them with the Meta Tag Generator or the Twitter Card Generator — keeping in mind the Twitter Card Generator only makes app-card tags.

A laptop showing social media preview cards

With Versus Without OG Tags

AspectWith OG tagsWithout OG tags
Shared previewRich card: your title, description and imagePlain link, or whatever the platform guesses
ShowsTitle, description, image — and video details for video pagesOften just the bare URL
AppearanceControlled and consistent across platformsVaries, and can look unfinished
You control itYes — every word and the image are yoursNo — left to the platform's defaults

The difference is control: with these tags, the preview shows what you wrote; without them, each platform fills in the blanks itself, and the result is often a bare link with a scraped snippet. The tags do not promise clicks or rankings — they only decide what the shared link looks like. And the control only works if the tags are actually in the page: generating them here and never pasting them in changes nothing.

What this tool makesWhat it does not make
og:title, og:site_name, og:url, og:descriptionog:image:width, og:image:height, og:image:alt
og:type — 26 optionsarticle type (use website for blog posts)
og:image — up to 10 imagesImage upload or image checking — URLs only
og:video:* — 5 tags, video types onlyog:video:duration, og:locale, og:article:*
Live tags as you type, with Copy to ClipboardAny twitter:* tag, or a visual preview of the card

Who Uses an Open Graph Generator

Website owners improving shares. A site owner adds OG tags so every page shows a proper preview when someone shares it, instead of a bare link.

Bloggers and writers. A blogger tags each post so the headline and image travel with the link on Facebook, LinkedIn and WhatsApp. Note the gap: there is no article type here, so blog posts use website.

Marketers sharing content. A marketer generates the tags for a landing page or campaign page so the shared link presents the offer with its title, description and image.

Shop and product pages. A store tags a product page with type product (or product.item for a single item) so the shared link shows the product's name and photo.

Video pages. A site with video picks a video type and adds the five video tags, so platforms know the video's address, format and size.

Anyone sharing links socially. If your pages are shared on social platforms at all, these tags are what decide how the link looks — this tool writes them in under a minute.

A web page being turned into social share cards

Pro Tips for Open Graph Tags

Pick the Type deliberately — book is the default. The dropdown opens on book. If your page is not a book, change it before you copy: website for ordinary pages and blog posts, product for shop pages, a video type for video pages.

No article type? Use website. The list has 26 options but no article. For a blog post or news article, website is the closest honest choice — do not force it into book or product.

Set the image count before pasting URLs. Changing "No Of Image" rebuilds the image fields and wipes anything already typed. Choose 1–10 first, then paste each image's full address.

Use a full https:// URL to a real, public image. The tool never fetches or checks the image, so a relative path, a typo or a private URL produces a tag that looks fine but shows no image. A widely used size for the preview image is 1200×630 pixels (about 1.91:1); resize yours first with the Image Resizer if needed.

Keep the title short enough to show in full. Platforms typically display roughly the first 60 characters of a title — write the important words first and keep it to one clear line. Measure it with the Character Counter before pasting it in.

Keep the description to one or two sentences. Around 200 characters is what previews generally show; the worked example above uses 100. Say what the page is and why it is worth opening — no keyword stuffing.

Write plain words — avoid " and < > in your text. Quotation marks and angle brackets can break the generated tag, so use plain wording and leave quotes out of titles and descriptions.

Fill every field before copying. The Result block already shows the tags with empty values when the page loads. Copy only after every field is filled, and read the block once before pasting it into your page.

Match the tags to the real page. The title, description and image in the tags should be the page's actual title, description and image — a preview that promises something the page does not have misleads the people who click it.

Check the live preview after publishing. The tool shows code, not the card. Paste the live page URL into Facebook's Sharing Debugger or X's Card Validator to see the preview the platform will show, and to clear a cached preview after you change the tags.

Common Open Graph Mistakes to Avoid

Leaving the Type on book. The dropdown defaults to the first option, so a page that is not a book gets tagged as one. Pick the type that matches the page, every time.

Expecting an article type. It is not in the list. Blog writers who keep looking for it waste time — use website and move on.

Copying the empty tags shown on page load. The Result block is never empty: it shows the tags with blank values before you type anything. Copy only after filling in the form.

Pressing Enter while typing. There is no Generate button, and Enter submits the form — the page reloads empty and everything you typed is gone. Type, then click "Copy to Clipboard".

Pasting a relative or broken image URL. /images/og.jpg or a mistyped domain produces a tag that looks right but shows no image. Always paste the full https:// address of a public image, and open it in a browser first to confirm it loads.

Changing the image count after pasting URLs. The image fields are rebuilt from scratch, so your pasted URLs disappear. Set the count first.

Using quotes or angle brackets in a field. They can break the generated tag. Keep titles and descriptions to plain words.

Generating the tags but never adding them. The tags only work once they are in the page's HTML head and the page is published. Generating them here is half the job — paste them in, publish, then check the preview.

Forgetting the tags need the page to be public. Platforms fetch the page to build the preview. A page behind a login, or one that blocks crawlers, will not show the preview no matter how good the tags are.

Related Tools You May Need Next

Our Twitter Card Generator creates X card tags (app-card tags only — it makes no title or image tag), the Meta Tag Generator builds SEO, Open Graph and Twitter tags together, the Tag Generator makes plain SEO meta tags, and the Meta Tag Analyzer checks your tags once the page is live. Resize the preview image first with the Image Resizer, measure the title and description with the Character Counter, and add structured data with the Schema Markup Generator.

Frequently Asked Questions

How do I generate Open Graph tags?

Fill in the Title, Site Name, Site Url and Description, pick the Type, set the number of images and paste their URLs — the tags appear in the Result block as you type, with no Generate button to press. Click "Copy to Clipboard" and paste them into your page's HTML head.

What are Open Graph tags and why do they matter?

Open Graph tags are meta tags in a page's HTML head that control how the page looks when it is shared on social platforms — the title, description and image in the preview card. They matter because a shared link with a proper preview looks better and says more than a bare link, and the tags let you choose exactly what the preview shows.

Which tags does this tool generate?

It generates og:title, og:site_name, og:url, og:description, og:type and one og:image per image (up to 10). For a video type it adds og:video:url, og:video:secure_url, og:video:type, og:video:width and og:video:height. It makes no og:image:width, og:image:height, og:image:alt, og:locale or twitter:* tags.

Is there an article type for blog posts?

No — the Type dropdown has 26 options but no article. For a blog post or news article, pick website, which is the closest generic choice. Do not leave the default book in place.

How many images can I add?

Up to 10. "No Of Image" offers 1 to 10, and each image gets its own og:image tag. Set the number first, then paste each image's full https:// URL — changing the number afterwards wipes the URLs you already typed. The tool does not upload or check the images.

Does the tool make video tags?

Yes, but only when you pick a video type: video.episode, video.movie, video.tv_show or video.other. Five extra fields then appear — Video URL, Video Secure Url, Video Mime, Video Width and Video Height — and they produce the five og:video:* tags. Any other type shows no video fields.

Where do I add the Open Graph tags?

Paste them into the <head> section of your page's HTML, beside your other meta tags, then publish the page. Tags that are generated but never added to the page do nothing — platforms only read what is in the live page.

Why is there no Generate button?

There is none because the tags are written live, as you type, by JavaScript in the page — the Result block updates with every keystroke. The form itself does nothing when submitted, so do not press Enter while typing: that reloads the page empty and wipes what you entered.

How do I check the preview after publishing?

This tool shows the tags as code, not a mock-up of the card. Once the page is live with the tags in place, paste its URL into Facebook's Sharing Debugger or X's Card Validator to see the preview the platform will show — and to clear a cached preview after you change the tags.

Do Open Graph tags help my page rank higher?

No — they are not a ranking factor. They control how the page looks when it is shared on social platforms, which can make shared links more appealing, but they do not change where the page ranks in search results.