Social and Messaging Previews

Slack-ImgProxy user agent

Key Takeaways

  • Slack-ImgProxy is the fetcher Slack uses to load and cache images shown in Slack messages.
  • Slack-ImgProxy uses the operator-documented robots.txt token Slack-ImgProxy.
  • Slack-ImgProxy has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.

Operated by Slack

Link previewOfficial docs Allow

Slack-ImgProxy is the fetcher Slack uses to load and cache images shown in Slack messages.

What identifies Slack-ImgProxy?

IdentifierSlack-ImgProxy
Identity typeOperator-documented crawler or fetcher
Evidence for this identityOperator documentation linked below
robots.txt policyYes
Recorded User-Agent sampleSlack-ImgProxy (+https://api.slack.com/robots)

What is Slack-ImgProxy?

Slack-ImgProxy downloads images from shared links and previews so Slack can display them through its own proxy.

Blocking it leaves image previews in Slack empty.

Slack-ImgProxy is the fetcher Slack uses to load and cache images shown in Slack messages. Source.

Should you block Slack-ImgProxy?

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

Effect on search rankingsA social-preview fetch is distinct from search-engine indexing.
Effect on AI visibilityBlocking may affect future previews. Existing caches, metadata errors and image access can also affect the result.
Follows robots.txtYes
RecommendationAllow

How to decide whether to allow Slack-ImgProxy

Start with the operator documentation linked in this profile. Check the source.

  • 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 Slack-ImgProxy, 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 Slack-ImgProxy?

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 Slack-ImgProxy is matched case-insensitively.

robots.txt: block

# Block Slack-ImgProxy
User-agent: Slack-ImgProxy
Disallow: /

robots.txt: allow

# Allow Slack-ImgProxy
User-agent: Slack-ImgProxy
Allow: /

robots.txt: partial

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

Nginx

# Nginx: return 403 to Slack-ImgProxy
if ($http_user_agent ~* "(Slack\-ImgProxy)") {
    return 403;
}

Apache

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

Cloudflare WAF

# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "Slack-ImgProxy")

How can you verify Slack-ImgProxy traffic?

No IP list or reverse-DNS method for Slack-ImgProxy 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 Slack-ImgProxy in server logs?

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

grep -iF -- 'Slack-ImgProxy' 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, a free tool by Justin Hà.

What user-agent string does Slack-ImgProxy use?

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

Slack-ImgProxy (+https://api.slack.com/robots)

Slack-ImgProxy FAQ

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

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

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.

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

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

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

Sources: Slack crawler documentation. Content updated by Justin Hà.

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.

Zalo logo Chat Zalo WhatsApp logo Chat WhatsApp