Free tools | SEO

Robots.txt Generator: Create a robots.txt File Free

Choose a default rule, add allow and disallow paths, set a crawl delay and a sitemap, then copy or download your robots.txt. Free, no signup.

How the robots.txt generator works

  1. Pick a default rule: allow everything, block everything, or write custom rules.
  2. Add the paths you want to disallow or allow, one per line, plus an optional crawl delay and sitemap URL.
  3. Copy the result or download it, then upload the file to the root of your site so it loads at yourdomain.com/robots.txt.

A robots.txt file tells search engine and AI crawlers which parts of your site they may crawl. It is a request, not access control, so never rely on it to hide private pages.

Robots.txt FAQ

What is a robots.txt file?

It is a plain text file at the root of your domain that lists crawl rules for bots, such as which folders they should avoid.

Where do I put the robots.txt file?

In the root directory, so the address is yourdomain.com/robots.txt. Crawlers do not look for it anywhere else.

Does disallow remove a page from Google?

No. Disallow blocks crawling, but a blocked URL can still be indexed if other sites link to it. Use a noindex tag to keep a page out of results.

How do I block AI crawlers?

Choose a user-agent such as GPTBot, ClaudeBot or CCBot, set the rule to block everything, and add that block to your file. Repeat for each bot you want to block.

Should I add my sitemap to robots.txt?

Yes. A Sitemap line helps crawlers find your sitemap without you submitting it in each search engine.

Is this generator free?

Yes. It runs in your browser, needs no signup and stores nothing.

Have an idea for a guest post?

hi@databirdjournal.com