Free tool
llms.txt generator
Copy the template, replace the bracketed parts, save it as llms.txt at your website root. Fifteen minutes.
The template
# [Business name] > [One sentence: what you do, for whom, with a constraint. > Example: Quoting software for field service crews under ten people.] > [Second sentence: where you operate and since when.] ## Core pages - [Pricing](https://[yourdomain]/pricing): [what is on this page, not why it is good] - [Services](https://[yourdomain]/services): [what is on this page] - [About](https://[yourdomain]/about): who runs the business, address, ABN ## Answers - [FAQ](https://[yourdomain]/faq): [how many questions, on what topics] - [Guides](https://[yourdomain]/guides): [what they cover] ## Contact - [Contact](https://[yourdomain]/contact): phone, email, hours, service area ## Optional - [Changelog](https://[yourdomain]/changelog): release history - [Terms](https://[yourdomain]/terms): terms of service
The five rules
- Absolute URLs. The reader may have no idea what domain the file came from.
- Describe, do not sell. After the colon, say what is on the page. Adjectives are wasted here.
- Put a constraint in the summary. "For crews under ten" is useful. "Innovative solutions" is not.
## Optionalgoes last. By convention a reader under a size limit skips that section.- Keep it true. A file listing pages that 404 is worse than no file at all.
Where it goes
The root of your domain: yoursite.com/llms.txt. It must return 200 and text/plain.
- Static site / Astro / Next.js: put it in
public/. - Azure Static Web Apps: repo root, and make sure
staticwebapp.config.jsonhas nonavigationFallbackthat would swallow it. - WordPress: see the rewrite rule in the WordPress guide.
- Shopify, Wix, Squarespace: not directly possible. Skip it and spend the time on schema instead.
Check it worked
Open yoursite.com/llms.txt in a browser. If you see plain text, you are done. If you see your homepage, an SPA fallback rule is intercepting it. If it downloads a file, the content type is wrong.
Full background in llms.txt explained.
Common questions
Do I need llms.txt if I already have a sitemap?
They do different jobs. A sitemap lists every URL for a crawler. llms.txt explains in prose what the site is about and which handful of pages matter most.
How long should llms.txt be?
Short. Ten to thirty links for most sites. It is a map, not a copy of your website.
Take this to your assistant
Paste it into ChatGPT, Copilot, Claude or Gemini and apply it to your own website.
Nothing is sent anywhere. The text is copied to your clipboard.