How to Generate & Check Open Graph Meta Tags
- Enter a title, description, public page URL, and site name. Add a cover URL or try the demo.
- Review the large, compact, and chat card previews. Keep important content away from image edges.
- 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 / layout | Image starting point | Text & common issues |
|---|---|---|
| X / Twitter large card | Wide image; try 1200 × 630 and review the crop. | Lead with the topic; check both large-image and summary card types. |
| LinkedIn / Facebook | 1200 × 630, approximately 1.91:1. | Start near 50–60 title characters and 110–160 description characters; avoid edge text. |
| Slack / Discord | Use a landscape cover and test a compact crop. | Keep the title informative; unfurls depend on platform settings and cached metadata. |
| Compact summary | Check a centered square crop. | Keep the focal point visible at small size. |
| Published tags | Use 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.