robots.txt Generator

Tell search engines which paths to crawl.

Also called: robots.txt maker, robots.txt builder.

FreeNo sign-upRuns in your browser
SEO & WEB

robots.txt Generator

Tell search engines which paths to crawl.

Runs locally in your browser
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.

Find a tool

Loading tools…

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

  1. 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.
  2. Press Run toolThe result appears right under the button.
  3. 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

See all SEO & Web tools