Adding llms.txt to a Notion site
Published:
Notion's built-in site publishing is locked down — it serves your pages, not custom files — so an llms.txt needs help from the layer around it.
Option 1 — an edge proxy on your custom domain
If you serve your Notion site through Cloudflare (or a similar CDN) on a custom domain, serve /llms.txt from a small edge worker that returns your text as Content-Type: text/plain. This is the most reliable route and keeps the canonical root URL.
Option 2 — a Notion-site platform that supports it
Tools that publish Notion content as a site (Super, Potion, Notiondesk and others) add capabilities Notion lacks — custom code, redirects, and in some cases an auto-generated llms.txt built from your pages. If you use one, check its docs or AEO settings.
Native Notion alone?
On a plain notion.site with no proxy or builder, there's no supported way to serve a plain-text root file — so use one of the options above.
Validate
Paste your domain into the validator to confirm /llms.txt is reachable as plain text and every link resolves.