Draft an llms.txt file for your website
A ChatGPT prompt to draft an llms.txt file — a short site summary and curated links in the proposed Markdown format, so AI tools can find key pages.
- Published
- Works with
- ChatGPT, Claude and Gemini
- Level
- Intermediate
An llms.txt file is a proposed standard: a Markdown file at your site root that summarises the site and links to the pages that matter most for AI tools. Support from AI companies is still limited and may change, but the file is quick to make. This prompt drafts an llms.txt file from your site structure, without padding or keyword stuffing.
The prompt
Act as a technical SEO specialist. Draft an llms.txt file for my website.
Site name and domain:
What the site or company does, in plain words:
Main audiences:
Key pages with URLs and one-line descriptions (docs, products, pricing, guides, policies):
Pages to leave out:
Write:
1. The file in the proposed llms.txt format: an H1 with the site name, a short blockquote summary, a few sentences of context, then H2 sections with Markdown link lists ("[Title](URL): description").
2. An "Optional" section for secondary pages.
3. Notes on which pages should have clean Markdown or text versions.
4. A short checklist to keep the file updated.
Use only the URLs I gave. Keep descriptions factual and short.
How to use it
- List 10–30 of your most useful pages, not every URL.
- Upload the file as /llms.txt at your site root.
- Update it when you add or remove key pages.
Tips
- Check how AI tools see your brand with the AI search brand visibility audit prompt.
- Improve the pages themselves with the optimize content for AI overviews prompt.
Frequently asked questions
What does this prompt do?
A ChatGPT prompt to draft an llms.txt file — a short site summary and curated links in the proposed Markdown format, so AI tools can find key pages.
Which AI tools does it work with?
It is written for ChatGPT, Claude and Gemini. It also works in other AI tools that accept text prompts, with small changes.
What do I need to fill in?
5 blanks: site and domain; description; audiences; key pages; exclude. Click each blue blank on the page, type your details and press Copy prompt.
Is this prompt free to use?
Yes. You can copy and use it for personal and commercial work.