Why Choose Us
About UsClients & TestimonialsCareersLocations & City Guides
Services
Software DevelopmentWeb DevelopmentMobile App DevelopmentSaaS DevelopmentCloud ServicesQA & TestingUI/UX DesignDesign MarkupHire ResourcesCorporate TrainingDigital MarketingData & AnalyticsCloud Telephony
Solutions
AI & ML SolutionsAI Marketing SolutionsCRM Sales AutomationCybersecurity & CloudStartup SolutionsTechnology Services
Industries
HealthcareEducationBFSISaaSManufacturingE-commerceTravelEV SolutionsSupply ChainAgricultureEntertainment
Free Tools
AI Token CounterAI Cost CalculatorPassword Strength CheckerWebsite SEO AnalyzerMeta Tag GeneratorSchema Markup GeneratorAI Marketing ROI CalculatorUTM Link BuilderQR Code Generator
BlogContact Let's Talk
Free · Checks every rule as you type

Robots.txt Generator With AI Crawler Rules

Create a correct robots.txt in seconds: keep private paths out of crawlers, add your sitemap and decide how GPTBot, ClaudeBot, Perplexity and other AI bots may use your site.

AI crawlers

"Block AI training only" keeps ChatGPT search, Claude search and Perplexity able to cite you. Googlebot and Bingbot are never blocked by these options.

Your robots.txt
User-agent: *
Disallow: /admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /search?

Sitemap: https://www.example.com/sitemap.xml
16 of 16 search and AI crawlers can read your home page with this file.

Upload it to your site root so it opens at /robots.txt, then check it with the AI Crawler Checker. robots.txt controls crawling, not indexing: to keep a page out of Google, use a noindex tag and leave the page crawlable.

Get it right

Three Mistakes That Cost Rankings

A robots.txt file is short, but one wrong line can hide an entire site from search.

A staging file on the live site

"User-agent: *" with "Disallow: /" blocks every crawler. It is meant for test servers and often gets copied to production by mistake.

Blocking CSS and JavaScript

Google renders pages like a browser. Hide the files it needs and it may misread your layout and content.

Using it to hide pages

Blocked pages can still be indexed from links. Use noindex for pages you want out of search results.

How to use

Create Your robots.txt in 4 Steps

1

List what crawlers should skip

Admin areas, carts, checkout, internal search results and filter URLs that create endless combinations.

2

Choose your AI crawler policy

Allow all, block training only, or block every AI bot. The tool never blocks Googlebot or Bingbot with these options.

3

Add your sitemap

Use the full https:// address of your XML sitemap so every crawler can find all your pages.

4

Upload and verify

Upload the file to your site root, then test it with our AI Crawler Checker and Google Search Console's robots.txt report.

FAQ

Robots.txt: Frequently Asked Questions

What is a robots.txt file?

A plain-text file at the root of your site (yourdomain.com/robots.txt) that tells crawlers which paths they may fetch. It follows the Robots Exclusion Protocol, standardised as RFC 9309 in 2022. Well-behaved crawlers read it before crawling your site.

Does robots.txt stop a page appearing in Google?

Not reliably. robots.txt controls crawling, not indexing. Google says a blocked URL can still be indexed without its content if other pages link to it. To keep a page out of search results, allow crawling and add a noindex meta tag or header instead.

Should I block AI crawlers?

It depends on your goal. Blocking training crawlers such as GPTBot, ClaudeBot and CCBot keeps your content out of future model training. Blocking search crawlers such as OAI-SearchBot, Claude-SearchBot and PerplexityBot also stops those assistants citing your pages. Most businesses that want leads block training at most and allow search crawlers.

Does Google support Crawl-delay or noindex in robots.txt?

No. Googlebot ignores the Crawl-delay line, and Google stopped supporting noindex rules inside robots.txt in 2019. Use a noindex meta tag for indexing control.

Should I block CSS and JavaScript files?

No. Google needs CSS and JavaScript to render your pages the way visitors see them. Blocking them can hurt how your pages are understood and ranked.

Where do I put the robots.txt file?

In the root of each host, so it opens at https://www.yourdomain.com/robots.txt. A robots.txt on one subdomain does not apply to another. Google reads up to 500 KiB of the file.

Want a Technical SEO Check?

We review crawling, indexing, sitemaps and site speed together, so fixes in one place don't break another.

Chat with us