Skip to main content

robots.txt builder and tester

Build, edit, and test a robots.txt file visually using our daily-refreshed verified bots directory - start by loading any domain’s live robots.txt, pasting an existing file, or picking a preset. Approve, partially restrict, or block entire bot categories or individual crawlers, test URL paths live against RFC 9309 longest-match rules, catch public-disclosure security mistakes, and save drafts in your browser to come back later.

Also called: robots.txt generator · robots.txt tester · robots.txt editor · block AI bots robots.txt

InstantPlain English + technicalFree tool
Loading the calculator…

About the robots.txt builder and tester

Pre-populate from any live domain or paste a robots.txt, allow or block verified bot categories (search, AI search, AI training, SEO), test URL paths live with RFC 9309 rules, and save drafts.

Pairs our daily-updated verified bots catalogue with an RFC 9309 longest-match URL path tester, real-time sensitive-path security warnings, and local draft persistence - running locally in your browser with zero account required.

Questions

Should I list /admin or /staging paths in robots.txt for security?
No. robots.txt is publicly readable by anyone and is purely advisory - malicious scanners read it first as a recon map. Protect sensitive routes with authentication or HTTP 403, and use X-Robots-Tag: noindex to keep pages out of search engines without advertising secret URLs.
How does the URL path tester decide Allow vs Disallow?
It follows RFC 9309: if a bot has its own User-agent group, only that group applies (otherwise the * group applies). Within the matching group, the longest matching rule wins, and Allow wins ties over Disallow.
How is the bot category list kept up to date?
Our verified bots directory is refreshed daily across search engines, AI crawlers, AI search, AI assistants, SEO tools, monitors, link previews and more so new User-agent tokens stay current.
Can I save my configuration and come back later?
Yes. Your working draft auto-saves in your browser, you can save named configs per client domain in local storage, and you can export or import a JSON config file to share with teammates or store in Git.