Check a robots.txt for unknown directives and rules before a User-agent.
Robots.txt Generator
Generate a robots.txt from allow/disallow rules and a sitemap URL.
- Free
- No sign-up
- Runs in your browser
Input
0 characters
One path per line.
0 characters
One path per line.
Ready
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter the user-agent and any allow/disallow paths.
- 2
Copy the result to /robots.txt at your site root.
Questions about Robots.txt Generator
Is my data uploaded?
No. Everything runs in your browser on the text you paste; nothing is fetched or sent.
Does the Robots.txt Generator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Robots.txt Generator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Robots.txt Generator uploaded or stored?
No. The Robots.txt Generator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the Robots.txt Generator on a phone or tablet?
Yes. The page is responsive, so the Robots.txt Generator works the same in a mobile browser as on a desktop, and there is no app to install.
Is the Robots.txt Generator free, and do I need an account?
It is free and needs no sign-up. Open the page and use it — there are no accounts, paywalls or limits tied to logging in.
Related tools
Other tools you might reach for next.
Build an XML sitemap from a list of URLs, with optional lastmod and priority.
Count a meta title’s characters and flag if it is too short or long.
Count a meta description’s characters against the recommended range.
Preview how a title, URL and description may appear in search results.
Generate the core HTML meta tags for a page from its title and description.
Generate Open Graph tags for rich link previews on social platforms.
Generate Twitter/X card tags for rich link previews.