Slack link preview not showing
When Slack shows a bare URL instead of a card, its crawler either could not fetch your page or found no usable Open Graph tags in the HTML it received. Slack draws a card layout with a 1200×630 px image and a title of about 200 characters, and every part of it comes from the og:* tags in your server response.
Diagnosis
Why it happens on Slack
- Slack fetches links as Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots). If your server, CDN or bot protection blocks that User-Agent, rate-limits it or answers anything but HTTP 200, Slack has nothing to draw.
- Link-preview crawlers read the raw HTML and do not run your JavaScript, so tags added on the client are invisible to Slack.
- Without og:title the share shows a bare link; without og:image Slack has no picture for its 1200×630 box.
- Our bot detection recognises Slack by the Slackbot-LinkExpanding token.
- Among work chat and email tools, no other app shares Slack's Slackbot-LinkExpanding crawler, so check this one on its own.
Scanner checks: og-title-present, og-image-present, og-image-absolute-url, og-url-present, robots-noindex
The fix
Fix it step by step
- Scan the URL: the scanner fetches it server-side like Slack's crawler and lists every missing tag.
- Allow the Slackbot-LinkExpanding crawler through your firewall, CDN bot rules and any login wall for the shared URL.
- Add og:title, og:description, og:image (absolute https URL) and og:url to the server-rendered <head>.
- Deploy, re-scan, and share the link again after clearing the cache as shown below.
<title>Your page title</title>
<meta name="description" content="A one or two sentence summary of this page.">
<meta property="og:title" content="Your page title">
<meta property="og:description" content="A one or two sentence summary of this page.">
<meta property="og:image" content="https://example.com/og.png">
<meta property="og:url" content="https://example.com/page">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Your site name">
<meta name="twitter:card" content="summary_large_image">Slack cache: Slack has no public refresh button and caches an unfurl for a while after a URL is first posted. Post the link with a new query string such as ?v=2 to get a fresh card, and remove the outdated preview from your own message.
Check your link on Slack
FAQ
Common questions
Why does Slack show my link without a preview?
Slack found no og:title or could not fetch the page. Check that Slackbot-LinkExpanding gets HTTP 200 and that the tags are in the HTML, not added by JavaScript.
Which tags does Slack need for a card?
og:title, og:image and og:url at minimum, plus og:description (shown up to about 300 characters). The image is drawn at 1200×630 px.