Free robots.txt generator
Choose what search engines may crawl, list the paths to keep them out of, add your sitemap and decide which of 14 AI crawlers may read the site. The file is checked as you type with the same robots.txt matching audibot's audit uses.
Everything runs in your browser. Nothing you type is sent anywhere.
Your robots.txt
It belongs at the root of the host, at https://example.com/robots.txt — not in a subfolder, where crawlers do not look for it.
At the root, for the audit's agent and two common ones:
- Allowed: audibot may crawl /.
- Allowed: Googlebot may crawl /.
- Allowed: GPTBot may crawl /.
Test a path
Allowed: Googlebot may crawl /.
Against the file above, with the rules audibot's audit applies: the most specific matching user-agent group, then the longest matching path, Allow winning ties.
Where it goes
Verify the deployed file
A wrong robots.txt can keep a whole site out of search. Once it is deployed, check what the live site serves. Each checker shows a stored result for a site audibot has already checked, or can run a full passive audit, which publishes a public report at /r/<host>. Your first audit needs no account.
What is robots.txt?
A plain-text file at /robots.txt that tells crawlers what not to crawl and where the sitemap is. Crawlers request it before anything else; without one, each logs a 404 and discovers pages on its own. An allow-everything file with a Sitemap: line is enough for most sites. The robots.txt guide.
Does robots.txt stop a page being indexed?
No. robots.txt asks crawlers not to crawl a path; it does not remove pages from search. To keep a page out of search results, mark it noindex in a robots meta tag or an X-Robots-Tag header — a crawler told to stay off the page cannot read that tag. The file is public, so a path listed in it is a path anyone can read. The noindex guide.
How do I block AI crawlers without leaving Google Search?
Block the AI agent tokens by name and leave User-agent: * allowing the site. Google-Extended controls Gemini training and grounding, not Google Search, so blocking it does not block Googlebot. Training crawlers, search bots and user-triggered fetchers each have their own token: blocking GPTBot does not block OAI-SearchBot. The "Block training, allow AI search" preset blocks the agents with documented training uses.The AI crawler guide.
Where does the sitemap line go?
Anywhere in the file, as an absolute URL: Sitemap: https://example.com/sitemap.xml. It does not belong to a user-agent group, so this generator writes it at the end. audibot's audit reads the firstSitemap: line, or /sitemap.xml if there is none. The sitemap guide.
Does every bot obey it?
No. robots.txt is a voluntary policy, not authentication or a guarantee of access, and it does not protect private content. User-triggered fetchers may ignore its rules; OpenAI and Perplexity document exceptions.The AI crawler guide links each operator's documentation.