FREE SOCIAL METADATA STUDIO

Open Graph Generator.

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.

✓ Open Graph Tags✓ X Card Support✓ Social Preview
01 ConfigureSharing details
02 PreviewSocial card
03 ExportHTML tags
VELTOGEN OG STUDIO CONFIGURE · PREVIEW · EXPORT
STEP 01 · METADATA SETTINGS

Create Your Social Sharing Tags

Customize the information that describes your webpage to compatible social services.

SHARING DETAILS

Configure Metadata

Fields marked * are required. Example URLs are placeholders and must be replaced before real publishing.

Open Graph Object Type

Use Website for a general page and Article for an editorial post.

0 / 200

0 / 500

Image Dimensions

Width and height should match the real hosted image. Leave both blank if you do not know them.

OPTIONAL PLATFORM TAGS

X / Twitter Card Settings

Card Layout
ABOUT THIS TOOL

What Are Open Graph Meta Tags?

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.

HOW TO USE

How to Generate Open Graph Tags Online

Follow these four steps to prepare HTML metadata for a webpage.

  1. 01

    Enter Page Details

    Provide the real page title, preferred URL and public image address.

  2. 02

    Set Sharing Options

    Choose the OG object type and optional X Card style.

  3. 03

    Review the Preview

    Check the text layout and load the image if you want to inspect it.

  4. 04

    Generate and Publish

    Copy or download the markup and place it in the page head.

TOOL FEATURES

Open Graph and X Card Generator Features

OG

Core Open Graph Tags

Generate the four required OG properties with additional context when supplied.

X

Optional X Cards

Choose between summary and large-image card metadata.

IMG

Controlled Image Preview

Load an image only when requested and inspect the approximate card crop.

✓

Input Validation

Check URLs, locale formatting, image dimensions and handle syntax.

</>

Escaped HTML Markup

Safely encode special characters in generated HTML attributes.

↓

Copy and Download

Copy the snippet or save it locally as an HTML file.

PRACTICAL BENEFITS

Why Prepare Social Metadata Before Publishing?

01

Review Share Information Together

Evaluate whether the image, headline and description communicate a consistent message.

02

Reduce Manual Tag Errors

Avoid typing repeated metadata names and HTML attribute syntax from scratch.

03

Prepare Reusable Page Metadata

Create snippets for individual articles, product pages or general website routes.

04

Identify Missing Fields Early

Find required URL and title errors before copying the final output.

WEBSITE USE CASES

Where Are Open Graph Tags Useful?

BLOG ARTICLES

Editorial Sharing

Give each article its own headline, image and preferred public URL for readers who share the post.

PRODUCT PAGES

Product Link Context

Use a product-specific photograph and title rather than the same generic homepage image.

LANDING PAGES

Campaign Consistency

Align the sharing image and descriptive text with the actual campaign landing page.

WEB APPLICATIONS

Individual Tool Routes

Provide distinct metadata for shareable tool pages rather than reusing one card across an entire application.

META TAG REFERENCE

Essential Open Graph Tags Explained

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
HTML EXAMPLE

Example of Open Graph HTML Tags

A minimal implementation includes the four core Open Graph properties.

example.html SAMPLE MARKUP
<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">
Use Your Own Public URLs

Example.com values only illustrate the syntax. A working implementation must reference the actual public webpage and a publicly available image.

COMMON IMPLEMENTATION MISTAKES

Open Graph Problems to Avoid

Check these issues before adding your tags to a live webpage.

01

Using a Private Image Address

The image requires authentication or points to a local development file.

Recommended fix: Publish the image at a crawler-accessible HTTPS URL.
02

Using Incorrect Image Dimensions

The metadata claims pixel dimensions that differ from the hosted image.

Recommended fix: Enter the actual dimensions or omit both optional fields.
03

Adding Duplicate OG Properties

A page contains conflicting title, image or URL tags from several templates.

Recommended fix: Keep one consistent set of intended values in the delivered HTML.
04

Relying Only on Client Rendering

Metadata appears after JavaScript runs but is missing from the original HTML response.

Recommended fix: Use SSR, prerendering or server-generated metadata for the shared route.
05

Assuming the Mockup Is a Live Test

A browser simulation is mistaken for an actual social platform card.

Recommended fix: Inspect the deployed page with platform debugging tools.
DETAILED GUIDE

Best Practices for Social Sharing Metadata

01

Choose Clear, Page-Specific Titles

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.

The HTML title and og:title may differ, but both should accurately describe the page.
02

Use an Appropriate Sharing Image

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.

Preview real image crops, not just the full-resolution design.
03

Keep URLs Consistent

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.

Check your canonical link and og:url point to the intended page.
04

Publish Tags Where Crawlers Can Read Them

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.

Inspect the returned page source, not only the browser DOM after JavaScript.
05

Refresh Cached Sharing Metadata

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.

A correct live page can temporarily display an older cached card.
OFFICIAL DOCUMENTATION

Open Graph and Social Card References

Use official documentation to understand the metadata format and platform-specific behavior.

Browser-Based Meta Tag Generation

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.

FREQUENTLY ASKED QUESTIONS

Open Graph Generator FAQs

Practical answers about OG properties, image sizes, social card caching and website integration.

What is an Open Graph generator?

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.

Which Open Graph tags are required?

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.

Where do I put Open Graph tags in HTML?

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.

What image size works well for social sharing?

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.

Can I use a local image file for og:image?

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.

Why is my social preview not showing?

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.

Why does an old image or title still appear?

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.

What is the difference between Open Graph and X Card tags?

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.

Should I choose website or article for og:type?

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.

Should og:url match my canonical URL?

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.

Does this tool check whether a remote page has working tags?

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.

What is og:image:alt used for?

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.

Do Angular websites need server-rendered Open Graph tags?

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.

Does this preview guarantee how Facebook, LinkedIn or X will display my link?

No. It is a visual simulation of the entered content. Each platform controls its own card layout, truncation, image crop, caching and crawler behavior.