.robots-layout { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; } @media (max-width: 980px) { .robots-layout { grid-template-columns: 1fr; } } .editor { background: #0d1117; color: #e6edf3; border-radius: 10px; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; padding: 14px 18px; min-height: 380px; width: 100%; border: 1px solid var(--border); resize: vertical; } .editor:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(111,66,193,0.15); } .verdict { padding: 20px 22px; border-radius: 14px; margin-bottom: 14px; } .verdict.allowed { background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(63,185,80,0.06)); border: 1px solid rgba(63,185,80,0.4); } .verdict.blocked { background: linear-gradient(135deg, rgba(248,81,73,0.14), rgba(248,81,73,0.05)); border: 1px solid rgba(248,81,73,0.45); } .verdict-badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; } .verdict-badge.allowed { color: var(--green); } .verdict-badge.blocked { color: var(--red); } .verdict-icon { font-size: 36px; margin-bottom: 6px; display: block; } .verdict-title { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 10px; } .verdict-matched { padding: 10px 14px; background: rgba(0,0,0,0.04); border-radius: 8px; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; margin-top: 8px; } .verdict-matched .label { color: var(--muted); text-transform: uppercase; font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 4px; } .verdict-matched code { color: var(--text); font-weight: 700; } .preset-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .preset-chip { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--bg3); border: 1px solid var(--border); color: var(--muted); cursor: pointer; transition: 0.15s; font-family: inherit; } .preset-chip:hover { border-color: var(--purple); color: var(--purple); background: rgba(111,66,193,0.05); } .stat-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; } .stat-mini > div { padding: 8px 12px; background: var(--bg3); border-radius: 8px; } .stat-mini .lbl { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; } .stat-mini .val { font-size: 15px; font-weight: 800; } .sitemap-list { margin-top: 10px; } .sitemap-list a { display: block; padding: 5px 0; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; color: var(--blue); word-break: break-all; } .sitemap-list a:hover { text-decoration: underline; } Skip to content
RankCause

robots.txt Tester

Test any path on any site against your robots.txt — for Googlebot, Bingbot, GPTBot, or any custom user-agent. Follows Google's official longest-match-wins rule so you see exactly which line allowed or blocked the crawl.


1 · Load robots.txt
Enter a domain — we'll fetch its /robots.txt. Or paste your own below.
2 · robots.txt content
3 · Test a URL
How rule matching works
• Longest match wins. If both Allow: /blog/private/draft and Disallow: /blog/ match, the longer Allow wins.
• On a tie, Allow beats Disallow. This is Google's documented behaviour.
• Wildcards. * matches any sequence, $ anchors to end of URL.
• User-agent matching. We pick the most specific UA block — a Googlebot block overrides the * block for Googlebot.
• No match = Allowed. Absence of any rule means the crawler is free to crawl.
These tools are free and need no account. They check one page at a time. RankCause itself does the thing they can’t: it watches your pages over time and tests whether a change you made actually moved a ranking.
Start free All free tools