What you can do with OpenGraph & Social Card Previewer
- Preview social card
- Generate open graph meta tags
What this network diagnostic measures
Build copyable canonical, OpenGraph, and Twitter Card HTML tags while previewing a page card in local platform-style mockups.
Example input
Title: EasyUtils — Free Online Developer & Web Utilities; Description: Collection of fast, privacy-focused online converter, formatting, and developer micro-tools.; Canonical URL: https://easyutils.dev/; Image URL: https://easyutils.dev/og-image.jpg; Site Name: EasyUtils; Twitter Card: summary_large_image; Twitter Handle: @easyutilsExample output
<link rel="canonical" href="https://easyutils.dev/">
<meta property="og:type" content="website">
<meta property="og:url" content="https://easyutils.dev/">
<meta property="og:title" content="EasyUtils — Free Online Developer & Web Utilities">
<meta property="og:description" content="Collection of fast, privacy-focused online converter, formatting, and developer micro-tools.">
<meta property="og:image" content="https://easyutils.dev/og-image.jpg">
<meta property="og:site_name" content="EasyUtils">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="EasyUtils — Free Online Developer & Web Utilities">
<meta name="twitter:description" content="Collection of fast, privacy-focused online converter, formatting, and developer micro-tools.">
<meta name="twitter:image" content="https://easyutils.dev/og-image.jpg">
<meta name="twitter:site" content="@easyutils">Practical workflow
- Enter the page title, description, canonical URL, optional site name and Twitter handle, and an HTTP or HTTPS image URL.
- Choose the Twitter card type and inspect the local mockups for Twitter/X, Facebook, LinkedIn, Discord, and Google search.
- Use the image button to inspect the source artwork at a larger size; a remote image host can see your IP address when it loads.
- Copy the generated tags and place them in the target page's <head>; then validate the published page with each platform's current preview tool.
Common use cases
- Creating canonical and social metadata tags for a new article or landing page.
- Comparing title, description, and artwork placement across several social card layouts before publication.
- Generating consistent OpenGraph and Twitter Card snippets for a frontend template.
Important notes and limitations
- Meta values are HTML-attribute escaped. Only absolute HTTP and HTTPS URLs without embedded usernames or passwords are accepted for the canonical URL and image.
- The cards are visual mockups; platform truncation, caching, crawler access, and final rendering can differ. A 1200 x 630 image is a common share-image size, not a guarantee of identical crops.
- Remote image previews load in your browser with the referrer omitted; the image host can still see the request and your IP address. Text fields stay in the page and are not sent to that host.
- URLs with embedded usernames or passwords are rejected to prevent credentials from appearing in generated tags or image requests.
CLI OpenGraph metadata scraping & validation
Scrape OpenGraph tags with curl and pup
curl -sL https://easyutils.dev | pup 'meta[property^="og:"] attr{content}'Extracts og:title, og:description, and og:image metadata tags from server-rendered HTML.
Inspect OG headers and status with cURL
curl -sI -A 'facebookexternalhit/1.1' https://easyutils.devSimulates Facebook OpenGraph scraper User-Agent to inspect edge cache headers and response codes.
OG tag crawler caching & image size troubleshooting
Social platforms (Twitter, LinkedIn) showing stale OG preview
Cause: Edge crawlers cache OpenGraph metadata for 7 to 30 days based on URL.
Solution: Force cache purge using platform debuggers (Facebook Sharing Debugger, Twitter Card Validator) or append cache-busting query string.
og:image not rendering in WhatsApp or iMessage previews
Cause: Image exceeds 300KB file size limit or resolution is under 200x200px required by messaging apps.
Solution: Provide standard 1200x630px JPG/PNG images under 300KB with absolute HTTPS URLs (never relative paths).
Continue your workflow
- OG Image Extractor — extract social cards and images from live competitor websites.
- HTML Previewer — preview complete HTML markup in a secure sandboxed iframe.
Frequently asked questions
What image dimensions should I use for a social share card?
A 1200 x 630 image is a common OpenGraph share-image size. Individual platforms can crop or display it differently, so check the published page with the target platform's current preview tool.
Does the preview show exactly how every platform will render my page?
No. These local mockups compare the supplied metadata and image, but platform-specific truncation, cropping, crawler access, and cached results can differ. Validate the published URL with the platform's current preview tool.
Why does loading a remote image send a network request?
The browser must request the image URL to display it. The host can see your IP address, but this tool omits the referrer and keeps the title, description, and other text in the page.