Quick PresetsMultiple User-AgentsCopy & Download

Preview

User-agent: *
Allow: /

How It Works

1

Choose a Preset or Build

Start with a preset or add user-agent sections manually.

2

Add Rules

Set allow/disallow paths, crawl-delay, and sitemap URL.

3

Copy or Download

Copy the generated robots.txt or download the file.

Frequently Asked Questions

What is a robots.txt file?
A robots.txt file tells search engine crawlers which pages or files they can or cannot request from your site. It is placed in the root directory of your website (e.g., example.com/robots.txt).
What does User-agent * mean?
The asterisk (*) is a wildcard that matches all web crawlers. Rules under "User-agent: *" apply to every bot unless a more specific user-agent section overrides them.
Does robots.txt block pages from appearing in search results?
Not necessarily. While Disallow prevents crawling, a page can still appear in search results if other sites link to it. To truly prevent indexing, use a "noindex" meta tag or X-Robots-Tag HTTP header.
What is Crawl-delay?
Crawl-delay tells compliant bots to wait a specified number of seconds between requests. This can reduce server load from aggressive crawlers. Note that Googlebot ignores Crawl-delay; use Google Search Console instead.
Share:

About Robots.txt

What this tool does

Web and SEO tools generate meta tags, Open Graph tags, Twitter cards, schema markup (JSON-LD), sitemaps, robots.txt files, canonical URLs, UTM links, and redirect rules. They also check existing pages for common SEO issues.

Why use this tool

Search-engine optimization depends on correct markup. Missing meta descriptions, broken Open Graph tags, or incorrect canonical URLs can tank rankings. These tools produce valid markup you can paste directly into your site.

How it works

You fill in fields (title, description, image URL), and the tool generates the corresponding HTML tags or JSON-LD block. Validators fetch your URL and parse the response headers and DOM to report issues.

Pro tip

Always set a canonical URL on every page, even if you think there is only one version. Canonicals prevent duplicate-content issues from URL parameters, trailing slashes, and protocol differences.

Part of these workflows

Love this tool? Explore 12467+ more

Free online tools for images, PDFs, text, code, and more. All running in your browser.

Explore All Tools