quialo.

Robots.txt Generator

Ready: 1 group(s), 0 rule(s).

Create a clean, valid robots.txt without memorising the syntax. Add one or more user-agent rules, list the paths to allow or disallow, drop in your sitemap URL, then copy the formatted file straight to your server root. Everything runs in your browser, so nothing you type is sent anywhere.

How to use

  1. Set the User-agent for your first rule. Use * to target all crawlers, or a name like Googlebot for a specific one.
  2. List the paths to block under Disallow, one per line (for example /admin). Add any exceptions under Allow.
  3. Add another user-agent rule if you need different instructions for different crawlers.
  4. Paste your sitemap URL in the optional Sitemap field, starting with http or https.
  5. Copy the generated robots.txt and save it as robots.txt in your site root.

Examples

  • Block all crawlers from /admin and /private, allow /public, with a sitemap: User-agent: *, Allow: /public, Disallow: /admin, Disallow: /private, Sitemap: https://example.com/sitemap.xml
  • Allow everything (the most permissive file): User-agent: * with a single empty Disallow line, which means nothing is blocked.
  • Two rules: block Googlebot from /no-google, and block all other crawlers from /private.

FAQs

Where do I put the robots.txt file?
It must live at the root of your domain, reachable at https://yourdomain.com/robots.txt. Crawlers only read it from that exact location, not from subfolders.
What does an empty Disallow line mean?
An empty Disallow (Disallow: with nothing after it) means nothing is blocked, so that user-agent can crawl everything. It is the standard way to allow full access.
Does Allow override Disallow?
For Google and Bing, the more specific rule wins, and Allow can carve out an exception inside a disallowed folder. Order does not decide it, path length and specificity do.
Will robots.txt keep a page out of search results?
No. Disallow stops crawling, but a blocked URL can still be indexed if other pages link to it. To keep a page out of results, use a noindex meta tag and let crawlers reach it.
Do I need to add a sitemap line?
It is optional but recommended. Listing your sitemap URL helps crawlers discover your pages faster. You can leave the field blank if you do not have one.
Is the path matching case sensitive?
Yes. Paths in robots.txt are case sensitive, so /Admin and /admin are treated as different paths. Match the exact casing your URLs use.

Related tools