User fetch

SemrushBot-SWA

Checks pages for the Semrush SEO Writing Assistant. Operated by Semrush.

User fetch: Fetches a page live because a person asked an AI assistant. Usually allowed: a real person asked for your page.

Company
Semrush · website
User-agent contains
SemrushBot-SWA
robots.txt token
SemrushBot-SWA · Respects robots.txt
Official IP ranges
Not published
Documentation
Official docs
Sources
semrush.com · github.com
Added · verified
2026-12-02 · 2026-12-02

Block SemrushBot-SWA

robots.txt
User-agent: SemrushBot-SWA
Disallow: /
nginx (in the http block, then: if ($ai_bot) { return 403; })
map $http_user_agent $ai_bot {
    default 0;
    "~*SemrushBot-SWA" 1;
}
Apache / .htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} (SemrushBot-SWA) [NC]
    RewriteRule .* - [F,L]
</IfModule>
Cloudflare WAF expression
(lower(http.user_agent) contains "semrushbot-swa")

Want to block more bots at once? Use the generator.

Other Semrush bots

Something wrong or out of date? Edit this bot on GitHub or report a change.