What is llms.txt and Why Your Website Might Need One
dev.to·21h·
Discuss: DEV
📦METS Standards
Preview
Report Post

tags: [ai, seo, webdev, llm]

You’ve heard of robots.txt. Now meet llms.txt - a markdown file designed to help AI models understand website content more effectively.

The Problem It Solves

Large language models face challenges when processing websites:

  • HTML is messy (nav, ads, scripts mixed with content)
  • Websites are enormous (hundreds of pages)
  • Every site structures information differently

What is llms.txt?

Jeremy Howard from Answer.AI proposed this standard in September 2024. It’s a markdown file at your website root providing:

  • Site overview
  • Section descriptions
  • Important links with context
  • Information tailored for machine comprehension

The Format

Plain markdown with sections for site name, tagline, about information, site structure, key pages, …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help