llms.txt and Schema: Technical Foundations for AI Visibility
AI systems have to find your site, understand what it is, and then decide whether to cite it. Two technical pieces make that easier: llms.txt (or ai.txt) so crawlers know who you are and where to look, and JSON-LD schema so each page is clearly typed and attributable. Neither is a magic bullet, but both remove friction that often keeps good content from being used as a source.
What llms.txt Is and Where It Lives
llms.txt is a plain-text file at your site root—e.g. https://yourdomain.com/llms.txt—similar in spirit to robots.txt. It’s meant for LLM and AI crawlers. You put your site name, a short description, and the URLs you want crawlers to prioritize (homepage, about, key product or content pages). Optionally you can add usage or citation preferences. The idea is to give crawlers a single, machine-readable place to learn about your site instead of guessing from your homepage.
A Minimal llms.txt Example
A simple version might look like this (actual format may vary by spec; our generator produces a compliant file):
# Site: Your Company Name
# Description: One sentence describing what your site does and who it’s for.
# URLs: https://yourdomain.com, https://yourdomain.com/about, https://yourdomain.com/faq
Keep it short. List 3–7 URLs that best represent your brand and key content. Avoid listing hundreds of links; the point is orientation, not a sitemap.
Schema: What to Add and Where
Organization on the homepage is the highest-impact single block. It tells Google and AI systems the legal or brand name, URL, logo, and optionally contact info. Without it, the system may have a harder time attributing your content to a single entity. One common mistake: wrong or stale data (old name, broken logo URL). Validate with our schema validator before and after changes.
FAQPage on any page that has real Q&A pairs. Each item should be one question and one answer. Models use this to answer “What is…?” and “How do I…?” queries. Don’t stuff FAQs with keywords; use real questions and concise answers.
Article or BlogPosting on blog posts helps with headline, date, and sometimes author. Product on product pages helps with name, description, and offer. In all cases, keep required fields correct (e.g. date in ISO format) and avoid duplicate or conflicting schema on the same page.
How They Work Together
llms.txt helps at the “discovery” step: crawlers know your site exists and which URLs matter. Schema helps at the “understanding” step: each URL is clearly an organization, an article, an FAQ, or a product, with the right fields. Together they make it easier for an AI system to choose your content as a source and to attribute it correctly. Add both, then run an AI visibility readiness check to catch missing or broken schema and other crawl issues.
Frequently asked questions
- What is llms.txt and where do I put it?
- llms.txt is a plain-text file at your site root (e.g. yourdomain.com/llms.txt) for AI and LLM crawlers. It typically includes your site name, a short description, and key URLs. It helps crawlers discover and attribute your site. Use a free generator to create a compliant file.
- Which schema should I add first for AI visibility?
- Start with Organization on the homepage so AI systems can identify your brand. Then add FAQPage on any page with real Q&A, and Article or BlogPosting on blog posts. Validate with a schema validator before deploying.
- Can wrong or stale schema hurt my AI visibility?
- Yes. Stale or incorrect schema (wrong name, broken logo URL, bad dates) can hurt trust and attribution. Validate and update schema when your brand or content changes. One correct block is better than several wrong ones.
- Do I need both llms.txt and schema?
- They do different jobs: llms.txt helps crawlers find and orient to your site; schema helps them understand each page (organization, article, FAQ, product). Using both improves the chance your content is discovered and cited correctly.
Related: Glossary · Free AI visibility checker · Pricing
Related articles
Related Resources
Learn More
- Browse Glossary - Key terms explained
- FAQ - Common questions answered
- More Articles - Additional guides
Take Action
- Free AI Visibility Checker - Test your site
- View Pricing - Upgrade to Pro
Ready to improve your AI visibility?
Try our free AI Visibility Readiness Checker and see how your website performs.