Skip to content
Developer & CodeLocal · Stays on device

Robots.txt Generator

Create robots.txt rules for crawlers and test whether a URL is allowed, following RFC 9309.

  • Works on desktop and phone
  • Free to use
  • No sign-up or watermark
robots-txt-generatorOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10

Not yet professionally reviewed. This tool’s formulas and wording have not been checked by a qualified professional. Use the results as an estimate and verify anything important.

A planning and formatting aid, not a security or compliance audit. Check changes in a staging environment before deploying.

About this tool

Build robots.txt from groups of user-agents with Allow and Disallow paths, optional crawl-delay and sitemap links, or start from presets such as allow everything, block admin and search pages, or block common AI crawlers. Mistakes such as paths without a leading slash and relative sitemap URLs are flagged.

The tester shows whether a crawler may fetch a URL and which rule decided it, using the RFC 9309 rules: the crawler's own group replaces the * group, the longest matching path wins, Allow wins ties, and * and $ wildcards are supported. Switch to “Test an existing file” to paste a live robots.txt. Everything runs in your browser. Nothing you enter is uploaded, logged or stored.

  1. Input

    Your code or text

    Pasted or opened from a file

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelineInstant, in-browser

How to use it

  1. 1

    Pick a preset or edit the groups.

  2. 2

    Add your sitemap URL.

  3. 3

    Test a few URLs, then download robots.txt and put it at your site's root.

Zero-upload architecture

How to use Robots.txt Generator for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open Robots.txt Generator

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Add your sitemap URL.

  3. 3

    Get your result

    Test a few URLs, then download robots.txt and put it at your site's root.

  • Local

    Sitemap XML Generator

    Turn a list of URLs into a valid XML sitemap, split into several files with an index when needed.

    Open tool
  • Local

    Structured Data Generator

    Generate schema.org JSON-LD for articles, products, FAQs, breadcrumbs, events, businesses and people.

    Open tool
  • Local

    Link Preview Meta Tag Generator

    Generate Open Graph and X card meta tags, or test a page’s existing tags, with previews of how the link will look when shared.

    Open tool
  • Local

    Canonical URL Checker

    Check a page's rel=canonical tag: missing or duplicate tags, relative URLs, http, fragments, tracking parameters and conflicts with noindex.

    Open tool