---
title: "Slackbot User Agent: What It Does & How to Block It"
description: "Slackbot is Slack's bot that reads page titles, descriptions and images to build link previews. See its user agent, robots.txt rules and SEO impact."
url: "https://justinha.info.vn/bots/social/slackbot/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

[Social and Messaging Previews](https://justinha.info.vn/bots/social/)

# Slackbot *user agent*

## Key Takeaways

- Slackbot is the fetcher Slack uses to expand links into previews inside Slack messages.
- Slackbot uses the operator-documented robots.txt token Slackbot.
- Slackbot has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.

Operated by [Slack](https://justinha.info.vn/bots/company/slack/)

Link previewOfficial docs Allow

Slackbot is the fetcher Slack uses to expand links into previews inside Slack messages.

## What identifies Slackbot?

| Identifier | Slackbot |
| --- | --- |
| Identity type | Operator-documented crawler or fetcher |
| Evidence for this identity | Operator documentation linked below |
| robots.txt policy | Yes |
| Recorded User-Agent sample | Slackbot-LinkExpanding (+https://api.slack.com/robots) |

## What is Slackbot?

Slackbot-LinkExpanding visits a link posted in Slack to read its title, description and image for the unfurled preview.

Slack documents its robots on its own API site, including Slack-ImgProxy for images.

Slackbot is the fetcher Slack uses to expand links into previews inside Slack messages. [Source](https://api.slack.com/robots).

## Should you block Slackbot?

Consider allowing Slackbot when you use the associated service; verify identity, access requirements and server load first.

| Effect on search rankings | A social-preview fetch is distinct from search-engine indexing. |
| --- | --- |
| Effect on AI visibility | Blocking may affect future previews. Existing caches, metadata errors and image access can also affect the result. |
| Follows robots.txt | Yes |
| Recommendation | Allow |

## How to decide whether to allow Slackbot

Start with the operator documentation linked in this profile. [Check the source](https://api.slack.com/robots).

- **Link preview:** If shared links matter, test a public page in the associated app and check its title, image and description. A preview is not evidence of search indexing.
- **Access policy:** Check the paths and hosts covered by the published or reported policy. A robots.txt rule is not an access control.
- **What to check in logs:** Look for ` Slackbot `, then compare the paths, response codes and request volume before and after your change. Use the token as a starting point in logs. This profile does not list an IP range or reverse DNS method, so the user agent alone is insufficient to verify the operator.

## How do you block or allow Slackbot?

Put the robots.txt rule in the file at the root of every domain and subdomain, for example ` https://example.com/robots.txt `. The token **Slackbot** is matched case-insensitively.

robots.txt: block

```
# Block Slackbot
User-agent: Slackbot
Disallow: /
```

robots.txt: allow

```
# Allow Slackbot
User-agent: Slackbot
Allow: /
```

robots.txt: partial

```
# Keep Slackbot out of private areas only
User-agent: Slackbot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /
```

Nginx

```
# Nginx: return 403 to Slackbot
if ($http_user_agent ~* "(Slackbot)") {
    return 403;
}
```

Apache

```
# Apache .htaccess: return 403 to Slackbot
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (Slackbot) [NC]
RewriteRule .* - [F,L]
```

Cloudflare WAF

```
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "Slackbot")
```

## How can you verify Slackbot traffic?

No IP list or reverse-DNS method for Slackbot is linked in this profile. The header alone cannot authenticate the sender. Anyone can send the same string. Rate-limit unusual volume instead of trusting the name.

## How do you find Slackbot in server logs?

Search the web server access log for the literal identifier. The command below counts candidate Slackbot requests per URL on Nginx or Apache.

```
grep -iF -- 'Slackbot' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20
```

For a full report per AI bot, upload the log to the [AI Log File Analyzer](https://justinha.info.vn/ai-log-file-analyzer-tool/), a free tool by Justin Hà.

## What user-agent string does Slackbot use?

A user-agent sample recorded in the cited source for Slackbot. Version numbers such as ` Chrome/W.X.Y.Z ` change over time, so match the token, not the whole string.

```
Slackbot-LinkExpanding (+https://api.slack.com/robots)
```

## Slackbot FAQ

What is the Slackbot user agent?

Slackbot identifies itself with the robots.txt token "Slackbot". A typical request header reads: Slackbot-LinkExpanding (+https://api.slack.com/robots)

Does Slackbot respect robots.txt?

Slack states that Slackbot follows robots.txt rules. Check the documented scope and any exceptions on this profile.

Will blocking Slackbot hurt my SEO?

A social-preview fetch is distinct from search-engine indexing. Blocking may affect future previews. Existing caches, metadata errors and image access can also affect the result.

How do I block Slackbot in robots.txt?

Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: Slackbot" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.

How can I verify a request really comes from Slackbot?

Not reliably. Slack verification is not established by the links recorded for Slackbot. Anyone can send the same user-agent string; investigate source addresses and request behavior before trusting it.

How do I see if Slackbot visits my website?

Search your server access log for "Slackbot", for example with: grep -i "Slackbot" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.

Sources: [Slack crawler documentation](https://api.slack.com/robots). Content updated November 27, 2026 by [Justin Hà](https://justinha.info.vn/about/).

## Related bots

[Slack-ImgProxy Slack Link preview](https://justinha.info.vn/bots/social/slack-imgproxy/)   [AddThis AddThis Product feature](https://justinha.info.vn/bots/social/addthis/)   [Bluesky Bluesky Link preview](https://justinha.info.vn/bots/social/bluesky/)   [Discordbot Discord Link preview](https://justinha.info.vn/bots/social/discordbot/)   [EchoboxBot Echobox Product feature](https://justinha.info.vn/bots/social/echoboxbot/)   [FacebookExternalHit Meta Link preview](https://justinha.info.vn/bots/social/facebookexternalhit/)

## See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
