By hand
Write the file in any text editor using the format above and upload it to the root of the site, next to robots.txt. It takes about twenty minutes for a small site, and you need nothing but a text editor.
- Good for
- Small sites that rarely change: a business card site, a portfolio, a landing page.
- What you do
- Create a file named
llms.txt, write the site name as# Name, one sentence about the site after>, then groups of links- [Page](https://example.com/page/): short note. - Where it goes
- The file must open at
https://example.com/llms.txt. On most hostings that is the folder whereindex.htmlorrobots.txtalready lies. - Check
- Open the address in a browser. You should see plain text, not a page with a design and not a 404.
- Catch
- Every new page means editing the file again, and it is easy to forget. An outdated file sends readers to pages that no longer exist.