Skip to content

Free ai.txt Generator

Choose which kinds of content AI models may train on, and get an ai.txt file plus matching robots.txt rules for the major AI crawlers.

  • Free, no sign-up
  • Runs in your browser; nothing is uploaded
  • Updated Oct 25, 2026

May AI models train on your...

  • Allowed
  • Disallowed
  • Allowed
  • Disallowed
  • Disallowed

ai.txt

# ai.txt: AI training permissions (Spawning proposal)
User-Agent: *
Allow: *.txt
Allow: *.pdf
Allow: *.doc
Allow: *.docx
Allow: *.html
Allow: *.md
Disallow: *.jpg
Disallow: *.jpeg
Disallow: *.png
Disallow: *.gif
Disallow: *.webp
Disallow: *.avif
Disallow: *.svg
Allow: *.js
Allow: *.ts
Allow: *.py
Allow: *.go
Allow: *.rs
Allow: *.java
Allow: *.css
Disallow: *.mp3
Disallow: *.wav
Disallow: *.ogg
Disallow: *.flac
Disallow: *.m4a
Disallow: *.mp4
Disallow: *.webm
Disallow: *.mov
Disallow: *.avi

Add to robots.txt

# AI training crawlers are allowed (no rules needed).

How to use the ai.txt generator

  1. 1

    Pick content types

    Text, images, code, audio, video: allow or disallow each.

  2. 2

    Add exceptions

    Paths that should always be allowed or blocked.

  3. 3

    Upload both files

    ai.txt and the robots.txt rules, at your site's root.

ai.txt and robots.txt

ai.txt is a proposal from Spawning: a robots.txt-style file at /ai.txt that states which file types on your site may be used to train AI. Some dataset tools honour it; it is not a standard every company follows.

robots.txt rules for specific AI crawlers (GPTBot, ClaudeBot, Google-Extended, CCBot) are more widely respected, so the generator gives you both.

Questions

Is ai.txt legally binding?

No. It states your preference; whether a company honours it is up to them.

Will this remove me from AI search?

Not if you keep search crawlers like OAI-SearchBot and PerplexityBot allowed. The generator separates training from search.

Where do I put ai.txt?

At the root: yoursite.com/ai.txt.

Is this the same as llms.txt?

No. llms.txt helps AI tools read your site; ai.txt sets training permissions.

All free tools

Launch your startup on Aback Launch

Get a launch page that search engines and AI assistants can read, a place in the weekly launch list, and a review by a real person. Free to join.