PreviewBox
Home / OG Meta Tag Generator

Free Open Graph Meta Tag Generator & OG Debugger

Build Open Graph and X Card tags, check your draft metadata, and copy the HTML for your page. No account required.

Metadata & generated tags

Edit your draft to update the card previews.

Social share card previews

Compare large images, compact cards, and chat unfurls.

Illustrative layouts. Crops, truncation, and cached results can differ on each platform.

Open Graph preview: see the card before you publish

An open graph preview is a draft view of the title, description, site name, and image that can accompany a shared webpage. Use the editor above to enter the metadata you intend to publish, then compare the large-image, compact-summary, and chat layouts beside it. The large card emphasizes a wide cover, the compact card checks a tighter crop, and chat embeds show how a title and short explanation sit together. Change one field at a time to judge its effect. These are illustrative layouts, so a client may crop the image or shorten the text differently.

This generator lets you review metadata before the webpage exists or before its new tags are deployed. It does not retrieve the page URL automatically or confirm what your server currently sends. When the tags and a public HTTPS image are published, open the homepage link preview tool and actively fetch the real URL. Compare those returned values with the draft you designed here. If they differ, check the published HTML, redirects, and duplicate tags before blaming a social cache. Local uploads and demo covers are design aids; a social platform cannot fetch a file that exists only in this tab.

Action Before vs. After

Compare metadata completeness, text length, and card size.

Before

After

How to Generate & Check Open Graph Meta Tags

  1. Enter a title, description, public page URL, and site name. Add a cover URL or try the demo.
  2. Review the large, compact, and chat card previews. Keep important content away from image edges.
  3. Replace any URL placeholders, copy the tags into your page’s head, then check the published link with platform inspection tools.

Three checks before you copy the tags

Use an absolute image URL. A value such as /images/launch.png depends on a base URL and can be handled inconsistently by sharing clients. Publish the image at a public HTTPS address such as https://example.com/images/launch.png and use that complete address in og:image and twitter:image. A local upload or generated data URL in this editor is for design review; it is not a public asset a crawler can fetch.

Check the source image, not just its displayed width. A 400 × 210 image stretched into a large card can look soft. Start with a 1200 × 630 cover and keep important details central so a compact square crop still works. There is no single 600 × 315 minimum that governs every platform and card type; small images may be cropped, scaled, or omitted depending on the client. This preview illustrates layout rather than certifying a platform's acceptance.

Separate publishing from cache refresh. If you replace a title but keep the same URL, a platform may still show its saved card. Confirm that the published HTML head contains the new tags, then use that platform's inspection or re-scrape option where available. Refreshing this generator does not clear another platform's cache.

The copied snippet contains the document title, description and canonical link; og:type, og:url, og:title, og:description, og:image, and og:site_name; plus twitter:card, twitter:title, twitter:description, and twitter:image. Replace equivalent existing tags to avoid conflicting duplicates. See the Open Graph specification for property definitions.

Social Share Image Sizes & Tag Best Practices

Use these as practical design starting points. The title and description ranges are editorial guides, and actual display lengths vary.

Platform / layoutImage starting pointText & common issues
X / Twitter large cardWide image; try 1200 × 630 and review the crop.Lead with the topic; check both large-image and summary card types.
LinkedIn / Facebook1200 × 630, approximately 1.91:1.Start near 50–60 title characters and 110–160 description characters; avoid edge text.
Slack / DiscordUse a landscape cover and test a compact crop.Keep the title informative; unfurls depend on platform settings and cached metadata.
Compact summaryCheck a centered square crop.Keep the focal point visible at small size.
Published tagsUse publicly accessible HTTPS image URLs.Data URLs and local files are preview-only. Avoid duplicate or conflicting tags.

The Open Graph protocol defines core properties including title, type, image, and URL. Publish your metadata before checking how social platforms fetch it.

Frequently asked questions

Is this Open Graph meta tag generator free?

Yes. Editing, previewing, and copying tags are free, with no account required.

Are my URLs or draft tags sent to any server?

Draft metadata is processed in your browser. The tool does not fetch the page URL. A remote image URL is loaded directly by your browser from its image host, which receives that request. Demo covers and uploaded images stay local.

Why does my link card not update immediately after changing meta tags?

Social platforms can cache link previews. After publishing updated tags, use the platform’s inspection or refresh tools when available and allow time for its cache to update.

What image size and aspect ratio work best for Open Graph?

A 1200 × 630 landscape image is a useful starting point for large cards. Also check a square crop for compact summary cards. Actual platform layouts vary.

What is the difference between summary_large_image and summary?

The large-image card emphasizes a wide image. The summary card uses a smaller image beside the text. The previews here illustrate those layouts.

Where in my HTML should I paste the generated meta tags?

Place the tags inside the document head, replacing existing equivalents to avoid conflicting duplicates. Replace image and page URL placeholders with public URLs before publishing.

How do I preview Open Graph tags?

Enter your draft title, description, page URL, and image in the editor to see an open graph preview in large, compact, and chat layouts. After publishing the tags, use the homepage link preview tool to fetch the public URL and compare its real metadata.

Explore more tools

For a video-led page, check a YouTube thumbnail before using the image as part of your launch materials.

Publish and Troubleshoot Your Generated Meta Tags

Prepare a launch page or client handoff

For a new product page, start with the final public URL rather than a temporary editor address. Enter the benefit in the title, explain the page in the description, and select a cover that still makes sense as a square crop. Keep the site name separate from the headline so a reader can identify the publisher without losing the first few words of the message. The generated snippet changes as you type; review the code before copying it.

For a client handoff, compare two draft titles using the same image and description. Copy the preferred tag set into the site's existing head template. Replace duplicate tags instead of adding a second conflicting set. After the page is public, check a link preview from the published URL to compare the fetched metadata with the draft. That fetch is a separate action on the homepage; this generator does not inspect your live server.

Understand the values you are publishing

After publishing these values, use the link preview checker to fetch the public URL and compare the returned card with your intended metadata.

SettingPractical check
Large imageStart with 1200 × 630 pixels; inspect a square crop too.
Title and descriptionUse the 50–60 and 110–160 character hints as editing guides, not universal client limits.
Page and image addressesUse public HTTPS URLs that work without signing in.
Open Graph identityCheck title, type, image, and canonical page URL together.

The Open Graph specification defines the metadata properties; it does not require one universal cover size or text cutoff for every app. The layouts here are simulations. Clients can choose a different crop, omit the description, or change how much text they display.

When the published card looks wrong

If an image fails, open its public HTTPS address in a signed-out browser. A login page, expired download link, or hotlink restriction can prevent a crawler from receiving an image. Loading a local photo or demo here proves the design, not public availability. Upload that asset to your own hosting and replace the preview-only address before using the tags on a real page.

If a card stays outdated, first inspect the page source for the new tags. A template cache or duplicate tag can make your browser and a social crawler see different values. Once the source is correct, use the platform's inspection tool where available and allow its cache to refresh. This generator cannot purge another service's stored preview or force that service to fetch immediately.

What the checks cover

The checklist catches missing draft fields, long copy, and image-loading problems inside this tool. It is not a crawler audit, search ranking score, or proof that a JavaScript-only page exposes metadata before rendering. Keep important share tags in the initial published HTML head, then test the actual public URL before sharing.