About this robots txt generator
Generate a robots.txt group that requests crawlers to avoid selected paths. Enter a user-agent token, one disallowed path per line and an optional sitemap address, then download the file for installation at the site root.
Each nonempty path becomes a Disallow directive under the selected agent. An empty path list produces an empty Disallow directive, meaning no path restriction in that group. The optional sitemap is normalized to an absolute web address.
Robots rules are requests to cooperative crawlers, not access control or authentication. Blocked pages can still appear in search results through external references. This tool does not inspect existing robots groups, combine priorities or install the file on a server.
Using Robots TXT Generator starts with the User-agent and Disallow paths (one per line) and Sitemap URL (optional) controls. Agent * with path /private/ generates User-agent: * followed by Disallow: /private/. Leave all paths blank to allow crawling in this group. Select Generate robots.txt to update the result below the controls. Read the output together with the robots txt generator limitations described here before using it in a document, project or decision. Change one input at a time when comparing alternatives so that you can identify which change affected the result.
Which controls should I check first?
The Robots TXT Generator form labels its controls as User-agent; Disallow paths (one per line); Sitemap URL (optional); Result. Use those labels to keep the source and settings separate. A sample argument that selects a mode is not additional source text. Choose the setting matching your intended operation before copying a result, and change it explicitly when comparing another mode. The labels describe what this form accepts; the worked examples below demonstrate only the stated supplied values.
How should I interpret this specific operation?
A Disallow line describes a crawl instruction for the selected user-agent group. It is not an access-control rule and does not prevent a visitor from requesting the path. An empty disallow list produces an empty directive for that group. Keep a sitemap address distinct from blocked paths, and test the completed file in the actual site's crawl context before relying on it for index management.
Worked helper values
These values come from the reproducible calculation examples supplied with this tool. Each row identifies the complete supplied arguments and the returned value. A visible ↵ denotes a line break and ⇥ denotes a tab in text examples. Settings appear alongside source data so that a different mode is not mistaken for an identical input. These are helper calculations, not observations of a live device, fetched target, image decoder, browser preview or downloaded file. Use the stated method above to relate the returned fields to the actual operation.
| Supplied values | Calculated return value |
|---|---|
| *; /private/; | User-agent: * ↵ Disallow: /private/ ↵ |
What does generating a link actually do?
A link generator assembles a destination address and encodes the values supplied in its fields. It does not send a message, create a transaction, register an account or verify the recipient. Read the resulting destination and parameters before placing the link in a document. Keep a distinction between creating the link as text and opening it in an application. Opening can initiate a separate network workflow whose behavior belongs to the destination service. Use sample recipient values for demonstrations, and check a real destination deliberately before distributing a link that other people will use.
Why do separators need encoding?
A question mark introduces query data, an ampersand separates parameters and an equals sign separates a name from its value. Those characters can also occur inside a subject, message or campaign label. The generator encodes value characters so that they stay data rather than becoming structural delimiters. Spaces and line breaks likewise need the destination's representation. Inspect an example containing an ampersand rather than testing only plain letters, since simple text can conceal a boundary mistake. Avoid encoding the completed address again unless the outer context specifically requires another encoding layer.
Which fields identify the destination?
A recipient, username, telephone number or page address identifies where the link points. A message, amount or campaign label supplies additional data but cannot repair an incorrect destination. Check the destination first, then inspect the optional fields. A generated link can be syntactically well formed even when an account does not exist or the recipient is not who you intended. Preserve required country codes, currency codes and absolute URL conventions where the page asks for them. Do not infer missing information from the formatting of a local number or the appearance of an account label.
How do I use robots txt generator?
Agent * with path /private/ generates User-agent: * followed by Disallow: /private/. Leave all paths blank to allow crawling in this group.
What does robots txt generator support?
Each nonempty path becomes a Disallow directive under the selected agent. An empty path list produces an empty Disallow directive, meaning no path restriction in that group. The optional sitemap is normalized to an absolute web address.
What are the limits of robots txt generator?
Robots rules are requests to cooperative crawlers, not access control or authentication. Blocked pages can still appear in search results through external references. This tool does not inspect existing robots groups, combine priorities or install the file on a server.