Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Generate og: meta tags for rich social media link previews.
<meta property="og:title" content="My Page Title">
<meta property="og:description" content="A compelling description for social link previews.">
<meta property="og:image" content="https://example.com/preview.jpg">
<meta property="og:url" content="https://example.com/">
<meta property="og:type" content="website">Open Graph tags (og:* meta tags) control how a page's link preview appears when shared on Facebook, LinkedIn, Discord, Slack, and most other platforms that generate rich link previews. This tool generates the standard set from simple form fields.
Enter your page's title, description, preview image URL, page URL, and content type. The generated <meta property="og:..."> tags appear instantly, ready to paste into your page's <head>.
og:title and og:description are the headline and text shown in the preview card. og:image is the preview thumbnail (recommended at least 1200x630px for best results across platforms). og:url is the canonical URL the preview links to. og:type (usually "website" or "article") hints at the content category.
For the search-engine-facing meta tags instead, see the Meta Tags Generator.
The tool produces five meta tags, one per line: og:title, og:description, og:image, og:url and og:type. The type dropdown offers website, article, product and profile, and defaults to website. Any double quotes or special characters you type into the fields are escaped for use inside an HTML attribute, so a title such as Guide to "Fast" Pages will not break the tag. Nothing is sent anywhere; the tags are built in your browser from what you typed.
The generator does not add optional companions such as og:site_name, og:locale, og:image:width, og:image:height, og:image:alt or any twitter:* tag. If you want those, paste the output into your template and add the extra lines by hand.
Suppose you are publishing a hypothetical blog post at https://www.example-bakery.com/blog/sourdough-starter-guide. You enter the title "Sourdough Starter Guide for Beginners", a one-sentence description, the image URL https://www.example-bakery.com/images/starter-og.jpg, the page URL above, and set the type to article. The output is five meta lines that you place inside the head element of that specific page. When someone pastes the link into a chat or social post, the platform fetches the page, reads those tags and builds the card from them rather than guessing from the page body.
Open Graph tags only describe a page; they do not guarantee how a platform will display it. Each network decides its own truncation lengths, crop ratios and whether to show a large or small image. The tags also have no effect on search rankings by themselves. They are useful precisely for the moment a link is shared, so treat them as a presentation layer alongside, not a replacement for, your regular title and description tags.
1200x630px is the widely recommended size for consistent rendering across Facebook, LinkedIn, and most other platforms -- smaller images may display cropped or blurry.
X (formerly Twitter) primarily uses its own separate twitter:* meta tags, falling back to Open Graph tags only if Twitter-specific ones are absent -- for full control on X, add Twitter Card tags separately.
Most platforms offer a debugger tool (e.g. Facebook's Sharing Debugger) that fetches your URL and shows exactly how the preview will render, which also helps clear cached old previews after you make changes.
Inside the head element of the HTML page they describe, alongside your other meta tags. In a framework or CMS, put them in the template or SEO field that outputs head content for that page.
You can use a default image as a fallback, but a page-specific image usually produces a more relevant card. Whatever you choose, the URL must be absolute and publicly accessible.
Platforms cache the first version they scrape. Run the URL through the platform's sharing debugger or wait for the cache to expire so the new tags are fetched.
No. It outputs only the five og:* tags listed above. Add twitter:card and related tags manually if you want to control the X preview separately.
Reference: MDN Web Docs