Searchlight
Tools
BlogAbout
Free SEO Audit
Back to home
๐Ÿ“ˆSEO & Analytics
๐Ÿ—‚๏ธText & Data
๐Ÿ”Encoders & Decoders
โšกGenerators
UUID GeneratorPassword GeneratorLorem IpsumRandom GeneratorBarcode GeneratorFake Data GeneratorColor PaletteGradient GeneratorBox Shadow Builder.htaccess Generatorrobots.txt BuilderMeta Tag GeneratorCSS Filter Generator
๐Ÿ”„Converters
๐Ÿ–ผ๏ธImage Tools
๐Ÿ“„PDF Tools
๐Ÿ’ปCode Tools
๐Ÿ”Regex & Parsing
๐ŸงฎCalculators
๐Ÿ—บ๏ธDiagrams
๐ŸŒNetwork & Web
โœ๏ธText Utilities
๐ŸŽจColor Tools
๐Ÿ”€Diff & Compare
148+ tools. OAuth is read-only.
Searchlight

148+ free SEO, developer, image, PDF, and productivity tools - no account needed.

Free ยท all tools included
Company
  • Blog
  • About
  • Free SEO Audit
Legal
  • Privacy Policy
  • Terms of Service
  • Cookie Policy

ยฉ 2026 Searchlight. All rights reserved.

Read-only OAuth ยท No data reselling ยท Completely free

robots.txt Builder

Build your robots.txt file visually, then copy or download it.

Sitemap URL
Preview
User-agent: *
Allow: /
Disallow: /admin

User-agent: Googlebot
Allow: /

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

About this tool

Generate a robots.txt file visually - add Allow and Disallow rules for any user-agent, set crawl delay, and specify your XML sitemap URL. Preview the output and validate it before deploying. Correctly configured robots.txt files prevent crawlers from wasting budget on admin pages, duplicate content, and private sections.

How to Generate a robots.txt File

  1. 1Select the user-agent to configure (or use * for all crawlers).
  2. 2Add Disallow paths for pages you don't want crawled (e.g. /admin/, /private/).
  3. 3Add Allow rules for exceptions within disallowed directories if needed.
  4. 4Enter your sitemap URL to include the Sitemap directive.
  5. 5Copy the generated robots.txt and upload it to your site's root directory.

Frequently Asked Questions

What is a robots.txt file?+
robots.txt is a text file in your site's root that tells crawlers which pages they can and cannot access. It's a courtesy protocol - well-behaved crawlers (Googlebot, Bingbot) respect it, but malicious scrapers ignore it.
Does blocking a URL in robots.txt remove it from Google?+
No. Disallowing a URL prevents Google from crawling it, but if other sites link to it, Google may still index the URL (showing it without a description). To remove a URL from search results, use noindex in the page's HTTP header or meta tag.
What is crawl budget and how does robots.txt help?+
Crawl budget is the number of pages Googlebot crawls on your site per day. Disallowing low-value pages (admin panels, login pages, search result pages, infinite scroll URLs) focuses crawl budget on your important content.
Can I block just one user-agent?+
Yes. Use User-agent: GPTBot (block OpenAI's crawler) or User-agent: Bingbot (block Bing specifically). User-agent: * applies to all crawlers. Rules apply only to the user-agent block they appear under.
Looking for a deeper guide on this topic? Browse the Searchlight blog.
Visit the blog โ†’

Related tools

View all Generators โ†’
UUID GeneratorUUID v4 bulk generator - formats & copy allPassword GeneratorConfigurable rules, strength meterLorem IpsumGenerate placeholder text by paragraphs, sentences, or wordsRandom GeneratorRandom numbers, strings, arrays