Robots.txt Generator & Tester
Create a robots.txt file from presets (WordPress, online shop, block AI crawlers), add rules per bot and sitemaps, and test whether any URL is allowed or blocked.
Create a robots.txt file from presets (WordPress, online shop, block AI crawlers), add rules per bot and sitemaps, and test whether any URL is allowed or blocked.
About this tool
Robots.txt Generator & Tester builds the small text file that tells search engines and other crawlers which parts of your website they may visit. Start from a preset: Allow everything; WordPress, which blocks the admin area and internal search pages while keeping admin-ajax.php open; Online shop, which keeps crawlers out of the cart, checkout, account pages and endless sort and filter URLs; Block AI crawlers, which leaves search engines alone but disallows the bots that collect training data for AI models, such as GPTBot, ClaudeBot, Google-Extended, CCBot, PerplexityBot and Bytespider; or Block everything for a staging site. Then edit the rule groups: each group names one or more user agents (* means all robots) with the paths to disallow and the exceptions to allow, one per line, using * as a wildcard and $ for the end of a URL. Add your sitemap URLs and, if you need it, a crawl delay. The file updates as you type, and warnings point out mistakes that cause real damage, such as “Disallow: /” for every robot, paths without a leading slash, relative sitemap URLs, blocked CSS or JavaScript files, and the fact that Google ignores Crawl-delay. The built-in tester applies the same rules Google uses: the most specific group for the robot is chosen, the longest matching path wins, and Allow wins a tie. Type a URL and a robot name to see Allowed or Blocked and exactly which rule decided it. Copy or download the file and upload it to the root of your domain. Remember that robots.txt controls crawling, not indexing: a blocked page can still appear in search results if other sites link to it, so use a noindex tag to keep a page out of Google.

Allow all, WordPress, online shop, block AI crawlers or staging.
Disallow and Allow paths per user agent, plus sitemaps.
See whether a robot may crawl it and which rule decides.
Save robots.txt to the root of your domain.
WordPress, shops, AI crawler blocking and staging.
Different rules for Googlebot, Bingbot or AI crawlers.
Google’s longest-match logic, with the deciding rule shown.
Catches site-wide blocks, missing slashes and bad sitemaps.
A ready robots.txt file in one click.
Everything runs in your browser.
Guide crawlers without hurting SEO
Keep admin and search pages out of the crawl.
ExampleBlock /wp-admin/ but allow /wp-admin/admin-ajax.php so themes keep working.
Stop crawlers wasting time on filter URLs.
ExampleDisallow /*?sort= and /*?filter= so Google spends its time on product pages.
Ask AI crawlers not to collect your content.
ExampleAdd a group for GPTBot, ClaudeBot and Google-Extended with Disallow: /.
Keep a test site out of search engines.
ExampleBlock everything on staging.example.com, and protect it with a password too.
Small file, big effect
“Disallow: /” for * removes your site from search engines over time.
robots.txt stops crawling, not indexing. A blocked page can still be listed.
Google needs them to render your pages and judge mobile-friendliness.
Senior Software Engineer · Developer of Toolyconvert
Hemant developed Robots.txt Generator & Tester and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.
Last updated 23 November 2026
Featured on
Toolyconvert is listed on these product directories and launch platforms.