What is robots.txt?
Robots.txt is a text file that tells search engines which parts of a website they should or shouldn’t crawl. It helps you control what shows up in search results and what stays hidden. It is used, for example, to prevent duplicate pages or technical parts of a website from being indexed. It is meant mainly for search engine bots, not for regular visitors.
Specific rules for individual AI bots, such as GPTBot or Google-Extended, are written into robots.txt using the same syntax as for traditional search engine bots, just with a different user-agent. When to let them in and when to block them is covered in our article on AI bots on your website.



