How to Install llms.txt on Any Website
Step-by-step instructions for installing llms.txt on popular stacks without requiring advanced technical knowledge.
- Author:
- LLMS.txt Generator Team
- Published:
- Updated:
Generate your file
Enter your domain in LLMS.txt Generator, review the preview, and download the finished llms.txt file. Version 1 creates a standards-compliant Markdown file from publicly available pages.
Upload to your site root
Your file must be reachable at /llms.txt. On most hosts that means placing it in the public web root next to robots.txt and sitemap.xml.
WordPress
Upload via FTP/SFTP to the site root, use a file manager plugin that can write to the root directory, or serve the file from your theme’s public assets with a rewrite rule.
Next.js
Place llms.txt in the public/ folder so it is served at /llms.txt after deployment. Alternatively, add a route handler that returns the Markdown with a text/plain content type.
Static hosts
On Netlify, Vercel, Cloudflare Pages, or GitHub Pages, commit the file to the published root directory and redeploy.
Verify the install
Open https://yourdomain.com/llms.txt in a browser. Confirm the content matches your preview and that headings, summaries, and links are correct.
Keep it updated
When you add major products or documentation, regenerate the file and replace the previous version so AI systems always see accurate information.