Robots.txt tester.

See exactly what your robots.txt tells each crawler — which paths are blocked, which rule blocked them, and whether the file is even readable. Then build a correct one. Free, no account.

Type a domain or a full URL — we'll add https:// if you leave it off. This box only catches obvious typos; the address is properly validated and resolved on our server.

Write a robots.txt for your site

Pick the pieces that match your site and combine them. Everything is built from fixed templates in your browser — no AI is guessing at your URL structure, and nothing you type here is sent anywhere.

Your site

Used for the header comment and the Sitemap: line.

Baseline

Platform

Site structure

Crawler control

robots.txt
# Generated with TaskGlaze's free robots.txt tool — https://www.taskglaze.com/free-tools/robots-txt-tester

User-agent: *
Disallow:

Save this as robots.txt in the root of your site, so it answers at https://www.example.com/robots.txt. A robots.txt in a subdirectory is ignored.

What Google actually honours

  • ✓`Disallow` and `Allow`, with `*` and `$` wildcards — Google, Bing and Yandex all match these patterns.
  • ✓`Sitemap:` — read by Google and Bing, and it must be an absolute URL.
  • ✓The most specific matching group wins. A crawler named explicitly ignores the `*` group entirely.
  • ✕`Crawl-delay` — Googlebot ignores it outright. Bing and Yandex honour it.
  • ✕`Noindex:` — never officially supported, and dropped by Google in 2019. Use a `noindex` meta tag or `X-Robots-Tag` header.
  • ✕`Host:` — Yandex only.
  • ✕Disallow does not deindex. A blocked URL that others link to can still appear in results, just without a description.

Check this draft before you ship it

This runs entirely in your browser against the text above: syntax, unsupported directives, and rules that contradict each other. It can't see your site, so it can't tell you whether a path you blocked actually matters — re-run the live check at the top once the file is published for that.

What this actually checks

One file, and it can cost you the whole site

robots.txt is the first thing a crawler asks for, and it is the bluntest instrument in technical SEO. A single stray Disallow: / left over from a staging deploy will keep every page of a live site out of search, and nothing on the page itself will look wrong.

It is also widely misunderstood. Disallow controls crawling, not indexing — a blocked URL that other sites link to can still appear in results, stripped of its title and description. And because Google has to read a page to see a noindex, blocking a page in robots.txt is the one reliable way to stop that noindex ever taking effect.

This tester reads the file the way a crawler does: it resolves www against non-www first, follows redirects, parses each group separately, and answers per user-agent rather than pretending every crawler sees the same rules.

How to use it
  1. 1

    Enter your domain

    Type your site's address — example.com is enough. We resolve the www and non-www versions and follow redirects to find the file a crawler would actually read.

  2. 2

    Add the paths you care about

    Open “Test specific paths” and paste up to ten URLs, then pick the crawler to test as. Rules are matched per crawler, so Googlebot and Bingbot can get different answers from the same file.

  3. 3

    Read the verdict

    You get the file's rules grouped by crawler, an allowed-or-blocked answer for every path you listed, every sitemap the file declares, and the raw text of the file itself.

  4. 4

    Generate a corrected file

    Pick from the templates below, combine them, preview the result, and download a robots.txt you can drop straight into your site root.

Robots.txt FAQ

The questions this file keeps causing

Most robots.txt damage comes from a handful of misunderstandings. These are them.

Crawlability is one check of hundreds

TaskGlaze audits robots.txt, sitemaps, canonicals, redirects and on-page signals across your whole site — on a schedule, with no daily cap.

Start Free Trial →