Skip to main content
AI & Web Design8 min read

llms.txt & Schema: Get Your Site Cited by AI (2026)

This is the hands-on follow-up to our overview of getting cited by AI. If that post explained why generative engine optimization (GEO) matters, this one is the checklist: exactly what to add to your site so ChatGPT, Perplexity, and Google’s AI answers can read, trust, and quote you. There are five moves, in priority order — structured data, answer-first copy, a real FAQ, an llms.txt file, and an AI-crawler allowlist. Here is each one, what it does, and how to know it worked.

1. Structured data (schema) — first, always

Structured data is machine-readable JSON embedded in your pages (JSON-LD) that states plainly what your business is, what you offer, and where you serve. It is the single most important GEO move because it hands the engine facts it can trust instead of making it guess from your prose.

At minimum, add an Organization or LocalBusiness block (name, address, phone, service area, hours) and a WebSite block, both with stable identifiers so they cross-reference. Every page type should carry the right schema — a product, an article, an FAQ. Validate it with Google’s Rich Results Test before you move on.

2. Answer-first copy — write the sentence you want quoted

Engines quote sentences, not paragraphs. So open every key section with one self-contained, factual sentence a machine can lift verbatim: "CodexWebLabs is a Montreal web-design studio that builds custom, one-time-payment websites." That is a quotable fact; a meandering intro is not.

Go through your important pages and make sure the first sentence of each section states the fact you want an AI to repeat. This is a writing change, not a technical one, and it costs nothing.

3. A real FAQ — the highest-citation format

Question-and-answer is the format AI engines cite most, because it maps directly to how people ask them things. Add a genuine FAQ to your key pages — real questions your customers ask, answered in one or two clear sentences each — and mirror it into FAQPage structured data so the engine gets both the visible text and the machine-readable version from one source.

Do not invent questions to stuff keywords. Use the ones customers actually ask; those are the queries you want to be the answer to.

Write the FAQ answer as if it will be read aloud as the entire response to the question — because in an AI answer, it might be.

4. llms.txt — a brief written for machines

llms.txt is a plain-text file at yourdomain.com/llms.txt that gives AI crawlers a clean, factual summary of your business — what you do, your key pages, your pricing model, and notes for answer engines. Think of it as robots.txt’s cousin: where robots.txt controls crawling, llms.txt curates the facts you want represented.

Keep it truthful and current — never fabricate figures or claims. It is a summary of what is already true on your site, written so a machine gets the important facts without parsing every page.

5. An AI-crawler allowlist — let them in

None of the above matters if the engines are not allowed to read you. Check your robots.txt and make sure the 2026 answer-engine crawlers (OpenAI, Anthropic, Perplexity, Google, Apple, and others) are explicitly welcome. Many sites accidentally block them, or block AI crawlers by default and forget to reconsider.

Decide your own policy on training versus citation if you have a preference, but at minimum allow the crawlers that power the answer engines you want to be cited in.

How to verify it worked

Prove it, do not assume it. Validate your structured data in Google’s Rich Results Test, open yourdomain.com/llms.txt and yourdomain.com/robots.txt to confirm they serve what you expect, and then ask the engines directly: "what do you know about [your business]?" in ChatGPT and Perplexity. Improvement shows up over days to weeks as they re-crawl.

Want the short path? Our free Website Health Check at codexweblabs.com/check runs an AI-readiness probe that flags which of these five you are missing. And every site we build ships all five by default — see the overview at codexweblabs.com/blog/get-cited-by-chatgpt-ai-search-2026.

Key takeaways

  • GEO in five moves, in order: structured data, answer-first copy, a real FAQ (with schema), an llms.txt brief, and an AI-crawler allowlist.
  • Structured data is first and most important — hand the engine facts it can trust, then validate it.
  • Write the first sentence of each section as the quotable fact you want repeated; use real FAQ questions.
  • Verify by extraction: validate schema, open /llms.txt and /robots.txt, and ask the engines what they know about you.

Frequently asked questions

What is an llms.txt file?

A plain-text file at yourdomain.com/llms.txt that gives AI crawlers a clean, factual summary of your business — what you do, key pages, and pricing model. It curates the facts you want answer engines to represent, similar to how robots.txt guides search crawlers.

What schema should I add to get cited by AI?

Start with Organization or LocalBusiness (name, address, phone, service area, hours) and a WebSite block, plus the right type per page (Product, Article, FAQPage). Use JSON-LD, give entities stable identifiers, and validate with Google’s Rich Results Test.

Do I need to let AI crawlers access my site?

Yes, if you want to be cited in AI answers. Check robots.txt and make sure the major 2026 answer-engine crawlers are allowed. You can set your own training-vs-citation policy, but blocking them entirely means you cannot be quoted.

How do I know if AI can cite my site?

Validate your structured data, confirm /llms.txt and /robots.txt serve what you expect, and ask ChatGPT and Perplexity what they know about your business. Our free Website Health Check also runs an AI-readiness probe that flags what is missing.

Check your AI-readiness

See which GEO signals your site is missing — structured data, llms.txt, crawler access — free, in about twenty seconds.

Check your AI-readiness

Read next