/ llmtxt.info

llms.txt for Webflow

Webflow lets you edit robots.txt from the dashboard, but offers no equivalent for custom root files like llms.txt. The reliable route is an edge proxy in front of your domain.

Last updated:

The short answer

Webflow generates robots.txt and sitemap.xml from project settings, but does not document a way to serve an arbitrary text file at your domain root. Files you upload as assets are hosted on Webflow's asset domain, not at yourdomain.com/llms.txt. If your DNS sits on Cloudflare (or another edge provider with programmable routing), you can answer the path yourself without touching Webflow.

Option A: edge proxy (Cloudflare Worker)

worker.js
// Cloudflare Worker: serves /llms.txt in front of your Webflow site.
// Requires your domain's DNS to be on Cloudflare with the proxy enabled.
const LLMS_TXT = `# Your site

> One-sentence factual description of your site.

## Main pages

- [Services](https://yourdomain.com/services): what you offer.
- [Pricing](https://yourdomain.com/pricing): plans and rates.
- [Contact](https://yourdomain.com/contact): how to reach you.
`;

export default {
  async fetch(request) {
    const url = new URL(request.url);
    if (url.pathname === '/llms.txt') {
      return new Response(LLMS_TXT, {
        headers: { 'content-type': 'text/plain; charset=utf-8' },
      });
    }
    return fetch(request); // everything else passes through to Webflow
  },
};

Add a Workers route for yourdomain.com/llms.txt only: the Worker answers that one path and everything else flows to Webflow unchanged. Keep the file content in the Worker (or in Workers KV if you update it often), and redeploy when your key pages change.

Option B: alternatives

  • Check Webflow's current settings and marketplace. Platform capabilities change; if Webflow ships native support or an app that registers /llms.txt on your primary domain, prefer it over a proxy.
  • Reverse proxy you already run. If your domain already fronts Webflow through Nginx, Fastly or similar, add a location block for /llms.txt there instead.

What to avoid

  • An asset-hosted copy. A file on Webflow's asset CDN is not at your root; tools that look up the conventional path will miss it.
  • A designed page with the content. The spec expects plain Markdown served as text, not an HTML page.

FAQ

Will llms.txt improve my Webflow site's Google rankings?

No, Google has said it does not use the file. Its value is for AI assistants and crawlers; see llms.txt and SEO.

Does the proxy slow my site down?

A scoped Workers route on a single path adds no measurable latency to the rest of the site; requests to other paths do not run the Worker when the route is limited to /llms.txt.

Sources