Robots.txt Generator

Write a robots.txt that crawlers obey.

Runs in your browser SEO & Website Free · No account

Input

Use * for all crawlers, or a comma-separated list such as GPTBot, Google-Extended.

Processed locally

This tool runs entirely in your browser. The data you paste or load is never uploaded.

Result

Enter your input, then run the tool.

About this tool

Builds a valid robots.txt with per-bot allow and disallow rules, a sitemap reference and an optional crawl delay. It explains that robots.txt is a request, not access control, and warns against blocking assets a page needs.

How to use it

  1. Choose whether to allow all crawlers or list specific user agents.
  2. Add the paths you need to block, one per line.
  3. Copy the output to /robots.txt at the root of your domain.

Frequently asked questions

Does robots.txt hide a page?
No. It only asks crawlers not to fetch it. Use authentication or noindex for real protection.
Should I block CSS and JavaScript?
No. Crawlers need them to render the page correctly, and blocking them harms indexing.

Keep going

More in this category