Ask ChatGPT or Perplexity what your SaaS does and what it costs. If the answer is vague, outdated, or pulls from a third-party directory instead of your own site, the problem is rarely a missing "AI SEO hack." Usually, an assistant tried to read your site and hit a wall: a JavaScript-only shell, a robots.txt rule blocking search fetchers, or a landing page full of slogans with no plain facts.
Here is the practical setup we use on Rebupl — starting with /llms.txt, then the three things around it that actually determine whether an assistant can quote you accurately.
What llms.txt actually is (and what it is not)
/llms.txt is a plain Markdown file at the root of your domain. Think of it as a clean table of contents for AI agents and coding assistants. Instead of forcing a model to parse 80 KB of navigation menus, cookie banners, and client-side markup to figure out where your pricing and docs live, you hand it a short, structured index.
Be realistic about what it does: shipping llms.txt will not magically make ChatGPT recommend you. It is an emerging convention, not a ranking signal. What it does is remove ambiguity once a crawler, agent, or user-triggered fetch lands on your domain.
A real llms.txt template you can copy
Keep it short, factual, and free of adjectives. Every line should help a model answer a concrete question ("what is this?", "who is it for?", "what does it cost?", "where are the docs?").
# AcmeMetrics
> AcmeMetrics is a lightweight analytics tool for indie SaaS teams. It tracks page views, signups, and referral sources with a single 2 KB script and no cookie banner. Free up to 10,000 monthly events; paid plans start at $12/month.
## Core pages
- [Product overview](https://acmemetrics.com/): How event tracking works and supported frameworks.
- [Pricing](https://acmemetrics.com/pricing): Plan limits, monthly and annual pricing, and refund policy.
- [Documentation](https://acmemetrics.com/docs): Installation snippet, REST API reference, and self-hosting guide.
- [FAQ](https://acmemetrics.com/faq): Privacy model, GDPR compliance, and data retention.
## Machine-readable endpoints
- [Full docs bundle](https://acmemetrics.com/llms-full.txt): Single-file Markdown version of core docs.
- [Sitemap](https://acmemetrics.com/sitemap.xml): All public indexable URLs.
Four rules keep this file useful:
- Lead with a concrete blockquote. Say what the product does, who uses it, and the pricing floor. Cut words like "revolutionary," "seamless," or "all-in-one."
- Link only to live, public, canonical URLs. Never include
/dashboard,/login, or pages markednoindex. - Keep it under ~150 lines.
llms.txtis an index, not a dump of 400 blog posts. If you want to expose full text, put it at/llms-full.txtand link to it from/llms.txt. - Serve it with the right header. Return
Content-Type: text/markdown; charset=utf-8and a clean200 OK.
If you want a working production example, read rebupl.fun/llms.txt — we generate it dynamically from our live database with a 1-hour browser cache and 24-hour edge cache so it never drifts out of date. To draft yours in a minute, use our free llms.txt Generator.
The robots.txt mistake that blocks AI citations
Most founders write llms.txt and forget to check whether their robots.txt (or Cloudflare bot protection) is blocking the very fetchers they want reading it.
Not all AI bots do the same job. There is a practical split between training crawlers (which scrape the web to train future models) and search / user-triggered fetchers (which retrieve live pages to answer a user's question with a citation):
- Search & live citation fetchers:
OAI-SearchBot,ChatGPT-User,Claude-SearchBot,Claude-User,PerplexityBot,Perplexity-User,DuckAssistBot - Training crawlers:
GPTBot,ClaudeBot,Google-Extended,CCBot,Bytespider
If you want to appear in live AI answers while keeping training crawlers out, separate them explicitly in /robots.txt:
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
Allow: /
Disallow: /api/
Disallow: /dashboard
Disallow: /admin
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: CCBot
Disallow: /
Sitemap: https://yourdomain.com/sitemap.xml
One subtle bug we caught on our own site: robots.txt matches by prefix. Writing Disallow: /me blocks /me, but it also accidentally blocks /media/ and /members/. If a private path could share a prefix with a public route, use /me$ and /me/ instead of a bare /me.
Plain HTML matters more than llms.txt
Most AI fetchers do not run a full headless browser on every request. If your homepage is a client-side SPA that ships an empty <div id="root"></div> and hydrates your headline and pricing table in JavaScript, an assistant reading the raw HTTP response sees almost nothing.
Two high-leverage fixes:
- Server-render your marketing, pricing, docs, and FAQ pages. The H1, product summary, pricing numbers, and key links should exist in the initial HTML response.
- Offer clean Markdown mirrors for complex pages (optional, but helpful). If your pricing page relies on interactive sliders and toggles, shipping a static
/pricing.mdor/faq.mdand linking it from/llms.txtgives agents exact numbers without guessing.
Pair it with consistent JSON-LD
Structured data is still the cleanest way to state facts without ambiguity. For an indie SaaS, you only need three schemas to cover 90% of the value:
Organization(name, URL, logo,sameAslinks to GitHub, X, LinkedIn)WebSite(canonical site name and URL)SoftwareApplication(category, operating system, pricingOffer)
The one rule that matters: JSON-LD must match the visible page. If your schema says $0 while your pricing table starts at $29/month, both Google and AI assistants will treat the markup as unreliable. You can generate clean, consistent blocks with the JSON-LD Generator.
Verify your setup in 30 seconds
Before you call it done, run these three commands against your production domain:
# 1. Confirm llms.txt returns 200 and text/markdown (not an HTML 404 fallback)
curl -sSI https://yourdomain.com/llms.txt | grep -iE "^HTTP/|^content-type:"
# 2. Confirm your homepage ships real HTML without JavaScript
curl -sS https://yourdomain.com/ | grep -i "<h1"
# 3. Confirm search fetchers are not blocked in robots.txt
curl -sS https://yourdomain.com/robots.txt
If command #2 returns nothing, fix server-side rendering before spending another minute on llms.txt. You can also paste any URL into Rebupl's Agent Visibility Audit to check llms.txt, plain HTML availability, JSON-LD, Open Graph tags, and crawler signals in one pass.
What not to waste time on
- Do not replace
sitemap.xmlwithllms.txt. Traditional search engines still rely on sitemaps, and most AI search products pull heavily from Google and Bing indexes underneath. - Do not stuff keywords into
llms.txt. Models read for structure and facts; bloated sales copy just burns context window. - Do not obsess over daily AI-rank tracking on day one. If your site is brand new, getting clean HTML indexed and earning your first real backlinks will move both Google and AI citations far faster than tweaking Markdown formatting.
FAQ
Is llms.txt required to show up in ChatGPT or Perplexity?
No. ChatGPT, Perplexity, and Claude can already read normal server-rendered HTML pages. llms.txt is an optional convenience file that helps agents find your canonical docs, pricing, and product summary faster.
Where should llms.txt live?
At the root of your domain: https://yourdomain.com/llms.txt, served as text/markdown; charset=utf-8. If you publish a full-text docs bundle, place it at /llms-full.txt.
What is the difference between GPTBot and OAI-SearchBot?
GPTBot crawls pages for OpenAI model training. OAI-SearchBot and ChatGPT-User fetch pages to surface live answers and citations inside ChatGPT search. You can disallow GPTBot while still allowing OAI-SearchBot.
How do I check if my site is readable to AI crawlers?
Run curl -sS https://yourdomain.com/ to verify your content exists without JavaScript, check /robots.txt for crawler blocks, or run your URL through the free Agent Visibility Audit.

