Social Share Card & OpenGraph Preview

Preview Open Graph and Twitter Card embeds before sharing your links.

Recommended: 40-60 characters 0 chars
Recommended: 120-160 characters 0 chars
Recommended ratio: 1200 × 630 px (1.91:1)
Twitter preview cover
lucentool.com
Generated HTML Meta Tags
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/social-meta-preview" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/social-meta-preview" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Social Share Card & OpenGraph Preview</a></div>

Why Social Media Previews Drive Clicks

Links with engaging rich preview cards achieve significantly higher engagement and clicks than raw URLs on Twitter, Discord, and Slack. Without Open Graph meta tags, social crawlers grab random header icons or leave previews blank.

Open Graph Protocol & The 1.91:1 Ratio

The standard Open Graph image dimension is 1200 × 630 pixels (1.91:1 aspect ratio), ensuring optimal edge-to-edge rendering without letterboxing across both mobile feeds and desktop embeds.

Where it breaks down

The previewer keeps one state object — title, description, image URL, site name — and updateAll() pushes it into every platform card at once: the Google-style result, the X/Twitter card, the Discord embed and the generic Open Graph block. getDomain() pulls the hostname out of the image URL so the card can render the way a real share would. The tag generator runs the same values through escapeMeta(), which escapes ampersands, angle brackets and quotes, so a title containing & or a quote cannot break the markup you paste into <head>.

Formats, sizes and other limits

Truncation is approximate on purpose. Each platform rewrites its own limits without notice — X has moved its title cut-off more than once, Google varies the pixel width it renders — so the character counters are guidance, not guarantees. The tool never fetches the URL you type: image dimensions, content type and reachability are not verified, which is the usual reason a card looks right here and blank when shared. And the tags it emits have to be placed before any existing duplicates, or the crawler may pick the older ones.

Privacy: no data leaves this tab

The title, description and image URL you type are rendered into local previews and escaped into a code snippet; the page never fetches that URL, so neither the target site nor any platform learns you are preparing a card.

Frequently asked questions

Why does the real share look different?

Platforms re-measure and re-truncate at render time, and they cache old cards. The preview shows the values you supplied, not the platform's final layout.

My image does not appear when I share — why?

Usually one of three things: a relative URL, an unsupported format, or a page the crawler cannot reach. The tool cannot check any of those, so test with the platform's own debugger.

Does it support WeChat or other regional platforms?

WeChat reads the same Open Graph tags but keeps its own cache, so updates can lag. The generated tags are the shared foundation; per-platform quirks are outside the tool.