Skip to content
PromotEdge

Home Glossary Robots.txt

Glossary · SEO

Robots.txtmeaning and examples

Robots.txt: a text file that tells crawlers which parts of your site they may visit.

Since 201565+ in-house teamKolkata office, 5 team bases

Updated 9 Oct 2026

Brands we have worked with

  • Sai Angan
  • Rupa Peekaboo
  • Tea Junction
  • Zandu Vigorex
  • Fox & Mandal
  • Veedol
  • Tata Efee
  • Avadh Sugar & Energy
  • Taj Cement
  • Weichai
  • Rerasathi
  • Honest AI
  • Walton
  • Supertron
  • Balrampur Foundation
  • Fine Organics
  • Kopran
  • Bengal Aerotropolis Projects Limited
  • FIVB
  • Hanumanta Foods
  • Linc
  • Nitya Gold & Diamonds
  • Novozymes
  • PSPL
See all 122 clients
Definition

A robots.txt file is a plain text file on your website. It tells search engine crawlers which URLs (web addresses) they can visit. A crawler is a program that reads web pages so a search engine can list them.

Think of the file as a notice at the gate of a factory. It tells visiting crawlers which gates are open. Polite crawlers follow the notice. It is not a lock.

What Google says

We read Google's robots.txt introduction on 9 October 2026. It was last updated on 10 December 2025.

  • A robots.txt file tells search engine crawlers which URLs they can access on your site. It is mainly used to manage crawler traffic, so a site is not overloaded with requests.
  • It is not a way to keep a web page out of Google. A blocked URL (web address) can still appear in results, without a description, if other pages link to it.
  • To keep a page out of Google, Google points to the noindex rule or a password.
  • Not every crawler follows robots.txt. Googlebot and other respectable crawlers do. Others might not.
  • Different crawlers may read the rules in slightly different ways.

How the file is written

Google's page on creating a robots.txt file was last updated on 21 November 2025. It says the file must be named robots.txt and placed at the root of the site. It must be saved as plain text in UTF-8 (a standard way to store text). A file in a subfolder will not work. Its example looks like this:

  • User-agent: Googlebot and Disallow: /nogooglebot/ keep Googlebot out of that folder.
  • User-agent: * and Allow: / let all other crawlers visit the whole site.
  • Sitemap: https://www.example.com/sitemap.xml tells crawlers where your sitemap is. The address must be a full URL.

User-agent names the crawler a group of rules is for. Disallow blocks a file or folder. Allow overrides a Disallow for something inside it. Google suggests opening the file in a private browser window to confirm it is public. Then check it with the robots.txt report in Search Console.

A made-up example

A pump maker in Coimbatore has a login area at /admin/. It also has a search page at /search/ that makes thousands of useless addresses. The developer blocks both in robots.txt, so crawlers spend their visits on the real product pages.

Now picture a different slip. A developer blocks the whole site in robots.txt while it is being built. The developer then forgets to remove the rule at launch. A rule that blocks the path / covers every page. Crawlers cannot visit the site, and the business wonders why it is not showing in search. We suggest opening the file in a browser after every launch.

Common mistakes

  • Using robots.txt to hide a page. Google says not to.
  • Blocking a page and then adding noindex to it. Google warns that mixing crawling and indexing rules can make some rules cancel others.
  • Writing the file in a word processor, which can add characters crawlers cannot read.
  • Putting the file in a subfolder instead of the root.
  • Leaving a launch-day block in place.
  • Forgetting that AI (artificial intelligence) features follow the same file. Google's AI features page says robots.txt rules for Googlebot are how site owners manage Google's access. It points to a separate token, Google-Extended, for limiting some AI uses in other Google systems.

Related terms

  • Sitemap: a file that lists the pages you want crawlers to find.
  • Crawl budget: how many pages a search engine will fetch from your site in a given time.
  • Indexing: a search engine saving a page so it can be shown in results.
  • Technical SEO (search engine optimisation): the set-up work that lets search engines read your site.
  • Canonical tag: a tag that names the main address when several pages show the same content.

To have your file and site set-up checked, see our technical SEO work, or begin with an SEO audit.

Sources

  • Google Search Central, "Introduction to robots.txt" (developers.google.com/search/docs/crawling-indexing/robots/intro), last updated 10 December 2025, read 9 October 2026.
  • Google Search Central, "How to write and submit a robots.txt file" (developers.google.com/search/docs/crawling-indexing/robots/create-robots-txt), last updated 21 November 2025, read 9 October 2026.
  • Google Search Central, "AI features and your website" (developers.google.com/search/docs/appearance/ai-features), last updated 10 December 2025, read 9 October 2026.

Our beliefWe're professionals. We'd rather be blunt than pleasing.

What people say

In their own words

What clients told us after working with PromotEdge.

