链接预览

查看任何公共 URL 的标题、描述和图像元数据。

免费链接预览工具

粘贴公共 URL 以获取开放图谱和社交元数据 - 与您在聊天应用程序中共享链接时显示的相同类型的标题、描述和图像。

对于在共享之前检查 Facebook 帖子、文章或登陆页面的外观非常有用。私有或仅供登录的页面可能不会返回元数据。

Building your own unfurl? Install the same engine we use: npm install @dokall/link-preview - open source on npm, zero runtime dependencies, works in Node.js and Cloudflare Workers.

Open-source @dokall/link-preview

This page is the live demo of @dokall/link-preview on npm - the same library Dokall uses in production.

Install with npm install @dokall/link-preview. It unfurls URLs directly (Open Graph, Twitter cards, platform oEmbed) with SSRF protection and zero runtime dependencies. Works in Node.js 18+ and Cloudflare Workers.

Package: https://www.npmjs.com/package/@dokall/link-preview Source: https://github.com/dokalldotcom/link-preview

Frequently Asked Questions

What is a link preview?
A link preview shows the title, description, and thumbnail image associated with a URL - the same metadata that appears when you share a link on social media, Slack, or messaging apps.
Where does preview data come from?
Dokall fetches the URL and reads Open Graph tags (og:title, og:description, og:image), Twitter Card meta tags, and standard HTML title and description elements. Sites without these tags may show limited preview data.
Why might a preview be missing or wrong?
The site may block automated fetching, require JavaScript to render meta tags, have no Open Graph tags configured, or return different content to bots vs browsers. Some sites intentionally restrict preview crawlers.
Can I use this in my own app?
Yes. Install @dokall/link-preview from npm (https://www.npmjs.com/package/@dokall/link-preview). It is MIT-licensed, zero-dependency, and the same engine behind this tool.
Can I check if a link is safe before clicking?
Link preview helps you see where a URL leads before visiting. Dokall shows the final URL, title, and description. For QR codes and shortened links, combine with the QR Code Scanner which flags suspicious patterns.
Is the URL I check logged?
Dokall fetches the URL server-side to extract metadata. Avoid checking URLs containing private tokens, session IDs, or sensitive query parameters.