Build a robots.txt file from the paths you type. An empty disallow line allows every URL. This page does not upload the file or test the one already on your site.
User-agent: *
Disallow:
Example task
Draft rules for a test site and inspect each user-agent group before publishing; robots.txt is not a security or access-control mechanism.
Put your results to work
Use these results to plan your landing pages, measurement and next improvements.
Put one path on each line. A path without a leading slash gets one. Disallow tells a robot not to fetch that path. Allow is the exception, and it is useful when a folder is blocked but one page inside it should stay open.
Google ignores the old crawl-delay line, so it is not offered here. The sitemap line is only an address. It does not check that the sitemap exists.
A text file from the paths you type. It does not change your server and it does not guarantee how any robot will behave.
No. It asks robots not to crawl that URL. A page can still be indexed if other sites link to it. Use a noindex tag if the page should stay out of search results.
What does a blank disallow mean?+–
Disallow with nothing after it allows the whole site for that user-agent. Add a path when you want to block something.
Can this test my live robots.txt?+–
No. Paste the rules you want into a new file. Checking a live file needs the copy that is already on the server.