SEO
robots.txt Validator
robots.txt वेरिफाई करें — User-agent ग्रुप्स की संरचना, डायरेक्टिव्स, किसी खास पाथ का अनुमति/अवरोध टेस्ट।
सिर्फ़ डोमेन देने पर /robots.txt अपने आप जुड़ जाएगा। हर साइट पर काम नहीं करेगा — कुछ साइटें क्रॉस-डोमेन रिक्वेस्ट (CORS) ब्लॉक करती हैं; अगर लोड न हो तो robots.txt नई टैब में खोलें और सामग्री मैन्युअली पेस्ट करें।
robots.txt controls which paths of a site search bots are allowed to crawl. A mistake in this file can accidentally block an entire site from indexing, or expose internal sections that shouldn't be crawled. This tool checks the file's structure and tests a specific path against allow/disallow rules.
How to use it
- Paste the contents of robots.txt and the tool parses the User-agent groups and directives (Allow, Disallow, Sitemap).
- Enter a specific path (e.g. /admin/ or /blog/post-1) to check whether it's allowed for a chosen bot.
- Syntax errors and suspicious constructs are flagged separately from valid directives.
Common uses
- Checking before a deploy that a new robots.txt hasn't accidentally blocked important pages.
- Debugging why a specific page isn't indexed — it may be caught by a Disallow rule.
- Comparing rules for different bots (Googlebot, Bingbot, etc.) when separate User-agent groups target them.
Things to keep in mind
robots.txt only blocks crawling — it doesn't guarantee a page won't appear in the index: if something else links to it, Google can still show the URL with no description. To reliably exclude a page, use a meta noindex tag, and the page must not be blocked in robots.txt for that tag to be seen.
Paths in robots.txt are case-sensitive — /Page and /page are treated as different paths.
इस टूल के बारे में लेख: robots.txt: सर्च बॉट्स तय कैसे करते हैं कि क्या क्रॉल कर सकते हैं
अक्सर पूछे जाने वाले प्रश्न
मेरा Disallow नियम अपेक्षित पेज को ब्लॉक क्यों नहीं कर रहा?
Robots.txt नियम प्रीफ़िक्स से मेल खाते हैं, सटीक पेज से नहीं, और अधिक विशिष्ट नियम सामान्य नियमों को ओवरराइड करते हैं — Disallow: /blog, /blog-archive को ब्लॉक नहीं करेगा जब तक आप यह न समझें कि प्रीफ़िक्स मैचिंग वास्तव में कैसे काम करती है, और कहीं और मौजूद Allow नियम व्यापक Disallow को ओवरराइड कर सकता है।
क्या robots.txt वास्तव में किसी पेज को इंडेक्स होने से रोकता है?
अकेले यह विश्वसनीय रूप से नहीं करता। यह केवल अच्छे व्यवहार वाले क्रॉलर्स से पेज न लाने का अनुरोध करता है — यदि अन्य पेज इससे लिंक करते हैं तो disallowed पेज फिर भी इंडेक्स हो सकता है (बिना उसकी सामग्री के), इसलिए वास्तविक गारंटी के लिए noindex मेटा टैग या हेडर इस्तेमाल करें।
क्या मेरे robots.txt की सामग्री वैलिडेट करने के लिए कहीं भेजी जाती है?
नहीं। वैलिडेशन पूरी तरह आपके ब्राउज़र में होता है — कुछ भी सर्वर पर नहीं भेजा जाता।
क्या Googlebot robots.txt में वाइल्डकार्ड कैरेक्टर्स * और $ सपोर्ट करता है?
हाँ — Google, * को किसी भी कैरेक्टर सीक्वेंस और $ को URL के अंत के तौर पर सपोर्ट करता है, हालाँकि यह 1994 की मूल स्पेसिफ़िकेशन से आगे की एक्सटेंशन है, इसलिए हर बॉट इन्हें ज़रूरी नहीं कि पहचाने।
क्या robots.txt में पाथ केस-सेंसिटिव होते हैं?
हाँ — /Admin/ और /admin/ अलग-अलग पाथ माने जाते हैं, इसलिए Disallow रूल को साइट के असली URL में इस्तेमाल केस से बिल्कुल मैच करना चाहिए।