How to Create a Robots.txt File: Examples and Free Generator
Make a correct robots.txt file in four simple steps. Copy ready examples, learn what to block on a small business site,...
Build a correct robots.txt in seconds. Choose which search engines, AI bots and SEO crawlers may visit, block private folders, add your sitemap — then test any URL.
Test a URL
Your rules are built in your browser. “Import” only reads the public robots.txt of the site you enter.
Start from a preset, then allow or block each crawler and folder.
Check whether Googlebot or any other bot can crawl a specific page.
Download robots.txt and upload it to the root of your website.
Allow all, WordPress, Laravel, or block AI training bots in one click.
Google, Bing, Yandex, GPTBot, ClaudeBot, CCBot, Ahrefs, Semrush and more.
Test paths with Google’s matching rules, including * and $ wildcards.
Load the current robots.txt from any website and edit it.
Add one or more sitemap URLs.
Warns you before you accidentally block your whole site.
Works well with: schema markup generator, xml sitemap generator, keyword suggestion tool, serp preview — or browse all seo tools.
Everything you need to know about the Robots.txt Generator.
Back to the toolrobots.txt is a text file at the root of your website (example.com/robots.txt) that tells crawlers which pages they may or may not visit.
No. Blocking a URL stops crawling, but the URL can still appear in results if other sites link to it. To remove a page, use a noindex meta tag and allow crawling.
Use the “Block AI bots” preset. It disallows GPTBot, ClaudeBot, CCBot, Google-Extended, PerplexityBot and other AI crawlers while keeping Google Search allowed. Well-behaved bots respect it.
Upload it to the root folder of your domain (usually public_html or public) so it opens at https://yourdomain.com/robots.txt.
It asks bots to wait between requests. Bing and Yandex respect it; Google ignores it.
Make a correct robots.txt file in four simple steps. Copy ready examples, learn what to block on a small business site,...
Meta tags won't rank your page alone, but they decide whether people click it. Learn the length rules, why Google rewrit...
Our SEO team handles keyword research, on-page fixes, technical SEO and link building — so you get more visitors without the guesswork.