Robots.txt Generator

Visually build and manage crawler directives to control search engines and AI scrapers.

Global Configuration
Add one absolute URL per line.
No custom bot rules added yet.
robots.txt File

About the Robots.txt Generator

A robots.txt file is a simple text file placed in the root directory of your website. It tells search engine crawlers (like Googlebot) which pages or files they can or cannot request from your site. The OnlinePaste.com Robots.txt Generator provides a visual interface to safely build these directives without making syntax errors that could accidentally de-index your site.


Protecting Private Areas

Search engines will automatically crawl everything they can find. Use the Custom Rule Builder to Disallow access to sensitive directories like /admin/, /cgi-bin/, or internal search result pages (/?s=). This prevents junk pages from appearing in Google and saves your server bandwidth.

Blocking AI Scrapers

With the rise of Generative AI, bots like OpenAI's GPTBot or Google's Google-Extended continuously scrape the web for training data. If you wish to opt out of having your website's content used to train AI models, simply select these bots from our dropdown and set them to Disallow.

Please disable your ad blocker to see relevant ads.