Robots.txt Tester for Search and AI Crawlers
Paste your robots.txt, list the URLs you care about, and see for every crawler whether each one is allowed, which line decided it, and what is wrong with the file.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Paste the file
Copy yoursite.com/robots.txt and paste it into the left box, or open it from disk.
- 2List URLs
Type the paths or URLs you want to check, one per line, such as key landing pages and private areas.
- 3Pick crawlers
Tap the crawler buttons to add or remove columns and type any other product tokens.
- 4Read the matrix
Each cell shows allow or block; tap one to highlight the deciding line in the file.
- 5Fix the file
Open Check file for syntax problems and use AI crawler rules to append groups.
- 6Save
Export the matrix as CSV for the team and save the edited robots.txt for upload.
Informazioni su questo strumento
A robots.txt file is short, but small mistakes in it have large effects. One stray slash can hide a whole shop from search, and a group written for the wrong user agent can let AI training crawlers read pages you meant to keep out. This tester reads your file the way RFC 9309 and Google describe it and answers a simple question for any URL and any crawler: may it fetch this page, and why. Paste the file, paste a list of paths or full URLs, and pick crawlers from the preset buttons: Googlebot, Googlebot-Image, Bingbot, Applebot, DuckDuckBot and the main AI agents, including GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, Google-Extended, Applebot-Extended, PerplexityBot, CCBot, Bytespider, Amazonbot and Meta-ExternalAgent. You can type other product tokens too. The result is a matrix of allow and block cells. Tap a cell and the file is shown with the deciding line highlighted and the rest of the matching group shaded, so you can see exactly which rule won.
How matching works
A crawler first picks its group. It looks for a user-agent line equal to its own product token, compared without case. If several groups name it, their rules are merged. If none does, it uses the group for *, and with no * group everything is allowed. Googlebot-Image falls back to the Googlebot group when it has none of its own, which the tester models. Within the chosen group the longest matching path wins, measured in characters, and when an Allow and a Disallow of the same length both match, Allow wins. An asterisk matches any run of characters and a dollar sign at the end anchors the match to the end of the URL, so /*.pdf$ blocks /guide.pdf but not /guide.pdf?v=2. Paths are compared after percent-encoding, and /robots.txt itself is always allowed.
What the file check reports
The check tab lists rules that appear before any user-agent line (no crawler applies them), lines that are not field and value pairs, unknown or misspelled fields, sitemap lines that are not absolute URLs, empty user agents, crawl-delay (ignored by Google but read by Bing), and noindex lines, which Google stopped supporting in 2019. Files over 500 KiB are flagged because Google reads only that much.
AI crawlers
Training crawlers and answer-engine crawlers are different agents. Blocking GPTBot or ClaudeBot keeps pages out of model training, while blocking OAI-SearchBot, Claude-SearchBot or PerplexityBot can remove you from AI search answers that send visitors. Google-Extended and Applebot-Extended are control tokens rather than separate crawlers. The builder tab appends Allow or Disallow groups for any agents you tick.
Limits
The tester does not fetch your live file; copy it from your site. Robots rules control crawling, not indexing, so a blocked URL can still appear in results if other pages link to it. Crawlers that ignore robots.txt are not stopped by it at all.
Esempio svolto
A shop pastes a file with a * group that disallows /cart, /checkout/, /*?sort= and /*.pdf$, allows /checkout/help, a Googlebot group with Disallow /internal/ and Allow /, a group shared by GPTBot and CCBot with Disallow /, and Google-Extended with Disallow /blog/. For Bingbot, /checkout/pay is blocked by line 4, /checkout/help is allowed because its 14-character Allow beats the 10-character /checkout/, /shoes?sort=price is blocked by the wildcard and /guides/size-chart.pdf?v=2 is allowed because the $ anchor no longer matches. Googlebot may fetch /cart, since its own group replaces the * group entirely, and the file check notes that crawl-delay on line 8 is ignored by Google.
In breve
- Categoria: Sviluppo e dati
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: RFC 9309 Robots Exclusion Protocol and Google Search Central robots.txt specification
Domande frequenti
Why does Googlebot ignore my * rules?
A crawler obeys only the most specific group that names it. Once you add a Googlebot group, the * group no longer applies to Googlebot, so copy any shared rules into the Googlebot group too.
Does blocking a page in robots.txt remove it from Google?
No. It stops crawling, not indexing. A blocked URL can still be listed with no description. To remove a page, allow crawling and add a noindex robots meta tag or X-Robots-Tag header.
Which AI crawlers should I block?
It depends on your goals. Training crawlers such as GPTBot, ClaudeBot, CCBot and Google-Extended collect data for models. Search and user agents fetch pages to answer questions and can link back, so blocking them may cost visits.
Are the rules case sensitive?
User-agent names are not, but paths are. Disallow /Admin does not block /admin. The tester compares paths exactly after percent-encoding.
Can I test full URLs?
Yes. Full URLs and paths both work; the host is dropped and the path plus query string is tested, which is what robots rules apply to.
Is my file sent anywhere?
No. Parsing and testing run in this browser tab, and your file and URL list are kept only in local storage for undo.
