Create a robots.txt file to control how search engines crawl your website. Use presets or customize rules for specific bots.
Use * for all bots, or specify: Googlebot, Bingbot, etc.
Time bots should wait between requests. Most sites don't need this.
# robots.txt generated by Keyword Intel # https://keywordintel.dev/tools/robots-txt-generator User-agent: * Disallow: /api/ Disallow: /admin/ Disallow: /private/ Allow: /
Configure your rules using the options on the left
Copy the generated robots.txt content
Create a file named robots.txt in your website's root directory
Test at yourdomain.com/robots.txt
Create rules for all bots (*) or target specific crawlers like Googlebot or Bingbot.
Specify which paths crawlers can and cannot access on your site.
Point search engines to your XML sitemap for better indexing.
Set time intervals between crawler requests to reduce server load.
Robots.txt is a text file that website owners use to instruct search engine crawlers (also called robots or bots) about which pages or sections of their site should or should not be crawled and indexed. It's part of the Robots Exclusion Protocol (REP).
A robots.txt file serves several important purposes:
| Directive | Purpose |
|---|---|
User-agent | Specifies which crawler the rules apply to |
Disallow | Tells crawlers not to access specified paths |
Allow | Explicitly allows access (overrides Disallow) |
Sitemap | Points to your XML sitemap location |
Crawl-delay | Sets seconds between crawler requests |
Robots.txt is a text file that tells search engine crawlers which pages or files they can or cannot request from your site. It's placed in the root directory of your website.
The robots.txt file must be placed in the root directory of your website. For example, if your site is example.com, the file should be accessible at example.com/robots.txt.
Yes, you can block all search engines by using "User-agent: *" followed by "Disallow: /". However, this will prevent your site from appearing in search results entirely.
No, robots.txt is not a security feature. It's a suggestion to well-behaved crawlers, not a barrier. Malicious bots can ignore it entirely. Never use robots.txt to protect sensitive information.