How-to

How to Create an llms.txt File for Your Website

A practical walkthrough of the emerging llms.txt convention, with a template you can adapt for your own site in under an hour.

A friendly robot pointing at a text file listing website links

Key takeaways

  • llms.txt is a Markdown file at your site root that summarises your most important content.
  • It’s a proposed convention, so treat it as a low-cost addition rather than a guarantee.
  • Keep it short, curated and in sync with your real pages.

llms.txt is a proposed convention, first published in 2024, for giving large language models a concise, curated map of a website. Where robots.txt tells crawlers what they may access, llms.txt tells models what is worth reading.

The file format

The file lives at https://yourdomain.com/llms.txt and is written in Markdown with a simple structure:

  • An H1 with the name of your site or company.
  • A blockquote with a one or two sentence summary.
  • Optional paragraphs with extra context.
  • H2 sections containing lists of links, each with a short description.

A template you can adapt

llms.txt
# Ceyentra Technologies

> Software development company building web, mobile and AI solutions,
> including Generative Engine Optimization (GEO) services.

## Services
- [GEO & AEO Services](https://ceyentra.com/services/geo-aeo-services): Get found and cited in ChatGPT, Perplexity and Google AI
- [Web Development](https://ceyentra.com/services/web-development): Custom websites and web platforms
- [Mobile App Development](https://ceyentra.com/services/mobile-app-development): iOS and Android apps

## Case studies
- [Portfolio](https://ceyentra.com/portfolio): Selected client projects

## Company
- [About us](https://ceyentra.com/about-us): Who we are and how we work
- [Contact](https://ceyentra.com/contact-us): Get in touch with our team

Step by step

  1. List the 10–20 pages that best explain what you do: services, key product pages, pricing and top guides.
  2. Write a one-line description for each, stating plainly what the page covers.
  3. Group them under clear H2 headings.
  4. Save the file as llms.txt in your site’s public root so it’s served at /llms.txt.
  5. Check that it loads in a browser as plain text and that every link works.
  6. Review it whenever you add or retire a major page.

Common mistakes to avoid

  • Dumping every URL from your sitemap. The value is in curation.
  • Marketing language instead of plain descriptions.
  • Linking to pages that are blocked in robots.txt.
  • Letting the file go stale after a site redesign.

Ready to be the answer AI recommends?

Get your free AI readiness audit, or talk to our team about a full GEO & AEO strategy for your brand.