Skip to content

Operator field note

How to check robots.txt without treating it as a lock

Review crawl rules, check your sitemap address, and separate search visibility from private access with a worked robots.txt example and a release checklist.

September 6, 2026 · 5 min read · Ryan Nichols

The LeadFlow Pro Robots.txt Generator graphic with the tool name and its labeled planning illustration.
Visual explainerGuide Crawlers Without Hiding Private Data

A robots.txt review should leave you able to explain which parts of your website a crawler can fetch. That is a manageable job for an owner, even if somebody else makes the final edit. Start with a list of pages customers should find, a copy of the existing file, and one clear reason for each proposed restriction.

You can use the free Robots.txt Generator to make a draft. The useful part comes after the draft: matching its rules to the website you actually run. A tidy file with the wrong paths is still the wrong file.

Separate three different questions

Crawling means fetching a page. Indexing means including information about a URL in search. Access control means deciding who can open the content. Those jobs need different checks.

Google explains that a blocked URL can still appear in search, and robots.txt does not enforce privacy. A customer document, staff record, or internal dashboard needs real access controls. Do not put confidential path names in a public file as a substitute for protecting the underlying content.

For a public page you want excluded from Google, review the appropriate indexing method. Google's noindex instructions require Google to be able to crawl the page and see that instruction. Blocking the crawl can prevent that discovery. Write down the goal before choosing the setting.

Walk through a fictional file

Enter example.com under Your domain. Choose Read everything except admin and cart pages. Under Extra paths to block, one per line, enter /search and then thank-you. The generator produces:

User-agent: *
Disallow: /admin
Disallow: /cart
Disallow: /checkout
Disallow: /wp-admin/
Disallow: /login
Disallow: /search
Disallow: /thank-you

Sitemap: https://example.com/sitemap.xml

There are seven Disallow lines: five from the selected mode and two from your entries. The missing slash on thank-you is added. That is formatting help, not proof the path exists or that blocking it fits your goal.

Notice what you did not enter. The generator assumes /sitemap.xml and adds HTTPS to this domain. It does not inspect the site's real sitemap, existing crawler groups, or platform configuration. Treat those as items to verify, especially if the site already has a customized file.

Build a file you can explain line by line

Use a sample domain first. Review every rule before changing the file on a real website.

Your details

Your draft

Save this as robots.txt at the root of your site

User-agent: *
Disallow:

Check yoursite.com/robots.txt after you upload it. If you see this text, you did it right.

Robots.txt controls crawling, not privacy. Anything you truly need private has to be behind a login, not a Disallow line.

What this assumed

  • robots.txt asks crawlers not to read a page. It does not hide it and it is not security. Anything private needs a real login.

Runs in your browser. Nothing you type is sent anywhere.

How to run it, step by step

  1. 1Enter Your domain. Use example.com for the walkthrough. On your own site, enter the exact public domain and check whether it uses www.
  2. 2Choose What do you want. Choose Read everything except admin and cart pages for this example. The generator adds five paths; review them against your actual site.
  3. 3List Extra paths to block, one per line. Enter /search and thank-you on separate lines. The generator adds the missing leading slash to thank-you.
  4. 4Inspect the generated text. Read the rules and sitemap address. Keep your existing file so you can restore it if the replacement blocks an intended public page.

How to read what it gives you

  • The result is proposed file content. Generating or downloading it does not install it on your website.
  • A Disallow line asks compliant crawlers not to fetch matching paths. It does not require visitors to sign in or guarantee removal from search.
  • The sitemap address is assembled from your domain. Open the real address and verify its contents before relying on it.

The tool is free, it does not expire, and you can put it on your own website if you want it there. Nothing on this page is locked.

Need a crawl review for your business site?

Share the public website address and the pages you want customers to find. Leave private files and account credentials out of the message.

Not ready to talk? Browse the rest of the free tools

Check the paths against the real website

Make a short public-page list: home, services, locations, articles, and contact. Then review whether any proposed blocked path overlaps those pages. Avoid copying unfamiliar rules simply because another website has them. A path that means checkout on one site may organize public information on another.

Open the current robots.txt at the exact hostname customers use. Save its text and record the date. If your website platform manages this file, identify that setting before uploading anything. Otherwise the next platform change may replace your edit, or you may change a file that never becomes the public response.

Check the sitemap separately. Does the address load the expected sitemap? Does it contain public URLs on the correct domain? The line in robots.txt is a pointer, so the thing it points to deserves its own review.

Copy this release checklist

  • Website and hostname:
  • Existing robots.txt saved at:
  • Public pages that must remain crawlable:
  • Each proposed blocked path and its reason:
  • Actual sitemap address and date checked:
  • Private content protected by authentication or another access control:
  • Person making the change:
  • Previous version and restoration method:
  • Public robots.txt response checked after release:
  • Representative public pages reviewed after release:

Keep the checklist small enough to finish. It can live in a note beside the website's maintenance records. The point is to make a later owner or developer understand the decision without guessing.

Finish with a visible check

After the approved edit is released, open the public file again and compare the text with your intended version. Confirm that it is plain file content, rather than an error page or sign-in screen. Then review representative page URLs using the site's search monitoring tools.

A successful file response proves the file is available. It does not prove immediate crawling, indexing, ranking, or traffic. Save what you actually observed and the date, then investigate any mismatch before adding more rules. One explained change is easier to maintain than a pile of copied restrictions.

Questions people actually ask

Does a Disallow rule protect customer files?

No. Private files need actual access controls. A robots.txt rule does not stop a person from opening a known address.

Does the tool check whether my sitemap exists?

No. It adds /sitemap.xml to the domain you enter. Verify that address and replace it with the actual sitemap location if necessary.

Can I block a page and add noindex at the same time?

Be careful. Google must be allowed to crawl a page to see its noindex instruction. Use Google's current guidance when choosing a search visibility method.

Your next move

Put this guide to work.

Use the free tool, save what you make, and share the guide with someone who can use it. Have a question or a result to tell us about? Send Ryan a message through Contact.