Open Graph Preview
Free online open graph preview. Process data instantly in your browser. No upload, no signup, fully private.
How to Use
- Paste or type your text into the Open Graph Preview input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.
What is Open Graph Preview?
Open Graph Preview generates properly HTML-escaped <meta property="og:*" /> tags and renders a realistic social share card preview (showing image banner, uppercase hostname, title, and description) so you can inspect how URLs look when shared on Facebook or LinkedIn.
How It Works
Fill in og:title, og:description, og:image, og:url, og:type, and og:site_name (requiring at least a title or URL) and click Generate & preview. buildOpenGraphTags() escapes &, ", <, and > attributes safely (escapeAttr), deriveHostname() extracts the domain via new URL(), and a 500 px card mockup renders alongside copyable meta tags locally.
Common Use Cases
- Catching truncated or awkward social headlines — inspect title and description proportions inside a 500 px social link card
- Verifying og:image loading and aspect ratio — test live image URLs (maxHeight: 240px) before deploying pages
- Safely escaping quotes in descriptions — use escapeAttr() so double quotes or ampersands never break <meta> HTML
- Exporting pure Open Graph markup — copy clean <meta property="og:..." /> lines strictly in-browser
Technical Details
Builder: buildOpenGraphTags() with escapeAttr() (&, ", <, >) and new URL() hostname extraction. Renders a 500 px simulated social card (onError hides broken images) plus monospace meta output locally.
FAQ
Is this Open Graph Preview free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.