Make your site readable by AI agents

Learn how Framer automatically serves your site content as markdown for AI tools

Framer makes your site easy for AI agents to read and understand by automatically serving a clean, structured markdown version of your pages, with no setup or configuration required.

How markdown delivery works

Framer automatically converts your pages into structured markdown that AI tools can read and reference. This includes tools like Claude, ChatGPT, and Cursor. There are two ways AI agents access markdown.

Content negotiation

When an AI agent requests a page with the Accept: text/markdown HTTP header, Framer returns a markdown version instead of HTML. This is the primary method used by most AI tools.

You can test this behavior using:

curl -H "Accept: text/markdown"
curl -H "Accept: text/markdown"
curl -H "Accept: text/markdown"

.md URL extension

You can also access the markdown version of any page by appending .md to the URL.

For example:

  • https://example.com/pricing.md returns markdown for /pricing

  • https://example.com/blog.md returns markdown for /blog

  • https://example.com/index.md returns markdown for the homepage

The homepage must use /index.md. There is no /.md equivalent. However, content negotiation works directly on the root URL (/).

How to preview what AI agents see

To preview your site as AI agents see it, append .md to any page URL in your browser. For example, you can view Framer’s homepage in markdown at https://framer.com/index.md

How AI agents discover your content

AI agents use multiple methods to discover and navigate your site.

  • Content negotiation: Most agents request markdown directly using the appropriate header.

  • Sitemap: Your sitemap.xml lists all pages and helps agents understand your site structure.

  • Navigation links: Framer automatically includes a ## Navigation section at the bottom of each markdown page. This section contains links across your site to improve discoverability.

  • Link following: After reading a page, agents follow links within the markdown to find additional content.

Using llms.txt

Framer supports llms.txt, a proposed standard that helps AI agents quickly understand your site and access important pages. Once added, the file is available at https://example.com/llms.txt

To learn how to add this file, see Adding llms.txt to your site.

Limitations and considerations

Markdown delivery works automatically, but there are a few important limitations to keep in mind.

  • Markdown is only generated for optimized pages. If a page is not optimized, a markdown version will not be available.

  • In some cases, markdown may also be unavailable if your site is being rate-limited.

  • The .md extension is reserved by Framer and cannot be used in page slugs, redirects, or rewrite rules.

FAQ

  • Does markdown delivery require any setup?

    No. Framer automatically serves markdown for all optimized pages. It works out of the box without any configuration.

  • How do AI agents get the markdown version of my pages?

    Most AI agents request pages using the Accept: text/markdown header. Framer detects this and responds with markdown. You can also access markdown manually by appending .md to any page URL.

  • How do I get the markdown version of my homepage?

    Use /index.md, for example https://example.com/index.md. There is no /.md equivalent. Alternatively, content negotiation works directly on the root URL.

Updated