“PromotEdge and their team did an excellent job with our website. They engaged with every team member, understanding their needs with great patience before collating them into a user requirement and a design spec. …”
Bimal ShahBimal ShahExecutive Director at Fine Organic Industries Limited
“PromotEdge has been working with our organization for social media management and other creative activities. They are responsive, supportive and hard working. We look forward to a long and positive relationship with them.”
Medha SharmaMedha SharmaStrategic Head at TATA Metaliks
“PromotEdge has been a unique creative group amongst unique creativity world. …”
Rajat ChatterjeeRajat ChatterjeeHead Business Development at Birdman Chemeng Pvt Ltd.
“An aligned partner is always a welcoming step. Someone who can think deep through lines, understand the matrix of product management. Fortunate enough, PromotEdge has been a partner in progress for me. …”
Bobby SrinivasBobby SrinivasChief Manager Marketing & Brand Marketing at Utkarsh India
“We are thoroughly impressed with the extensive knowledge and professionalism demonstrated by PromotEdge. Their adept management of our digital and creative requirements has significantly contributed to our satisfaction with their digital marketing services and expertise.”
Rahul MishraRahul MishraAssistant Manager Digital Marketing & Ecommerce at Magik Lighting
“We have been working with PromotEdge for almost a year. We have engaged them to manage our Digital marketing campaigns and are impressed with the outcome. …”
Shubham GadodiaShubham GadodiaDeputy Brand Manager at Shyam Metalics Group
“I really want to thank Sayantan and his team from PromotEdge because what I find good in them is that, the team. When the team is wonderful, the outcome will definitely be wonderful. …”
Abhijit BhattacharyaAbhijit BhattacharyaFormer Captain Indian VolleyBall Team; and Founder of Brahmaputra Volleyball League
“PromotEdge is one of the most hard working creative agency that LISTENS ! Do I need to say anything more ?!!!! …”
Harsh GuptaHarsh GuptaManaging Director at Rishta Foods
“I would just like to congratulate, PromotEdge Led by Sayantan and his Team who have done an absolutely fantastic job of branding for the Kolkata Thunderbolts, the Branding, the social media campaign was bang on, and I think …”
Joy BhattacharjyaJoy BhattacharjyaCEO at Prime Volleyball League
“I am delighted with the successful launch of our new website, thanks to the exceptional support from PromotEdge. …”
Mom MitraMom MitraMarketing Head at Ilead
“I commend PromotEdge as a content and advertising partner. I applaud their top-notch team, swift problem-solving, and outstanding digital media work for my brand. I express my happiness and eagerness for a long-term partnership.”
Priyanka GuptaPriyanka GuptaDirector at Nitya Gold & Diamonds
“PRAN & PromotEdge have been working together for last 1.5 years. Throughout, the work experience is good and satisfactory. As a client, we found PromotEdge very professional and dedicated towards any project assigned to them. …”
Sharif Rezwan KabirSharif Rezwan KabirBrand Manager at PRAN RFL Group
“As a progressive and emerging digital marketing company, PromotEdge is doing something right to enhance the experience of companies associated with them. …”
Anish Basu MallikAnish Basu MallikMarketing Executive at Unimark Group
“Hi, my name is Hitesh Malhotra. I'm working in FIVB. We are working with PromoteEdge (with Team Sayantan). I would like to give you a brief detail. …”
Hitesh MalhotraHitesh MalhotraSports Development at Fédération Internationale de Volleyball - FIVB
“Working with PromotEdge has been an enriching experience for ABP at many different levels. Your understanding of the digital space, customized brand solutions and prompt servicing have helped us achieve our brand goals with so much ease. …”
Satabdi SahuSatabdi SahuLead - Brand and Content at ABP Education
“The PromotEdge Agency stay with us all these 3 days, since when we arrived..more, more than 3 days. Since in the airport, they stayed together with us (FIVB team). …”
GibaGibaBrazilian Former Volleyball Player
“In the city of Kolkata , there are very few full service advertising agencies which are compact, agile, quick and yet have the vision and creative /executional abilities of large reputed agencies. …”
Hardeep SinghHardeep SinghMarketing ConsultantIndependent view
“It’s a great way to be back at PromotEdge. …”
Priyam GhosePriyam GhoseContent Creator
Read all 20 testimonials
No pressure. No sales pitch.

Tell us what’snot working.

Or leave your number. A strategist calls you in one working day.

We use these details only to call you back. Privacy notice.

Straight answers.

  • It is a plain text file at the root of a website. It tells search engine crawlers which URLs they can visit.

  • No. Google says it is not a way to keep a page out of Google. A blocked URL can still show in results, without a description, if other pages link to it. To keep a page out, Google points to the noindex rule or a password. Google warns that mixing crawling and indexing rules can make some rules cancel others.

  • At the root of the site, and it must be named robots.txt. Google says a file in a subfolder will not work. It should be saved as plain text in UTF-8, not written in a word processor. Open it in a private browser window to confirm it is public. Then check it in Search Console.

  • Open the file in a private browser window to confirm it is public. Then check it with the robots.txt report in Search Console. Look for a launch-day block. A rule that blocks the path / covers every page, and crawlers then cannot visit the site. We suggest opening the file after every launch.