# Slackbot-LinkExpanding

> Slackbot-LinkExpanding fetches pages that Slack users post in channels to build link previews. Slack says it does not honor robots.txt.

Canonical: https://promptlyfound.com/crawlers/slackbot-linkexpanding
Updated: 2026-11-22

## Short answer

Slackbot-LinkExpanding fetches a page when a Slack user posts its link, so Slack can show a preview. **Slack says it does not honor robots.txt, so a robots.txt rule does not stop link previews.** To block Slack embeds, Slack asks site owners to contact it. The robot reads meta tags with HTTP Range requests, and Slack caches the result for about 30 minutes.

## Key findings

- Slack says this robot responds to links that Slack users post into channels and extracts oEmbed, Twitter Card and Open Graph tags. [1]
- Slack says it does not currently honor robots.txt files, because it acts on behalf of a person and does not follow links. [1]
- The robot fetches as little of the page as it can with HTTP Range headers. It also fetches image, video or audio files that the tags refer to. [1]
- Slack caches responses globally for around 30 minutes, so the same URL should not be fetched more often than that. [1]

## What blocking it does

A robots.txt rule does not stop this robot. [Slack's robots page](https://api.slack.com/robots) says Slack does not currently honor robots.txt files.[1] Slack says it tried, but too much of the web was closed to crawlers. It says it is not a crawler because it does not follow links and acts on behalf of a person.[1]

The robot runs when a Slack user posts a link into a channel. It fetches as little of the page as it can, with HTTP Range headers, to read oEmbed, Twitter Card and Open Graph tags. If the tags point to an image, video or audio file, it fetches that file too.[1]

To keep a site out of Slack embeds, or to change how they look, Slack asks site owners to contact it.[1]

## robots.txt rules

There is no working rule. Slack ignores robots.txt, so a group like this one has no effect:

```
User-agent: Slackbot-LinkExpanding
Disallow: /
```

To control the preview, edit the page's Open Graph or Twitter Card tags. To refuse the request, match the user agent at your server. That breaks previews for every Slack user who posts the link.

## Verify a request

Slack publishes the string "Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)".[1] Slack publishes no IP list or DNS check, so a request with this string cannot be verified. Slack says it caches responses for around 30 minutes, so more than one request for the same URL in that time is unusual.[1] Images posted in Slack come from a separate robot, Slack-ImgProxy. Other requests use [Slackbot](https://promptlyfound.com/crawlers/slackbot).

## Sources

1. Slack Robots. Slack. https://api.slack.com/robots

---

This is a plain-text copy of https://promptlyfound.com/crawlers/slackbot-linkexpanding from Promptly Found. The web page is the canonical version and includes the charts.
