Home/Tools/Robots.txt Builder
SEO Webmaster Crawler Builder

Robots.txt File Generator

Construct an optimized, RFC-compliant robots.txt file to control search engine indexing, protect administrative directories, and declare XML sitemaps.

User-Agent Rule #1
User-Agent Rule #2

XML Sitemaps

robots.txt Preview
# ====================================================================
# Robots Exclusion Protocol (robots.txt)
# Generated by TxtCraft (https://txtcraft.site)
# Date: 2026-10-12
# ====================================================================

User-agent: *
Disallow: /admin/
Disallow: /api/private/
Disallow: /checkout/
Allow: /public/
Allow: /sitemap.xml

User-agent: Googlebot
Disallow: /temp/
Allow: /

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

More Webmaster & Plain Text Tools

Compare file revisions, strip formatting, or create custom text documents.

Essential Webmaster Templates

Standardized templates for search engine crawlers, security contacts, and site credits.

SEO & Crawler Configuration Guides

In-depth tutorials on search engine crawler syntax, security disclosures, and indexing rules.

Frequently Asked Questions

Find quick answers to common questions about plain text files, encodings, and online tools.

Upload your robots.txt file to the root directory of your web server so it is accessible at https://yourdomain.com/robots.txt.