Framer logo
How-To Guide

How do I add schema and llms.txt to my Framer site?

To add schema and llms.txt to my Framer site, paste JSON-LD into Custom Code and upload a llms.txt file under Hosting. Both steps are in the Framer editor, and both need a published site to test. The llms.txt upload is limited to Pro and Enterprise plans, so check your plan first.

Updated November 22, 2026

TL;DR

Add JSON-LD markup

Open Project Settings, select the Custom Code tab, and add your structured data inside a script tag.

Upload llms.txt to Files

Open Site Settings, then Hosting, then Files, and upload the llms.txt file, which is served at your domain root.

GrandRanker keeps pages current

GrandRanker publishes new articles to your Framer site, so the llms.txt list can stay current.

5 steps

Step-by-Step

  1. 1

    Check your plan

    The help article says the llms.txt feature is available on Pro and Enterprise plans. Confirm your plan in Framer before you prepare the file.

  2. 2

    Open the Custom Code tab

    Open Project Settings and select the Custom Code tab from the left sidebar. Click Add Script if you have not added code yet, or the plus icon if you have.

  3. 3

    Place the schema script

    Choose where the code should be placed on your site. To run the script on certain pages only, select those pages from the list, then choose whether it runs once or on every page visit.

  4. 4

    Upload llms.txt

    Open Site Settings, open Hosting, and go to Files. Upload your llms.txt file, then publish the site, because the file is only available after publishing.

  5. 5

    Test both on the live site

    Open your domain with /llms.txt added to the end to confirm the file loads. Then check the published page source for the JSON-LD script.

What schema should I add to a Framer site?

Use JSON-LD for structured data. JSON-LD is the recommended format. On Framer sites, you can add structured data using the Custom Code feature. Describe the page type, the name, and the main facts in the script, and keep the values identical to what the visible page says.

Add schema to the pages where it describes the content, such as your homepage organization details or an article page. Do not add a schema type that the visible page does not show, because the markup then describes content visitors cannot see.

Write the schema values once, then reuse the same structure on each page, changing only the page details.

How does llms.txt get to my domain?

You upload the file in Framer, and Framer serves it from the root of your domain after publishing. The help article gives the steps as Open Hosting, then Files, then Upload your llms.txt file. Once added, the file is available at the root of your domain, so AI agents can request it directly.

Keep the file in plain text and list the pages that matter most. Update it when you publish new pages, because the file is a map of the site as it is today.

Each line should name a page and its purpose, so an agent can decide where to look without reading the whole site.

Common mistakes

The first mistake is placing schema on the canvas instead of in the Custom Code area. Canvas elements are visible text, not script tags, so search engines and AI agents do not read them as structured data.

The second mistake is editing the file on a free plan without checking the upload. The feature is limited to Pro and Enterprise plans, so confirm the plan before you prepare the file. Then publish and open the live URL to confirm the file loads.

The third mistake is leaving schema on pages where the visible content does not match it, which makes the markup misleading.

Sources

Frequently Asked Questions

Let GrandRanker Do This for You

Grandranker does this for you. GrandRanker publishes search-led articles to your Framer site on a schedule, so the pages behind your llms.txt list keep growing without manual posting.