llms.txt file that describes your website and points agents to its most useful pages.
Human visitors continue to receive your regular website. Markdown is returned only when explicitly requested, either through the Accept header or a Markdown representation URL.
How Agent Readability works
Agent Readability provides two related capabilities:- Markdown for AI agents converts an HTML page into a content-focused Markdown representation. It removes presentation markup and common boilerplate while preserving useful content such as headings, paragraphs, lists, links, images, code blocks, and tables.
- Generated
llms.txtcreates a Markdown index containing a short description of your website and links to important pages, grouped into relevant sections. You choose whether Agent Readability discovers those pages automatically, uses a list you provide, or selects them from a sitemap.
Generating and serving
llms.txt requires Markdown for AI agents to be
enabled. Both features require Bunny Optimizer to be enabled on the Pull
Zone.Enable Markdown for AI agents
- Open your Pull Zone in the bunny.net dashboard.
- Select Optimizer
- Enable Bunny Optimizer if it is not already enabled.
- Select Optimizer → Agent Readability.
- Turn on Enable Markdown for AI agents.

text/markdown in the Accept header:
Markdown representation URLs
Alternatively, you can request a Markdown representation directly through a URL instead of using the Accept header. The URL format depends on whether the original path ends with a slash:
The representation keeps the original page URL as its base, so relative links and images become absolute URLs that continue to point through your Pull Zone.
What gets converted
Agent Readability converts HTML documents and keeps their readable content. During conversion, it:- Preserves headings, paragraphs, lists, links, images, code blocks, blockquotes, task lists, strikethrough text, and tables
- Removes navigation, footers, sidebars, forms, dialogs, search controls, scripts, styles, and embedded media
- Removes hidden and
aria-hiddencontent - Resolves relative links and image sources against the public Pull Zone URL
Generate an llms.txt file
Anllms.txt file is a Markdown index at the root of your website. It gives AI agents a concise overview of the site and links them to representative content without requiring them to discover every page themselves.
To generate it:
- Open Optimizer → Agent Readability and enable Markdown for AI agents.
- Click Generate llms.txt.
- Choose a generation mode and provide any requested source information.
- Click Generate llms.txt in the dialog.
- Wait for the status to change from Processing to Generated. Click Refresh to check the latest status.
- Turn on Enable llms.txt serving.
Generation modes
Agent Readability can select up to 20 source pages for onellms.txt generation.
- Automatic
- Select pages
- Use sitemap
Agent Readability discovers representative pages for you. It considers pages
that have already been successfully converted to Markdown and looks for a
sitemap declared in
robots.txt. If robots.txt does not declare one, it
tries /sitemap.xml.This mode works best after Markdown representations of some pages have
already been requested or when your site publishes a sitemap.Accept: text/markdown.
Pages that cannot be fetched or converted are skipped.
If no valid pages are provided, the generation fails.
Regenerate llms.txt
Regenerate the file if generation fails or when the structure or primary content of your website changes:- Open Optimizer → Agent Readability.
- Click Regenerate llms.txt.
- Choose a generation mode and start generation.
- Wait for the status to return to Generated.
Troubleshooting
A Markdown request returns HTML
Check that:- Bunny Optimizer and Markdown for AI agents are enabled.
- The request method is
GETorHEAD. - The
Acceptheader containstext/markdown, or you are using a valid Markdown representation URL. - The requested resource returns HTML. Static assets and formats such as images, PDFs, JSON, XML, and existing Markdown files are not converted.
llms.txt generation fails
Confirm that the source URLs:- Are absolute
http://orhttps://URLs - Are publicly reachable without credentials
- Return successful HTML responses through the Pull Zone
- Can be returned as
text/markdownwhen requested
llms.txt is not available at the site root
The file is served only when its status is Generated and Enable llms.txt serving is on. Verify both settings, then request/llms.txt from the Pull Zone hostname shown in the dashboard.