robots.txt Generator
Tell search engines which paths to crawl.
Also called: robots.txt maker, robots.txt builder.
SEO & WEB
Runs locally in your browserrobots.txt Generator
Tell search engines which paths to crawl.
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.
Watch: how to use the robots.txt Generator (12 seconds)
Recorded on a phone, steps written on screen, no sound.
About the robots.txt Generator
Make a robots.txt file: choose the user-agent, the paths to disallow and allow, the sitemap address and an optional crawl delay. Put the file at the top of your site (example.com/robots.txt).
robots.txt stops crawling, not indexing: a blocked page can still appear in search if other sites link to it. Use a noindex tag for that. Google ignores crawl-delay.
How to use the robots.txt Generator
- Add your inputFill in user-agent, disallow, allow and sitemap URL. An example is already filled in, so you can press Run tool first to see how it works.
- Press Run toolThe result appears right under the button.
- Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.
This tool works inside your browser: what you enter stays on your device.
Good to know
- What you need
- You type or choose: User-agent, Disallow, Allow, Sitemap URL, Crawl-delay seconds
- Where it runs
- In your browser, on your device.
- Cost
- Free, no sign-up.
Read the guide
Questions
Should I block /admin?
Yes, but also protect it with a password; robots.txt is public.
How do I test it?
Search Console has a robots.txt report.
More tools in SEO & Web
- Google Search Result Preview (SERP Snippet)
- Title & Description Length Checker
- UTM Link Builder
- Website SEO & Security Audit
- What Is My IP Address?
- XML Sitemap Generator
- 301 Redirect Generator
- Article Schema Generator (JSON-LD)
- Breadcrumb Schema Generator (JSON-LD)
- DNS Lookup (A, MX, TXT, CNAME, NS…)
- FAQ Schema (JSON-LD) Generator
- Hreflang Tag Generator