80+ free SEO tools, no signup, no fluff. Visit umarrajput.com →
U
Umar Rajput
SEO Tools

Robots.txt Generator

Create a clean robots.txt without writing a single line by hand.

What is robots.txt?

Robots.txt is a small plain text file in the root of your website that tells search engine crawlers which paths they can fetch and which they cannot. It is the first file most bots request before they crawl, and it sits at the same address as your homepage with the path slash robots dot txt.

Why does robots.txt matter for SEO?

A bad robots.txt can quietly block your entire site from Google. A good one keeps crawlers focused on the pages you want indexed and away from low value or private sections like admin panels, cart pages, and internal search results. It also points crawlers to your sitemap.

How do you use this generator?

  1. Decide if you want to allow or block all bots by default.
  2. List paths to disallow, one per line.
  3. Optionally add a crawl delay and your sitemap URL.
  4. Click Generate, then upload the file as robots.txt to the root of your site.

When should you not block a path?

Never block JavaScript and CSS files. Google needs them to render the page like a real browser. Blocking them used to be common advice that now hurts rankings.

Got more questions?

Is robots.txt mandatory?
No. If missing, crawlers default to allowed everywhere. But having one helps you control crawl budget and direct bots clearly.
Does robots.txt prevent indexing?
It blocks crawling, not indexing. To keep a page out of search results entirely, use a noindex meta tag and let bots crawl it.
Can I have multiple sitemaps in robots.txt?
Yes, list each on its own Sitemap line. Useful for large sites with split sitemaps.
Should small sites set a crawl delay?
Usually no. Google ignores crawl delay anyway. Only use it if other bots are hammering your server.

Need a real human SEO expert?

These tools are great for daily checks. For full audits, link building, AEO and GEO strategy, or a monthly retainer, hire Umar Rajput direct.