When sharing your content on platforms like Facebook, LinkedIn, and WhatsApp, Open Graph tags tell the platform which title, image, and description to use in your link preview. Without properly defined Open Graph tags, your content may look incomplete or unappealing when shared.
Our Open Graph Generator helps you create Open Graph meta tags easily, without writing code manually. Simply fill in your content details, select a type (like Product, Video, or Website), and add one or multiple image URLs. The tool then writes your entries as HTML meta tags, with special characters escaped, ready to paste into your site’s <head> section.
Giving platforms a clear title, image, and description can make your links look more professional and engaging, which may help click-through rates, engagement, and brand credibility.
How to Use the Open Graph Generator
Follow these steps to generate your custom Open Graph meta tags:
-
Enter Basic Information:
-
Title: The main title or headline of your content.
-
Site Name: The name of your website or brand.
-
Site URL: The link to your webpage.
-
Description: A short and engaging summary of your content.
-
Select Content Type:
Choose from a wide variety of supported Open Graph types, including:
-
Book
-
Book Author
-
Book Genre
-
Business
-
Fitness Course
-
Music Album
-
Music Musician
-
Music Playlist
-
Music Radio Station
-
Music Song
-
Object (Generic Object)
-
Place
-
Product
-
Product Group
-
Product Item
-
Profile
-
Election
-
Restaurant
-
Restaurant Menu
-
Restaurant Menu Item
-
Restaurant Menu Section
-
Video Episode
-
Video Movie
-
Video TV Show
-
Video Other
-
Website
-
Add Images:
-
Under “No Of Image”, select how many you want to include (1-10).
-
Fill in one Image URL field for each image (1-10). Fields you leave empty are skipped.
-
Each filled URL becomes an og:image tag, which platforms can use for the preview image when your content is shared.
-
Generate Tags:
The tags appear in the result box below the form and update as you type, paste or change a field. Empty fields are left out.
-
Copy the Output:
Select the code in the output box and copy it, or use the “Copy to Clipboard” button. The output box is read-only, so to change a tag, edit the matching form field above.
💡 Pro Tip: Once you’ve added your tags to a live page, check it in the Sharing Debugger from Facebook to see how the social preview looks there.
Example Output
Here’s an example of the Open Graph meta tags generated by this tool:
<meta property="og:title" content="Example Page Title">
<meta property="og:type" content="website">
<meta property="og:image" content="https://example.com/images/preview1.jpg">
<meta property="og:image" content="https://example.com/images/preview2.jpg">
<meta property="og:url" content="https://example.com/page-url">
<meta property="og:description" content="A brief description of this page content.">
<meta property="og:site_name" content="My Website Name">
Simply copy and paste these tags into your HTML <head> section. Platforms that read Open Graph tags can then use them for link previews, though each platform decides how a preview is displayed.
Why Use the Open Graph Generator?
Creating Open Graph tags manually can be time-consuming and error-prone. This tool writes the tag markup for you and escapes special characters, so the syntax stays consistent.
1. For Developers and Designers
Save time coding by generating ready-to-use OG tags automatically.
2. For Content Creators and Bloggers
Make your shared links visually appealing and clickable with rich previews.
3. For Digital Marketers
Set the images, titles, and descriptions that social platforms can show when your marketing pages are shared.
4. For E-commerce and Businesses
Add Open Graph tags to product pages to create clear, shareable product previews.
Benefits of the Open Graph Generator
-
Live Output: The tags update as you type, paste or change a field.
-
Multiple Content Types: Supports 25+ Open Graph types including Product, Music, and Video.
-
Multi-Image Support: Add up to 10 image URLs, each written as its own og:image tag.
-
Standard Tags: Writes the og: tags that Facebook, LinkedIn, and other platforms read.
-
One-Click Copy: Copy your generated OG tags with the Copy to Clipboard button.
-
Escaped Output: Quotes, ampersands and angle brackets in your text are escaped so the tags paste cleanly into HTML, and a note appears if the title, image or page address is missing.
Real-World Applications
-
Web Developers: Quickly generate OG tags for client websites.
-
Marketers: Set the title, image, and description for social previews of campaign pages.
-
E-commerce Stores: Display product previews with a title, image, and description.
-
Publishers: Make articles more shareable and visually appealing.
-
Video Creators: Promote media content with preview thumbnails.
Related Tools
Try these related tools from SEO Site Checker:
💡 Pro Tip: After adding Open Graph tags, run your site through the Website SEO Checker to check your meta tags and page performance.