VibeSecurity

Free tool, no sign-in

Check your Open Graph tags and social link previews

Paste a URL to see approximate link previews for X, LinkedIn, Facebook, Slack and chat apps, a pass or fail checklist for your og: and twitter: tags and preview image, and meta tags you can copy straight into your HTML or Next.js metadata.

We fetch the page and its preview image from our server with our own scanner user agent, and read the tags in the HTML we get back. Tags added later by JavaScript are not seen, which matches how most link preview bots behave.

Paste a URL above to see approximate link previews, a pass or fail checklist, and ready-to-paste meta tags.

Why previews break in apps built with AI tools

  • The tags are added with JavaScript after the page loads. Most preview bots read only the HTML the server sends, so they never see them. Put the tags in the server response.
  • The image path is relative, such as /og.png. Use the full URL including https:// and your domain.
  • Every page shares one generic set of tags from the root layout, so every link looks the same. Set a title, description and image per page.
  • The image is too large, the wrong shape, or behind a login or bot protection that returns an error instead of the image.
  • The platform cached an old preview. Fix the tags, then ask the platform to re-scrape, for example with Facebook's Sharing Debugger or LinkedIn's Post Inspector.

Image size and file limits

Facebook recommends images of at least 1200 x 630 pixels for the best display on high-resolution devices, in a ratio of about 1.91:1, and documents a file size limit of 8 MB. X's card documentation listed a 5 MB limit for card images, with summary_large_image supporting a 2:1 ratio. A 1200 x 630 image that is well under 5 MB works across the platforms this tool previews.

Set the tags in Next.js

In the App Router, export a metadata object (or a generateMetadata function for dynamic pages) from page.tsx or layout.tsx. Next.js renders the tags into the server HTML, so preview bots see them without running JavaScript. The tool above generates a pre-filled version from your page.

app/page.tsx
import type { Metadata } from "next";

export const metadata: Metadata = {
  metadataBase: new URL("https://your-app.example"),
  title: "Your page title",
  description: "One or two sentences about the page.",
  openGraph: {
    type: "website",
    url: "/",
    images: [{ url: "/og.png", width: 1200, height: 630, alt: "What the image shows" }],
  },
  twitter: { card: "summary_large_image" },
};

Frequently asked questions

Why does my preview still show old content after I fixed the tags?

Platforms cache previews. Facebook's Sharing Debugger and LinkedIn's Post Inspector let you ask them to fetch the page again. Other apps refresh on their own schedule.

Do I need twitter: tags if I already have og: tags?

X falls back to og:title, og:description and og:image when the twitter: versions are missing, but you still need twitter:card to choose the card type. Adding twitter:card set to summary_large_image is usually enough.

Why can't the tool see tags my app sets with JavaScript?

We read the HTML your server returns, without running JavaScript. That matches how most link preview bots behave, so if we cannot see a tag, many platforms will not either.

What image size should I use?

1200 x 630 pixels is the common recommendation for Open Graph images. Keep the file well under 5 MB, use PNG or JPEG, and keep important text away from the edges because platforms crop differently.

Is the image loaded from my site directly into this page?

No. Our server downloads the image and returns its size, type and dimensions. Smaller images come back as embedded data and are shown in the previews, so your browser never contacts the image host.

Sources

  1. 1.The Open Graph protocol
  2. 2.Meta for Developers: Webmasters sharing guide
  3. 3.Meta for Developers: Images in link shares
  4. 4.X Developer Platform: Cards markup (archived, January 2026)
  5. 5.Next.js docs: generateMetadata and the metadata object
  6. 6.Apple: TN3156, Create rich previews for Messages