連結預覽

查看任何公共 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.