Tools
PDF Tools 34
Image Tools 5
AI Writing 13
Text Tools 13
SEO and websites 22
YouTube and video 13
Calculators and converters 17
Developer Tools 13
Other tools 2
Scanner Blog
Language

robots.txt Generator

Create a custom robots.txt file to guide search engine crawlers.

Related tools

All tools in this group
Illustration of options turned into a robots.txt file

A small file that tells search robots where to go

Before Google's or Bing's robot walks through your site, it reads a text file called robots.txt at the root of the domain. In it you say: do not visit these folders, and here is my sitemap. Jood's robots.txt generator writes that file for you in the correct syntax, so one wrong line does not block your whole site.

How to use it

  1. Choose the "Default Search Robot Access": allow all robots, which is recommended, or block them all.
  2. Under "Disallowed Directories", write one folder per line, such as /admin/. If you forget the leading slash, the tool adds it.
  3. Add the "Crawl Delay" and the "XML Sitemap URL" if you like, then click "Start Now" and copy the result.
  4. Save the text in a file named robots.txt and upload it to your site's root, so it opens at example.com/robots.txt.

What each line means

  • User-agent: who the rules are for. The asterisk means every robot.
  • Disallow: a path not to visit. Left empty, nothing is blocked. A slash on its own blocks the whole site, so only choose that for a test site.
  • Crawl-delay: seconds to wait between two requests. Bing respects it, Google ignores it, and the tool reminds you of that.
  • Sitemap: the address of your sitemap, so every search engine finds it without you submitting it to each one.

Common mistakes worth knowing

  • robots.txt is not protection: it is a polite request that only well-behaved engines follow. Do not list secret paths in it, because anyone can read the file.
  • Blocking does not mean hiding from results: a blocked page can still show up in Google if other sites link to it. To keep a page out of the results, use noindex and let the robot visit so it can see it.
  • Each subdomain has its own file: the one on example.com does not apply to shop.example.com.
  • AI crawlers: the tool writes rules for all robots at once. To block one in particular, such as GPTBot, add two lines by hand: User-agent: GPTBot and then Disallow: /.

To create the sitemap itself, use the XML sitemap generator, and to check your whole site, the complete website SEO audit.

FAQ

في المجلد الرئيسي للنطاق ليصبح URL: yourdomain.com/robots.txt. لا يعمل داخل مجلد فرعي.
لا، يمنع الزحف فقط. للإخفاء استخدم noindex داخل Page.
ليس إلزامياً، لكنه مفيد لمنع Pages غير المهمة وتوجيه المحركات إلى sitemap.