Setup guide · 3 minutes · Beginner
Install llms.txt on static HTML hosting
If you have plain file access to your site, this is the easiest case: drop the file at the root and you're done.
01
FTP / SFTP
- Connect to your server with an FTP client (FileZilla, Cyberduck, Transmit).
- Navigate to your site's root directory — usually
public_html,htdocs,www, or whatever your provider documents. - Drag
llms.txtinto the root. - Visit
https://yoursite.com/llms.txtto confirm.
02
Amazon S3 / Cloudflare R2
- Open your bucket in the AWS or Cloudflare console.
- Upload
llms.txtat the bucket root (no folder prefix). - Set the object's Content-Type to
text/markdown; charset=utf-8. - Make sure the object is publicly readable (or behind your CloudFront/Cloudflare distribution that allows it).
- Visit your domain's
/llms.txtto confirm.
03
GitHub Pages
- Place
llms.txtat the repository root, or indocs/if that's your Pages source. - Commit and push.
- GitHub Pages will publish it within a minute or two.
- Visit
https://yourname.github.io/llms.txtor your custom domain to confirm.
!!
Common pitfalls
- MIME type: If your hosting serves the file with the wrong Content-Type (e.g. binary download), AI crawlers may skip it.
text/plainortext/markdownare both fine. - Permissions: On Linux/Unix hosting, ensure file permissions are 644 (readable by all). FTP clients usually do this by default.