★★★★★ Rated 4.9/5 from 240+ reviews on Google & Clutch
Home/Free Tools/Technical SEO/Robots.txt Generator

Robots.txt Generator

Build a valid robots.txt in seconds — allow or block crawlers, add disallow rules, a crawl-delay and your sitemap — then copy it straight to your site root.

4.9 (5,210) 100% free No signup Runs in your browser

Try it now

Generated robots.txt
About this tool

What is the Robots.txt Generator?

The Robots.txt Generator writes a correctly-formatted robots.txt for you from a simple form. Choose to allow everything, block everything, or set custom allow/disallow rules per user-agent, add an optional crawl-delay, and point crawlers to your sitemap — the tool keeps the syntax valid so a stray character never blocks your whole site.

robots.txt tells search engine crawlers which parts of your site they may request. A single wrong line can deindex pages or expose paths you meant to hide, so getting the syntax right matters. This generator runs in your browser, produces copy-ready output, and you simply paste it into a file named robots.txt at your domain root.

Why use it

Built to win the click, not just the ranking

Allow / block presets

One click for "allow all" or "block all", or set your own rules.

Custom rules

Add disallow/allow paths and a crawl-delay per user-agent.

Sitemap directive

Drop in your sitemap URL so crawlers find every page.

How it works

A few clicks to a better result

1

Choose your rules

Pick a preset or add custom allow/disallow paths and your sitemap URL.

2

Copy the output

Grab the generated, validated robots.txt text.

3

Upload to your root

Save it as robots.txt at https://yourdomain.com/robots.txt.

Similar free tools

People who used this also liked

All free tools
FAQ

Questions, answered

It must live at the root of your domain — https://yourdomain.com/robots.txt. Search engines look for it there and nowhere else.
Not reliably. It controls crawling, not indexing — a blocked URL can still be indexed if linked elsewhere. To keep a page out of results, use a noindex meta tag instead.
The output is valid, but always review disallow rules before uploading — blocking the wrong path can hide important pages from search.