AI tools like ChatGPT, Claude, Perplexity and Google’s AI Overviews now answer many questions that used to send clicks to websites. Two small text files help you decide how these systems see your site: llms.txt and robots.txt. This guide explains both in plain words.
Free tools for this guide
- llms.txt Generator: build the file in the correct Markdown format
- AI Crawler Robots.txt Generator: allow or block GPTBot, ClaudeBot and other AI bots
- AI Answer Readiness Checker: check if your content is easy for AI to quote
What is llms.txt?
llms.txt is a proposed standard, published in 2024, for a Markdown file at yoursite.com/llms.txt. It gives large language models a short, clean summary of your website and links to your most important pages, without menus, ads and scripts in the way.
Be realistic about it: no major search engine has confirmed that it uses llms.txt for rankings, and Google has said it does not need it. It is still cheap to add, some AI tools and developer platforms do read it, and writing it forces you to decide which pages really matter.
What goes inside the file
The format is simple Markdown:
- An H1 title with your site or brand name (the only required part).
- A blockquote with a one-line summary of what the site is about.
- Optional details in normal paragraphs.
- H2 sections with lists of links in the form
- [Page title](URL): short note. - An “Optional” section for pages an AI can skip if it is short on space.
A small example:
# Hasnain Sanmal
> SEO and guest post outreach specialist offering link building and free SEO tools.
## Services
- [Guest Post Outreach](https://hasnainsanmal.com/#services): niche relevant guest posts
## Tools
- [Free SEO Tools](https://hasnainsanmal.com/tools/): 500+ browser-based tools
How to add llms.txt to WordPress
- Create the file with the llms.txt Generator and download it.
- Upload it to your site’s root folder (the same folder as
wp-config.php) using your host’s File Manager or FTP. - Open
yoursite.com/llms.txtin a browser to confirm it loads as plain text. - Update it when you add important new pages.
llms.txt vs robots.txt
They do different jobs. llms.txt is a friendly guide that says “here is what matters”. robots.txt is a set of rules that says which bots may crawl which URLs. If you want to stop an AI company from crawling your content, llms.txt will not do that; robots.txt is the place.
The main AI crawlers you can control
- GPTBot: OpenAI’s crawler for training data.
- OAI-SearchBot: used for ChatGPT search results. Blocking it can stop your pages appearing as sources there.
- ClaudeBot: Anthropic’s crawler.
- PerplexityBot: Perplexity’s crawler for its answer engine.
- Google-Extended: a control token that tells Google whether your content may be used for its Gemini models. It does not affect normal Google Search crawling or rankings.
- CCBot: Common Crawl, a public dataset many AI models are trained on.
Rules look like this:
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
That example blocks training but still allows ChatGPT search to show your pages. The AI Crawler Robots.txt Generator writes these rules for you.
Should you block AI crawlers?
For most small businesses and service sites, the answer is no. Being cited in AI answers is free visibility, and your brand name appearing next to an answer builds trust. Blocking makes more sense for publishers whose content is the product, such as news sites, paid courses or original research.
Make your content easy to quote
Files alone will not get you cited. AI systems pick pages that answer clearly. Use question-style headings, give a direct 40 to 60 word answer under each one, add real numbers and examples, and show who wrote the page and why they know the topic. Run important pages through the AI Answer Readiness Checker to find gaps.
Quick checklist
- llms.txt uploaded to the root and loads as plain text
- Only your most useful pages listed, with short notes
- robots.txt rules for AI bots match what you actually want
- Key pages answer questions directly and show the author
Frequently asked questions
What is llms.txt?
llms.txt is a proposed Markdown file at the root of a site that gives large language models a short summary of the site and links to its key pages.
Does llms.txt affect Google rankings?
No. Google Search does not use it for ranking. It is aimed at AI tools and assistants.
Where do I upload llms.txt?
Upload it to the root folder of your site, next to robots.txt, so it opens at yoursite.com/llms.txt.



