Robots.txt Generator Tool by Digital Magma helps you draft crawler rules and check which paths those rules allow or block. Choose a starting preset, edit bot preferences and test important URLs before downloading. Import an existing file without changing its comments or custom groups. Every result is a rule simulation, not a guarantee of indexing.
Published by Digital Magma · Updated · Free, no account required
Start. Enter your website root, such as https://example.com, or load the example.
Choose. Keep rules open unless you have a reason to block a path. Presets are starting points.
Test. Select a bot and test your homepage, service pages, images and scripts.
Export. Review the matched lines, download robots.txt and install it at your site root.
Inputs stay in this tab. Save a workspace before closing. Fetch sends the public domain to Digital Magma’s server; no third-party proxy is used. Privacy
1
Robots.txt website and platform
Only Website Root URL (*) is mandatory. Select your CMS platform to load illustrative crawl rules for review.
* Domain Required
Sitemap format: use an absolute HTTP or HTTPS URL pointing to your published sitemap.
Robots.txt visual access examples · Standard Open
Click any card below to test & auto-scroll to its matching rule line in the code:
Bot: Googlebot
Robots.txt URL tester
Simultaneous 8-Bot Matrix on This Path:
Test multiple paths at once against Googlebot (one path per line):
Up to 200 URLs per batch. Use paths or full URLs on the selected origin.
Robots.txt checks and fixes
Checks pending
Robots.txt output and editor
0 lines · 0 B / 500 KB max
Mandatory Required (*) field pending: Enter your Primary Website Root URL in Step 1 (or click Load Sample).
Specific bot groups do not inherit wildcard rules. “Allow” creates an explicit open group; use Global to follow general rules.
Edit or review the complete robots.txt text
Apply text before testing or exporting. Builder preferences are paused in raw mode.
Robots.txt generator: how to use this tool
Robots.txt Generator Tool turns your crawl preferences into a downloadable text file. Digital Magma includes a rule tester so you can inspect decisions before changing a website. Start with a clean draft if you do not know which platform preset matches your site.
Website root: enter https://example.com, not a service-page URL. The scheme, hostname and port define the rules’ scope. www.example.com and example.com are separate hosts.
Sitemaps: add your actual sitemap or sitemap-index URL. The suggested /sitemap.xml is only a starting value; check it exists. Multiple sitemap lines are supported.
Bot preferences: Global follows the general group. Allow creates a separate open group. Block creates a separate root block. A specific group does not inherit the wildcard group; add its required path restrictions explicitly.
Path rules: use /private/ for a prefix, /*.pdf$ for a PDF suffix, and /private/public/ as a longer allowed exception. Paths are case-sensitive. An empty rule imposes no restriction.
Test: choose the crawler, enter a path and inspect the winning line. Bulk testing accepts up to 200 URLs at a time and exports CSV. The map shows example paths for your chosen platform, not a crawl of your real site.
Download: review the file, back up your existing robots.txt and deploy through your CMS or hosting provider. Reopen https://example.com/robots.txt to confirm the public file, then test it again.
Robots.txt import and raw-text editing
Robots.txt import preserves comments, multiple user-agent groups, custom bot names and unsupported directives exactly. Paste text or fetch a public domain. Imported text opens in raw mode so builder defaults cannot silently overwrite it. Edit the complete text, select Apply raw text, then test and export. Returning to the builder restores that separate draft after confirmation.
Live fetch supports public domains on standard HTTP or HTTPS ports, follows at most four redirects and checks up to 500 KiB. It can fail if the destination blocks automated requests, has an invalid certificate, times out or is IPv6-only. An error preserves your draft. Paste the file when fetch is unavailable. Blank files are valid and permit crawling under the protocol.
Robots.txt platform presets and crawler limits
Robots.txt presets cover WordPress, WooCommerce, Shopify, Next.js, Magento, generic ecommerce, a clean site and staging. They are editable examples, not vendor-approved configurations. Shopify may generate platform-managed rules; merge carefully in robots.txt.liquid. Keep JavaScript, CSS and image resources available when search engines need them to render your pages.
Googlebot does not use Crawl-delay or Clean-param. These optional directives are retained in exports but excluded from local allow/block calculations. AdsBot ignores the wildcard group. Google-Extended is a separate Gemini control, not a way to manage Google Search or AI Overviews. User-triggered fetchers such as ChatGPT-User may not follow robots.txt. Check the provider’s current crawler documentation before choosing a policy.
Robots.txt controls cooperative crawling, not access security. It cannot reliably hide private information, prevent every bot or guarantee removal from search. Use authentication for private content. A noindex instruction normally requires the crawler to access the page; blocking it can prevent that instruction from being read.
Robots.txt questions before you publish
Does blocking a URL remove it from Google?
Robots.txt blocks crawling by compliant bots. A blocked URL may remain indexed from other signals. Choose the right removal or noindex approach for the content, and make sure Google can see any page-level indexing instruction.
Can this tool edit my website automatically?
Robots.txt Generator Tool creates, tests and exports your draft. It does not log in to your hosting account or replace your website’s file. Review the output and deploy it yourself, or ask your developer.
Which rule wins if Allow and Disallow conflict?
The tester first chooses the most specific matching crawler group and combines equally specific groups. Within those groups, the longest matching path wins. Allow wins an equal-specificity conflict. Paths use case-sensitive matching, wildcard * and end marker $.
Is an allowed result proof that Google can index the page?
An allowed result means the supplied robots.txt rules permit that path in this local simulation. Server errors, authentication, noindex, canonicalization, rendering and content quality can still affect crawling and indexing. This tool does not inspect those factors.
Are my drafts saved or sent to a third party?
Generation and testing run in this browser tab. Use Save workspace to keep a local JSON backup. Fetch sends the requested public domain to Digital Magma’s server, which requests its robots.txt. No third-party proxy is used. Normal server logs may record requests; do not enter private URLs or credentials.
Robots.txt sources and publisher
Digital Magma is based in Noida, India. Founder Ankit Sachan works in SEO, technical SEO and AI search visibility. Read our agency case studies and Google business reviews for background. Agency reviews are not ratings of this tool.
For implementation help or a reproducible error, contact contact@digitalmagma.com, call +91 79823 19697, or use WhatsApp. Include the sample rules and expected result, without passwords or private client data. Robots.txt Generator Tool is free; agency implementation services are separate.