OpenGraph Preview & Tester
Paste HTML meta tags or full page source to preview how your links appear on Facebook, Twitter & LinkedIn
Social Media Previews
Paste your HTML or meta tags here to see exactly how Facebook, Twitter, and LinkedIn will display your link — before you share it publicly. The tool parses og: and twitter: properties, flags anything missing, and generates valid markup you can copy straight into your code. And everything runs in your browser. Nothing gets uploaded.
How It Works
The parser reads every <meta> tag with an og: or twitter: property from your pasted HTML. It maps those values onto real social card templates — the same layout Facebook, Twitter, and LinkedIn actually use. If a required tag is missing, you'll see a warning right on the preview. Hit "Generate Meta Tags" and the tool builds a complete, valid set of OG tags for you.
Examples
Blog Post With Missing Image Tag
You pasted your blog's head section but forgot the og:image tag.
<meta property="og:title" content="10 CSS Tricks">
<meta property="og:description" content="Speed up your layouts">
<meta property="og:type" content="article">
Preview: shows title + description but blank image area. Warning: "og:image is missing" flagged in red.
E-commerce Product Page
Checking how a product link will render before launching a Facebook ad campaign.
<meta property="og:title" content="Leather Messenger Bag">
<meta property="og:description" content="Hand-stitched, fits 15-inch laptops">
<meta property="og:image" content="https://shop.example.com/bag.jpg">
<meta property="og:url" content="https://shop.example.com/bag">
<meta name="twitter:card" content="summary_large_image">
Facebook card: large image with "Leather Messenger Bag" title. Twitter card: large image format. LinkedIn: standard preview. All tags valid — no warnings.
Generating Tags From Scratch
You don't have any OG tags yet. Fill in the fields and let the tool write the markup.
Title: My Portfolio
Description: Front-end developer based in Austin
Image URL: https://me.dev/photo.png
URL: https://me.dev
<meta property="og:title" content="My Portfolio">
<meta property="og:description" content="Front-end developer based in Austin">
<meta property="og:image" content="https://me.dev/photo.png">
<meta property="og:url" content="https://me.dev">
<meta name="twitter:card" content="summary_large_image">
Who Uses This
Debug OG tags during build before pushing to production.
Check that campaign landing pages show the right image and headline on Facebook and LinkedIn.
Preview blog post share cards so the thumbnail looks right before promoting on social.
Audit client sites for missing or duplicate OG tags across dozens of pages.
Common Mistakes
Social platforms can't resolve /images/hero.jpg. They need the full URL — https://yoursite.com/images/hero.jpg. Always use absolute paths for og:image.
Twitter's summary_large_image card needs an image at least 600×314 pixels. Anything smaller and it falls back to the tiny thumbnail layout. Facebook recommends 1200×630.
Updated your tags but the old preview still shows? Facebook and LinkedIn cache aggressively. Use Facebook's Sharing Debugger or LinkedIn's Post Inspector to force a re-scrape after changes.
Technical Details
- Processing: 100% client-side — HTML never leaves your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Protocols Parsed: Open Graph (og:*), Twitter Cards (twitter:*), standard meta tags
- Image Preview: Remote images load via your browser; no server proxy
Frequently Asked Questions
What is the difference between og:image and twitter:image?
They do the same thing for different platforms. og:image is read by Facebook, LinkedIn, and most apps. twitter:image is specific to Twitter/X. If you only set one, Twitter will fall back to og:image, so many sites skip the Twitter-specific tag entirely. Setting both gives you control if you want different images per platform.
What size should my OpenGraph image be?
Facebook recommends 1200×630 pixels. That's the safe bet — it works across Facebook, LinkedIn, and Twitter's large image card. Go below 600×314 and Twitter won't show the large card layout. Keep the file under 8 MB or Facebook will ignore it.
How do I test OpenGraph tags without deploying?
Paste your HTML right here. This tool parses OG tags from raw HTML so you don't need a live URL. It is useful during development — check your tags before the page goes public. For a final check on a live site, use Facebook's Sharing Debugger or Twitter's Card Validator.
Why does my shared link show the wrong image on Facebook?
Facebook caches OG data the first time someone shares your URL. If you changed the image after that first share, Facebook still shows the old one. Go to the Facebook Sharing Debugger, paste your URL, and click "Scrape Again." That forces Facebook to pull fresh tags.
Are OpenGraph tags the same as Twitter Cards?
Not exactly. Open Graph was created by Facebook. Twitter Cards are Twitter's own system with tags like twitter:card and twitter:title. However, Twitter falls back to OG tags when its own tags aren't present. Most sites set both, but if you're in a rush, OG tags alone will cover the basics on both platforms.