Home Services Industries Tools Blog Contact Français
Free SEO Tool

Robots.txt Builder

Tell search engines what to crawl. Pick a preset, add your own rules and sitemap, and copy a clean, valid robots.txt in seconds.

HomeTools › Robots.txt Builder

Configure

Preset

Crawlers

Disallow paths

Allow paths optional exceptions

Sitemap & crawl-delay

Your robots.txt

Upload the file to the root of your domain so it lives at https://yourdomain.com/robots.txt. Test it in Google Search Console before relying on it.

Not sure what to block?

A misconfigured robots.txt can quietly hide your best pages from Google. Get a free technical SEO audit and we'll check crawlability end-to-end.

Get my free technical audit →

What is a robots.txt file?

A robots.txt file lives at the root of your domain and tells search-engine crawlers which parts of your site they may or may not request. It's the first file most bots check. Used well, it keeps low-value pages (carts, admin areas, internal search) out of crawl budget; used carelessly, it can accidentally hide pages you want to rank.

Golden rules

Never Disallow a page you want indexed — robots.txt controls crawling, not indexing. Always include your sitemap. And remember robots.txt is public: don't list sensitive URLs there, since anyone can read the file.

Does Disallow remove a page from Google?
No. Disallow stops crawling, but a blocked URL can still appear in results if other sites link to it. To keep a page out of the index, allow crawling and use a noindex meta tag instead.
Should I block AI bots?
It's your call. Blocking training crawlers like GPTBot or Google-Extended won't affect your Google Search rankings, but it does opt your content out of some AI datasets. Toggle it on if that matters to you.

More free SEO tools