Live previews
See how your link renders on Facebook, X (Twitter), LinkedIn and WhatsApp — all updating as you type.
See how your page will look when shared on Facebook, X (Twitter), LinkedIn and WhatsApp. Edit the title, description, URL and image, then copy ready-to-paste Open Graph and Twitter Card meta tags. Everything runs in your browser — no uploads, no sign-up.
Private by design. Your title, description, URL and image are only used locally to render the previews and generate meta tags. Nothing is uploaded, stored, or logged anywhere. This tool does not fetch metadata from external URLs — you enter the values yourself.
Paste these tags inside the <head> element of your HTML page, before the closing tag.
og:url and is used to derive the domain shown in the previews.<head>.See how your link renders on Facebook, X (Twitter), LinkedIn and WhatsApp — all updating as you type.
Each field shows a live count with color-coded feedback: green when in the recommended range, amber near the limit, red past it.
Drop an image to see it in every preview. The tool also warns when the aspect ratio is far from 1.91:1.
Copy Open Graph, Twitter Card or both as a single block, ready to drop into your page's head section.
Nothing you type or upload leaves your browser. No URLs are fetched, and no images are transmitted.
Form and previews stack neatly on small screens and sit side by side on desktop.
og: prefix and are understood by most platforms. Twitter Cards use the twitter: prefix and control how links look on X (Twitter). Twitter falls back to Open Graph tags when its own tags are missing.<head> element of your HTML document, before the closing head tag. Most content management systems and static site generators also let you add them through their SEO settings panel.When you paste a link into a chat or a social post, the platform immediately tries to build a preview card. The title, description and image that appear in that card come from the page's Open Graph and Twitter Card meta tags. If those tags are missing or poorly written, the platform falls back to whatever it can scrape — often the wrong heading, a truncated paragraph, or a random image. Getting them right is one of the simplest and most impactful things you can do for how a shared link looks.
Facebook introduced the Open Graph protocol in 2010, and it has since become the de facto standard across most platforms. The essential tags are:
website for a home or landing page, or article for a blog post.en_US.Twitter Cards are set with the twitter: prefix. The most important is twitter:card, which chooses the layout. The two common options are summary (a small square image beside the text) and summary_large_image (a wide image above the text). Twitter falls back to Open Graph tags for the title, description and image when its own tags are missing, so keeping both in sync is best practice.
Images drive a large share of the click-through on social. A few rules make them work reliably:
/images/cover.jpg will not work because the crawler fetches from its own domain, not yours.Previews shown by any tool — including this one — are approximations based on how platforms typically render cards. The only way to see the real card is to share the actual URL and let the platform build it. Facebook provides a Sharing Debugger that will fetch your page and show the exact card, along with a cache-busting option to force a refresh after you update your tags. Twitter and LinkedIn offer similar tools. If your card looks wrong despite the tags being present, the usual culprits are caching, a redirect that hides the tags, or an image URL that returns a 404 when the crawler requests it.
This Open Graph preview generator is part of the TempScript free online tools collection. It runs entirely in your browser, requires no account, and never sends your data anywhere. If you work with web content regularly, you may also find our URL encoder and decoder and JSON formatter useful.
© 2026 TempScript. All rights reserved.