What Is an Open Graph Preview Tool?
An Open Graph (OG) Preview Tool lets you see exactly how a webpage will look when it is shared on social media — before you post it. You enter a URL or paste your HTML, and the tool instantly shows preview cards for Twitter/X, LinkedIn, Facebook, and Discord. No browser extension, no account, no guessing.
Open Graph tags are HTML meta tags that live in the <head> of a webpage. They tell social platforms what title, description, and image to use when someone shares a link. Without them, platforms guess — and the result is usually a blank card, the wrong image, or a truncated headline.
How to Use This Tool
URL mode: Paste a full URL (e.g. https://example.com/blog/my-post) and click Fetch. The tool retrieves the page HTML via a CORS proxy and extracts all OG and Twitter meta tags automatically. Some sites block external fetches; for those, use Manual mode instead.
Manual mode: Enter the values directly — og:title, og:description, og:image URL, og:url, and og:site_name. Previews update in real time as you type. This is useful for testing tag values before you publish your page.
The Four Platform Previews
| Platform | Card Style | Key Tags Used |
|---|---|---|
| Twitter / X | summary_large_image | twitter:title, twitter:description, twitter:image (falls back to OG) |
| Horizontal thumbnail | og:title, og:description, og:image | |
| Full-width image | og:title, og:description, og:image, og:site_name | |
| Discord | Embed with accent bar | og:title, og:description, og:image, og:site_name |
Twitter and Discord fall back to the OG tags automatically if no twitter: tags are set — so a well-configured set of OG tags covers all four platforms.
OG Tag Validator
The validator checks for the most important OG tags:
- og:title (required) — shown as the headline in all platform previews. Keep it under 60 characters to avoid truncation.
- og:description (required) — the text snippet shown below the title. Aim for 100–150 characters.
- og:image (strongly recommended) — the thumbnail. Recommended size: 1200 × 630 px (1.91:1 ratio). Use HTTPS, and keep files under 1 MB.
- og:url (recommended) — the canonical URL for this page. Prevents duplicate sharing counters.
Missing required fields are highlighted in red; missing recommended fields in amber.
Copy the OG Snippet
Once you are satisfied with the preview, click Copy Snippet to copy a ready-to-paste block of HTML meta tags. Paste it into the <head> of your HTML, your CMS template, or your Next.js <Metadata> export. The snippet only includes tags that have a value.
Common OG Tag Problems
Wrong image displayed: Make sure og:image is an absolute URL with HTTPS. Relative paths (e.g. /images/hero.jpg) are not supported. If the image recently changed, clear the platform’s cache — LinkedIn, Facebook, and Twitter all have link debugger tools for this.
No preview at all: The page may be missing og:title and og:description entirely, or may be blocking robots with a noindex directive. Use this tool’s URL mode to quickly check what tags are actually served.
Title truncated: Twitter truncates og:title after about 70 characters. Facebook after around 60. Shorter, punchy titles work best across all platforms.
Discord shows the wrong site name: Discord uses og:site_name for the link source label. If it is missing, Discord shows the raw hostname. Set og:site_name to your brand name.
Privacy
Everything in this tool runs entirely in your browser. No data you enter — URLs, titles, descriptions, or images — is stored or sent to any backend. The optional URL fetch goes to a public CORS proxy (AllOrigins); only the URL you provide is sent, and only to retrieve the page HTML.