Robots.txt Generator
Pick whether search engines may visit your site, and get the text for a robots.txt file.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Robots.txt Generator
- Pick whether search engines may visit the site.
- Type a folder to keep out, if you have one.
- Copy the text into a file named robots.txt at the top of your site.
Frequently asked questions
What is a robots.txt file?
It is a plain text file at the top of a site that tells search engine robots which pages they may visit. Well-behaved robots follow it, but it does not hide pages from people.
Does robots.txt keep a page out of search results?
Not by itself. It stops crawling, but a page can still appear in results if other sites link to it. A noindex tag keeps a page out of results.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.