Robots.txt Generator

Build your robots.txt file and manage search engine crawler access.

Presets

Output File

Add rules to generate the robots.txt file

About This Tool

Build your site's robots.txt without writing a single line by hand. Define rules with a few clicks and the final file appears instantly in the output panel. No install, no sign-up.

If you run WordPress and want the dashboard and feeds out of search results, if your shop keeps generating endless filter and search URLs that eat crawl budget, or if the site is still under construction and you do not want Google to see anything yet, a robots.txt file does exactly that. Add your sitemap URL alongside it so search engines find your main pages sooner.

Create a separate card for each bot, add disallowed and allowed paths row by row, and set a Crawl-delay if you need one. Three ready-made presets save you from starting at zero. Copy the output or download it as robots.txt. What you type never leaves your device.

Frequently Asked Questions

How do I start? The page looks empty
No output is generated until you add a rule. Either click one of the three presets at the top, or press "+ Add New Rule" to create the first card.
How do I target a specific bot?
In each card, pick Googlebot, Bingbot, Yandexbot, DuckDuckBot or Baiduspider from the User-Agent list. If the bot you need is not listed, choose "Custom..." and type its name.
How do I block several paths?
Under "Disallowed Paths (Disallow)" press "+ Add path" as many times as you need and put one path per row, such as /wp-admin/ or /cart/. Paths start with a slash.
How do I allow one file inside a blocked folder?
In the same card, add that path under "Allowed Paths (Allow)". For example, with /wp-admin/ disallowed, adding /wp-admin/admin-ajax.php to Allow keeps that single file reachable.
What exactly does the WordPress preset build?
It creates one rule for all bots that disallows /wp-admin/, /wp-includes/, /wp-content/plugins/, /trackback/, /feed/ and /?s=, allows /wp-admin/admin-ajax.php, and adds a sample sitemap row whose URL you should replace with your own.
How do I add a sitemap, and how many can I add?
Press "+ Add Sitemap" at the bottom of the form and enter the full URL. There is no limit: each click adds a new row, so you can list several sitemaps.
I created a card but left every path empty. What happens?
The output puts a bare "Disallow:" line under that User-Agent, which means full access. If you do not want that bot in the file at all, delete the card with the × in its corner.
What Crawl-delay value should I use?
The field is optional and accepts up to 120 seconds. If your server is struggling under crawl load, 5 to 10 is usually enough. Left empty or at zero, the line is omitted from the output entirely.
Does Google respect Crawl-delay?
No. Google ignores the directive and expects you to manage crawl rate in Search Console. Bing and Yandex do honour it.
Where should the file go?
At the domain root, as example.com/robots.txt. Placed in a subfolder it is invisible to search engines. Every subdomain needs its own file.
Does disallowing a page remove it from Google?
Not necessarily. robots.txt only stops crawling; if another site links to the page, the URL can still appear in results without a description. For real removal use a noindex tag, and in that case the page must NOT be blocked in robots.txt, otherwise Google never sees the tag.
Is anything I type stored?
No. The file is built right on this page, and the URLs and paths you enter never leave your device. Close the page and nothing remains.
What do I do after building the file?
Download it with the "Download robots.txt" button, upload it to your site root, then submit your sitemap in Search Console. If you do not have a sitemap yet, create one first and add its URL to this file.
Was this tool helpful?
Thanks for your feedback!

Related tools

Home