Robots.txt generator
Pick which crawlers you want, add the paths nobody should be fetching, declare your sitemap, and copy a valid file. Includes the AI crawlers most generators still ignore.
Every robots.txt directive, and who actually supports it
Half the directives you will find in blog posts are ignored by the crawler you care about. This is the complete set, what each one does, and the mistake we see most often with it.
Six robots.txt files you can copy
Each of these is a real shape we have shipped, with the reasoning behind it. Swap the domain and check the paths against your own URL structure before deploying.
How a crawler actually reads this file
Most robots.txt bugs are not typos. They come from assuming the file is read top to bottom like a script, when in fact a crawler picks exactly one group and applies the most specific matching rule inside it.
The mistakes we find most often
Every one of these has cost a real site real traffic, and every one of them takes minutes to fix once someone has actually looked at the file.
Robots.txt is a crawl instruction, not a lock
The most common mistake we find is a site trying to keep pages out of Google by disallowing them. That does the opposite of what people expect: Google cannot fetch the page, so it never sees the noindex tag, and the URL can sit in the index indefinitely with no description under it.
Use robots.txt for what it is good at — keeping crawlers away from URL patterns that waste crawl budget, like faceted parameters, internal search and checkout. Use meta robots for anything you want out of the index.
The AI crawler rules deserve a decision rather than a default. Blocking training crawlers is a content-rights choice. Blocking search-time crawlers like OAI-SearchBot removes you from live AI answers, which is a visibility choice, and they are not the same question.
See our technical SEO servicesBillion Game runs your work through the same instruments the best in-house teams use.
Licences are on us, and every export we pull from them is yours to keep.
Be wary of any agency whose reporting is a tool dashboard with their logo on it. Tools measure; they do not decide what matters, and every one of these will happily generate a hundred findings that change nothing. What you are paying for is the judgement about which three of those hundred are worth your developers’ time.