Core Open Graph Tags
Generate the four required OG properties with additional context when supplied.
Create HTML metadata for social media link previews with this open graph generator. Enter your page title, description, URL, and sharing image to generate OG tags and optional X Cards. Review a live preview, validate your inputs, and copy or download the resulting HTML snippet.
Customize the information that describes your webpage to compatible social services.
Fields marked * are required. Example URLs are placeholders and must be replaced before real publishing.
Open Graph is a metadata protocol used to describe webpages as shareable objects. Its core properties identify the content title, object type, representative image and preferred URL. Compatible services can read this information when a link is shared.
VeltoGen's OG tag generator prepares those properties as HTML meta elements. It also supports optional values such as image alternative text, locale, site name and card-specific X metadata.
A free OG generator can help you prepare page-specific markup without manually writing every property. However, generating the code does not automatically install it on a website or guarantee a particular social card appearance.
Last updated: October 23, 2026
Follow these four steps to prepare HTML metadata for a webpage.
Provide the real page title, preferred URL and public image address.
Choose the OG object type and optional X Card style.
Check the text layout and load the image if you want to inspect it.
Copy or download the markup and place it in the page head.
Generate the four required OG properties with additional context when supplied.
Choose between summary and large-image card metadata.
Load an image only when requested and inspect the approximate card crop.
Check URLs, locale formatting, image dimensions and handle syntax.
Safely encode special characters in generated HTML attributes.
Copy the snippet or save it locally as an HTML file.
Evaluate whether the image, headline and description communicate a consistent message.
Avoid typing repeated metadata names and HTML attribute syntax from scratch.
Create snippets for individual articles, product pages or general website routes.
Find required URL and title errors before copying the final output.
Give each article its own headline, image and preferred public URL for readers who share the post.
Use a product-specific photograph and title rather than the same generic homepage image.
Align the sharing image and descriptive text with the actual campaign landing page.
Provide distinct metadata for shareable tool pages rather than reusing one card across an entire application.
These are the core and supporting properties used by this generator.
| Property | Purpose | Usage |
|---|---|---|
og:title | Name of the shared page or object. | Required |
og:type | Type of content, such as website or article. | Required |
og:image | Absolute image URL representing the page. | Required |
og:url | Preferred permanent URL identifying the object. | Required |
og:description | Brief description of the shared content. | Optional |
og:image:alt | Alternative description of the shared image. | Recommended |
twitter:card | X Card layout such as summary_large_image. | Optional |
A minimal implementation includes the four core Open Graph properties.
<meta property="og:type" content="website">
<meta property="og:title" content="Example Page">
<meta property="og:url" content="https://example.com/page">
<meta property="og:image" content="https://example.com/card.jpg">Example.com values only illustrate the syntax. A working implementation must reference the actual public webpage and a publicly available image.
Check these issues before adding your tags to a live webpage.
The image requires authentication or points to a local development file.
The metadata claims pixel dimensions that differ from the hosted image.
A page contains conflicting title, image or URL tags from several templates.
Metadata appears after JavaScript runs but is missing from the original HTML response.
A browser simulation is mistaken for an actual social platform card.
Write an OG title that identifies the content rather than a generic label reused across every route. A platform may shorten the visible title, so place the most useful context early.
Choose an image with a composition that remains understandable in wide and compact previews. A common large-card starting size is 1200 × 630 pixels, although platform-specific requirements can differ.
The og:url property identifies the shared object. Use the preferred public URL for the page, avoiding accidental staging domains, tracking variations or HTTP-to-HTTPS inconsistencies.
Sharing bots may not execute a full client-side application. Include metadata in the initial server response or prerendered HTML for routes that users will share.
After changing a published image or headline, confirm the new tags are live. Some platforms keep earlier previews in cache and may offer developer tools for refreshing the scraped result.
Use official documentation to understand the metadata format and platform-specific behavior.
The generator constructs HTML metadata from your form entries locally in the browser. This component does not send your text to a remote tag-generation service or fetch the page URL you enter.
The image preview is different: choosing Load Image from URL makes your browser request that image from its host. The request may be visible to the image provider.
Practical answers about OG properties, image sizes, social card caching and website integration.
An Open Graph generator creates HTML metadata describing how a webpage should be represented when a compatible service reads its link. This tool prepares OG tags and optional X Card tags from the details you enter.
The core protocol defines og:title, og:type, og:image and og:url as required properties. A description, site name, locale, image dimensions and image alternative text can provide additional context.
Place the generated meta elements inside the head of the relevant HTML page. Remove or update conflicting existing tags so the document does not contain competing values for the same property.
A 1200 × 630 pixel image with an approximately 1.91:1 aspect ratio is a common choice for large link previews. Requirements and display crops vary by platform, so check the intended service and keep important content away from image edges.
No. Social crawlers need a publicly accessible absolute image URL. Upload the image to your website or image hosting service and use its HTTPS address, not a local computer path.
Check that the deployed HTML contains OG tags, og:image points to a reachable image, the page is publicly accessible and the image is supported by the platform. Client-only metadata updates may not be visible to crawlers.
Social platforms often cache metadata for previously shared URLs. First confirm the live page serves your new tags, then use the platform’s official sharing debugger or card inspection tools where available to request a refresh.
Open Graph uses properties such as og:title and og:image. X Card markup uses names such as twitter:card and twitter:image. Both describe shareable content, but X Card tags also select a supported card layout.
Use website for a general website page and article for a specific editorial article or blog post. The selected type describes the shared object; it is not an instruction that guarantees a particular card design.
Usually yes. Use the preferred public address for that content consistently. If you publish multiple URL variants for one page, mismatched identifiers can make social sharing and canonical signals harder to manage.
No. It validates the form and produces metadata but does not fetch a remote webpage or verify what a social crawler receives. Test your deployed page separately.
It provides alternative text describing what the shared image depicts. Write a concise description of the actual image rather than repeating the page title or stuffing keywords.
For reliable social sharing, ensure important metadata is present in the HTML returned to the crawler, such as through server-side rendering or prerendering. Do not rely only on JavaScript that runs after a browser loads the page.
No. It is a visual simulation of the entered content. Each platform controls its own card layout, truncation, image crop, caching and crawler behavior.