How to Block Bytespider (ByteDance) in robots.txt

Exact robots.txt to block Bytespider — ByteDance's AI training crawler — from your site.

robots.txt Syntax — Block Bytespider

COPY-PASTE READY
User-agent: Bytespider
Disallow: /

What This Does

Blocking Bytespider prevents your content from being used in AI training datasets. This does not remove existing knowledge — it only prevents future crawling. Content already in training datasets before you add this block is not retroactively removed.

Validate your robots.txt live — check AI bot coverage and get a corrected file.

Open robots.txt Validator →

Related Guides