robots.txt Builder & Crawler Simulator

Configure robots.txt crawler rules and test path matching with the built-in sandbox.

Templates:
Configured Crawler Rules
User-agent Directive Path Pattern

Live Crawler Rule Sandbox

RFC 9309 Longest Match Simulator
Generated robots.txt File
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/robots-txt-generator" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/robots-txt-generator" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - robots.txt Builder & Crawler Simulator</a></div>

Understanding robots.txt and RFC 9309

The robots.txt file resides at the root of a domain to direct search engine crawlers which URL paths may be downloaded. In 2022, the IETF standardized the Robots Exclusion Protocol under RFC 9309, mandating that the most specific (longest) path match wins.

Common robots.txt Mistakes