How to use Open Graph Preview
- 1
Open the tool.
- 2
Enter your input.
- 3
Get your output instantly.
Open Graph Preview utility for fast and secure processing.
Open the tool.
Enter your input.
Get your output instantly.
Yes, it works entirely in your browser.
Yes, 100% free with no limits.
You spend time on a well-researched article. You optimize the headline, write a meta description, choose a strong header image. You publish it. A colleague shares it on Twitter. The preview card shows a broken image, a cut-off title, and a description pulled from random page text.
It happens all the time — and it's entirely preventable. The OpenGraph preview tool lets you see exactly what your link will look like before anyone shares it.
When someone pastes your URL into Twitter, Facebook, LinkedIn, or any messaging app that generates link previews, the platform's bot crawls your page and reads specific HTML tags from the <head> section. These tags are called OpenGraph (OG) tags, defined by a protocol created by Facebook.
The essential ones:
<meta property="og:title" content="Your Article Title Here" />
<meta property="og:description" content="A compelling 1–2 sentence summary." />
<meta property="og:image" content="https://yourdomain.com/header-image.jpg" />
<meta property="og:url" content="https://yourdomain.com/your-article" />
<!-- Twitter-specific, required for large image card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Your Article Title Here" />
<meta name="twitter:description" content="A compelling 1–2 sentence summary." />
<meta name="twitter:image" content="https://yourdomain.com/header-image.jpg" />
Without these tags, platforms guessing your content often get it wrong.
<head>.This is where the most common mistakes happen. Each platform has different display ratios, but there's a universal safe size that works on all of them:
1200 × 630 pixels at a 1.91:1 ratio
At this size, your image will display without cropping on Twitter, Facebook, LinkedIn, Discord, Slack, WhatsApp, and iMessage. Using a portrait image (taller than wide) will get heavily cropped by most platforms.
Additional notes:
Blog posts and articles: Every new post should have a custom OG image designed for social sharing. Using the post header image often works, but test it here first.
Product pages: E-commerce product pages shared on social media should show the product clearly against a clean background — not the generic website header.
Course and webinar landing pages: Registration pages shared into professional networks need a title card that communicates value at a glance.
Podcast episodes: Custom episode artwork with the episode title makes shared links dramatically more clickable than a plain text link.
Events and announcements: Event pages shared as links are competing with everything else in a social feed. A well-designed OG image is the difference between a scroll-past and a click.
Not including twitter:card meta tag: Without this, Twitter shows a tiny thumbnail instead of the large image card. This one missing tag kills your engagement on that platform.
Using a relative image URL: Your og:image must be an absolute URL (https://yourdomain.com/image.jpg), not a path like /images/header.jpg. Social bots can't resolve relative paths.
Image not publicly accessible: If your site is behind a login or on a staging domain, bots can't fetch your images. Always test with a publicly accessible URL.
Not invalidating the social cache: Once a platform has cached your OG data, it doesn't automatically re-fetch it when you update the image. Use Facebook's Sharing Debugger, Twitter's Card Validator, and LinkedIn's Post Inspector to force a refresh.
Do OG tags affect SEO? Not directly. Google doesn't use OG tags for ranking. However, better social sharing cards lead to higher click-through rates from social media, which indirectly influences traffic and signals.
What if my CMS doesn't support OG tags? WordPress: install Yoast SEO or Rank Math — both handle OG tags automatically. Webflow, Squarespace, Shopify, and most modern CMSes have native fields for these under SEO settings.
Can I have different OG tags for each page? Yes, and you should. Each page's og:title and og:description should match that page's actual content. A blanket site-wide OG tag is much less effective.
To help users find exactly what they are looking for, this tool is also optimized for searches like: open graph preview, opengraph test, social snippet.
Your data never leaves this device. All processing is handled locally by JavaScript.
Visualize how your website will look when shared on X (Twitter), Facebook, LinkedIn, and iMessage.
Recommended size: 1200 x 630 pixels
HTML Code to Add:
<meta property="og:title" content="ToolsHubs - Free Online Tools Directory" />
<meta property="og:description" content="Access 150+ professional-grade, privacy-first online tools. Convert, compress, and edit PDF, Image, Word & more—100% locally in your browser." />
<meta property="og:image" content="https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1200&h=630&fit=crop" />
<meta name="twitter:card" content="summary_large_image" />