LLM-friendly links
Links point to LLM-friendly content
In short: Serve a markdown version of each page you link and link the .md URL, or declare it on the page with rel="alternate" type="text/markdown".
What it checks
The share of the file’s links that point to LLM-friendly content: markdown or plain text rather than an HTML page.
Why it matters
llms.txt v2 expects agents to read the file and then follow its links, so the links “should point to LLM-friendly content”. A markdown page costs an agent a fraction of the tokens of the same page in HTML, with no navigation, scripts or layout to strip.
When it applies
Applies when the file has links. A file with no links is Not applicable here.
An audit that doesn't apply, or that we couldn't verify, is removed from your score and its weight shared among the Curation Quality audits that do apply. It is never scored as a zero.
How it's scored
= the share of the file’s links (all sections, ## Optional included) whose path ends in .md or .txt (query and fragment ignored), or whose page declares a markdown alternate with rel="alternate" type="text/markdown" in its <head> or Link: header.
How to fix
- Serve a markdown version of each page you link (page.md or page.html.md) and link that version from the file.
- If you’d rather link the HTML page, declare its markdown version with <link rel="alternate" type="text/markdown" href="…">, or the same in a Link: header.
- Docs platforms such as Mintlify and GitBook can publish the markdown versions for you.
Example
- [Refunds API](https://acme.com/docs/refunds.md): Create, list and cancel refundsFrequently asked questions
What counts as an LLM-friendly link?
.md or .txt (query and fragment ignored, any letter case), or a link to a page that declares a markdown version with rel="alternate" type="text/markdown" in its <head> or an HTTP Link: header. The score is the share of your links, in every section including ## Optional, that qualify.Sources: LLMSRank — LLM-friendly links audit · llmstxt.org — The /llms.txt file, v2 · RFC 8288 — Web Linking (the HTTP Link header)
Which markdown URL form should I link: page.md or page.html.md?
.md appended (page.html.md) or the extension replaced (page.md), with index.html.md or index.md for URLs without a file name; all of them end in .md, so all count. What matters is that the URL really serves markdown, which Markdown versions checks on a sample of your links.Sources: llmstxt.org — The /llms.txt file, v2 · LLMSRank — Markdown versions audit · LLMSRank — Markdown page versions and link relations
Can I link my HTML pages and still score well on LLM-friendly links?
.md or .txt itself. Linking the markdown URLs directly is the reliable route to full marks, and declaring the alternates as well helps Link relations.Sources: LLMSRank — LLM-friendly links audit · LLMSRank — Markdown page versions and link relations
Why does LLM-friendly links carry the most weight in Curation?
Sources: llmstxt.org — The /llms.txt file, v2 · LLMSRank — Method
How many llms.txt files link to markdown?
Sources: LLMSRank — Method · LLMSRank — LLM-friendly links audit