Home/Learn/How to deploy llms.txt on your domain (no developer required).

Learn · DIY tutorial

How to deploy llms.txt on your domain (no developer required).

llms.txt is the 2024 standard signaling site structure to AI engines. It is a single text file at your domain root. Most websites can deploy it in 30 minutes without engineering help.

01

Open the llms.txt specification at llmstxt.org.

The spec is short and human-readable. Skim it once. The format is similar to a Markdown summary of your site organized for AI engines.

02

Draft your llms.txt content.

Header section with business name, one-line description, and primary URL. List sections for major site areas (Services, Atlas, Problems, About). Under each section, list the top 5-10 pages with short descriptions. The full file is typically 100-300 lines of Markdown.

03

Save as plain text file named llms.txt.

Use a code editor or plain text editor. Save with the exact filename "llms.txt" (lowercase, no extension changes). UTF-8 encoding. Line endings: LF (Unix) preferred but CRLF (Windows) also works.

04

Upload to the root of your domain.

Most hosting platforms (Cloudflare Pages, Netlify, Vercel, Shopify, WordPress) let you upload files to the domain root. The result should be accessible at yourdomain.com/llms.txt. No subfolder.

05

Verify the deployment by visiting yourdomain.com/llms.txt in a browser.

You should see the plain text file content. If you see a 404 or an HTML page, the file is in the wrong location. Most often the fix is moving the file from a subfolder to the actual root.

06

Add an ai.txt file alongside it (same process).

ai.txt is a complementary file with similar purpose. Most operators deploy both at the same time. The format is similar; the spec at llmstxt.org/ai-txt has the details.

Common mistakes.

Still not resolved? Stan Consulting reads the structural pattern.

If you cannot upload to the domain root or your hosting platform does not support custom files at root, the AI Visibility BUILD handles the deployment plus the rest of the structural install.

Order the Second Opinion →

The structural concept underneath this tutorial

llms.txt

Open the Atlas concept →