What llms.txt is, and whether you need one
llms.txt is a plain-text file in the root folder of your website. It gives large language models a short tour of the site: what the business does, where the main pages are and which content matters most. The idea borrows from robots.txt and sitemap.xml, but it is meant to be read, not to control crawling.
The basic structure
A common layout is one top-level heading with the site name, a quoted line with a short summary, and then links grouped by topic.
# Example Dental Clinic > A family dental clinic in Toronto offering cleanings, fillings and orthodontic consultations. ## Services - [Cleanings and checkups](https://example.ca/cleaning): routine checkup every six months - [Fillings](https://example.ca/fillings): composite fillings and pricing ## About - [Our dentists](https://example.ca/team)
The top-level heading on the first line is required; it is the only name in the file. Links should be full, absolute URLs.
What it can and can't do
- It can: put your important pages in one place, so a model or tool that wants a quick picture of your business can read them.
- It can't: guarantee that AI will cite you because you wrote one. No major search engine has said it ranks pages based on llms.txt.
- It doesn't replace robots.txt: whether crawlers are allowed in is still decided by robots.txt.
Should you write one?
A file of a few dozen lines costs very little to write, but the content has to be accurate and match your pages. It is worth doing if:
- Your site has many pages and the home page doesn't clearly list your main services.
- You want models to find your pricing, contact details and service area directly.
If your site only has a few pages, or the pages are already clear, you can skip it for now and put the effort into your page content and structured data.
What to check
- The file loads at
yourdomain/llms.txtand returns 200. - It has a top-level heading.
- Every link is an absolute URL that opens and points to your own pages.
CiteRev's free check runs these basic checks on your llms.txt.
Related articles
The free check looks at whether your site has an llms.txt file and whether its basic structure is correct.
Apply for a free check