Robots.txt Generator
Create robots.txt file to control search engine crawlers
Rules
Generated robots.txt
# robots.txt generated by Shining Toolbox # Generated: 2026-01-25T06:23:45.229Z User-agent: *
About Robots.txt Generator
How to Use the Robots.txt Generator
- Choose a preset or start from scratch
- Set User-agent - Target all crawlers (*) or specific ones
- Add Disallow paths - Pages/directories to block
- Add Allow paths - Override Disallow for specific paths
- Add Sitemap URL - Help crawlers find your sitemap
- Copy and deploy - Place file at your domain root
Common Directives
User-agent
Specifies which crawler the rules apply to:
*- All crawlersGooglebot- Google’s crawlerBingbot- Bing’s crawlerYandex- Yandex’s crawler
Disallow
Paths that crawlers should NOT access:
Disallow: /admin/
Disallow: /private/
Disallow: /*.pdf$
Allow
Override Disallow for specific paths:
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap
Tell crawlers where to find your sitemap:
Sitemap: https://example.com/sitemap.xml
Crawl-delay
Request delay between requests (not all bots honor this):
Crawl-delay: 10
Best Practices
| Do | Don’t |
|---|---|
| Block admin areas | Block CSS/JS needed for rendering |
| Block duplicate content | Block your entire site accidentally |
| Include sitemap reference | Rely on it for security |
| Test with Google Search Console | Block important pages |
| Keep it simple | Create overly complex rules |
Common Presets
Standard Website
User-agent: *
Disallow: /admin/
Disallow: /private/
Disallow: /api/
Sitemap: https://example.com/sitemap.xml
WordPress
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://example.com/sitemap.xml
Block Everything (Staging Sites)
User-agent: *
Disallow: / Related Tools
Code Minifier
Minify HTML, CSS, and JSON online. Reduce file size by removing comments, whitespace, and formatting. Free code compression tool.
Diff Checker
Compare two text versions side by side with highlights for additions and deletions. Spot changes in code, configs, or copy instantly with private, in-browser processing.
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes online. Free cryptographic hash calculator for developers.