Free tool

Robots.txt Builder

Build a clean, standards-compliant robots.txt file in a few clicks, with presets for popular platforms.

Your robots.txt file


    

Place this file at the root of your domain: https://yoursite.com/robots.txt

What does robots.txt do?

A robots.txt file tells search-engine crawlers which parts of your site they may crawl. Configured well, it preserves crawl budget and protects sensitive areas. Configured badly, it can accidentally block important pages from being indexed — so it pays to check it carefully.

⚠️

Warning: blocking a page in robots.txt does not always keep it out of Google. To de-index a page, use a meta noindex tag instead.

Frequently asked questions

Where do I put robots.txt?

At the root of your domain, reachable at https://yoursite.com/robots.txt. It will not work inside a subfolder.

Should I block my admin folder?

You can disallow technical areas (/admin/, /cgi-bin/), but do not rely on it for security — the file is public.

Should I include the sitemap?

Yes, it is recommended. It helps search engines discover all of your important URLs faster.