robots.txt is a small text file that tells crawlers which addresses they may request.

A safe starting file
User-agent: *
Allow: /
Disallow: /admin/
Sitemap: https://example.com/sitemap.xmlCreate yours with the robots.txt generator.
What to block
Admin areas, internal search results and endless filter combinations. Keep styles and scripts open so pages can be rendered.
AI crawlers
You can allow or block individual crawlers by their names. Allowing them can help assistants read and cite your pages; blocking limits that use for bots that follow the rules.
Mistakes to avoid
Disallow: /left over from a staging site- Using it to hide private pages, which it does not do
- Blocking a page that carries a noindex tag, so the tag is never seen
Check it
Open yourdomain.com/robots.txt, then review the robots.txt report in Search Console. Add a sitemap with the XML sitemap generator. Need help with technical SEO? See digital marketing services.
Free tools in this article
Written by Zoqonyx Team, the team at Zoqonyx. Last updated December 1, 2026.


