What Is llms.txt, and Should You Add It to Your Website?

https://hackernoon.imgix.net/images/XIrPP8tvSRcnB7caGqOv6eGI5rj1-ho83bzg.png

AI assistants now answer questions like "who is the best plumber near me" by reading websites. An llms.txt file is a small, plain-text page at the root of your site that tells them who you are and which pages to read first.

It is an emerging convention, not a standard, and no engine has promised to use it. It takes about ten minutes, so I add one to every site I build.

What goes in it

The format is Markdown with four parts, in this order:

  1. An H1 with the name of the business or site.
  2. A blockquote with a one-line description.
  3. One or more H2 sections.
  4. Under each section, a list of links, each with a short note.

# Harbour Plumbing> Emergency and planned plumbing for homes in Bristol, open seven days a week.## Services- [Boiler repair](https://example.com/boiler-repair): Same-day repairs for gas boilers, with fixed call-out prices.- [Bathroom fitting](https://example.com/bathrooms): Full...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more