Help us fix this page
If you found a broken link, missing page, or incorrect redirect, please let us know. Your report helps us improve the website for everyone.

robotstxt.js is a lightweight JavaScript library for parsing and interpreting robots.txt files in both browser and Node.js environments. It provides a standards-compliant implementation for evaluating crawler permissions, parsing directives, discovering XML sitemaps, and inspecting user-agent specific rules. Designed for SEO tools, crawlers, validators, and web applications, the library makes it easy to work with robots.txt programmatically while following established robots exclusion standards.
*) and end-of-path ($) matchingInstall the latest version from NPM.
npm install @playfulsparkle/robotstxt-jsor
yarn add @playfulsparkle/robotstxt-js