llms.txt file opened up in terminal
All articlesAI Search

Does a Medical Website Need llms.txt?

No. Google says you don't need llms.txt to appear in Search or its AI features, and the file neither helps nor harms rankings. It is optional and cheap; indexable, clear pages matter more.

5 min read

On this page
  1. llms.txt at a glance
  2. What is llms.txt?
  3. Does Google use llms.txt?
  4. Why does Chrome Lighthouse check for llms.txt?
  5. Is llms.txt the same as robots.txt?
  6. Will llms.txt help your SEO?
  7. What should a medical website do instead?
  8. Should you create an llms.txt file anyway?
  9. What does an llms.txt file look like for a practice?
  10. How Webpatch helps
  11. Frequently asked questions
  12. References
  13. Related articles

No. A medical website does not need an llms.txt file to appear in Google Search or in Google's AI features. Google says it does not use the file. The file is optional, cheap to make and harmless. We checked Google's and Chrome's own documentation on October 15, 2026.

llms.txt at a glance

  • llms.txt is a proposal, not an official web standard.
  • Google Search does not use llms.txt, by Google's own statement.
  • Creating one will "neither harm nor help" your Google visibility.
  • Chrome's Lighthouse tool checks the file, and calls it optional.
  • Never list patient portal or private pages in it.

What is llms.txt?

Is AI recommending you?

Webpatch can show you how your practice appears in ChatGPT, Google’s AI, and search — and what to fix first.

Check your visibility →

It is a Markdown file that summarizes a website for AI tools. The llmstxt.org site calls it "a proposal to standardise on using an /llms.txt file to provide information to help agents use a website." Jeremy Howard published it on September 3, 2024. The site says the specification "is open for community input."

The format is simple. Only one part is required: "An H1 with the name of the project or site." A short summary in a blockquote usually follows. Then H2 sections list links to key pages.

Does Google use llms.txt?

No. Google's AI optimization guide, last updated July 10, 2026, says: "You don't need to create new machine readable files, AI text files, markup, or Markdown to appear in Google Search, as Google Search itself doesn't use them."

The same page adds that making the file is fine. Google says doing so "will neither harm nor help your site's visibility or rankings in Google Search."

Why does Chrome Lighthouse check for llms.txt?

Lighthouse is Chrome's site audit tool. Its llms.txt audit page calls the file "an emerging convention used to provide a machine-readable summary of a website's content." It flags a page only when the file returns a server error. A missing file is marked N/A. The page says "providing the file is optional at the moment."

Is llms.txt the same as robots.txt?

No. They do different jobs. Google's robots.txt guide says: "A robots.txt file tells search engine crawlers which URLs the crawler can access on your site." llms.txt does not grant or block access. It only points AI tools to pages you think matter.

Neither file protects private pages. Google says robots.txt "is not a mechanism for keeping a web page out of Google." Patient portals and intake forms need real access controls, such as logins. Do not rely on either text file to hide them.

Will llms.txt help your SEO?

Not in Google. People ask this often: Ahrefs shows about 400 US searches a month for "will llms.txt file help your seo" (checked October 15, 2026). Google's answer is the quote above. We could not confirm from primary sources in this run whether ChatGPT, Claude, Perplexity or Bing read the file. Treat any claim that they reward it as unproven.

What should a medical website do instead?

Fix the basics Google names. Its guide says "a page must be indexed and eligible to be shown in Google Search with a snippet" to appear in AI features. On structured data, it says: "Structured data isn't required for generative AI search," but "it's a good idea to continue using it."

  • Indexable pages

    Check that service, provider and location pages are indexed and not blocked by robots rules or noindex tags.

  • Direct answers

    Open each page with a one-sentence answer to the question patients ask.

  • Structured data

    Keep accurate MedicalClinic, Physician and FAQ markup where it fits.

  • Clean tracking

    Keep third-party pixels off pages that collect health details.

For the full approach, read AEO for healthcare and how to get your practice recommended by ChatGPT.

Should you create an llms.txt file anyway?

It is a reasonable low-cost step once the basics are done. A small practice site needs only a short file. Follow these steps if you make one.

  1. Create a Markdown file

    Name it llms.txt. Start with an H1 that holds the practice name.

  2. Add a short summary

    Write one blockquote line: specialty, city and who you treat.

  3. List public pages only

    Add H2 sections with links to services, providers, locations and contact. Leave out portal, login and form pages.

  4. Upload to the site root

    llmstxt.org says the file can sit at the root or under a path, covering pages under that path.

  5. Check the response

    Open the URL and confirm it loads without a server error, since that is what Lighthouse flags.

What does an llms.txt file look like for a practice?

It is a few lines of plain Markdown. The table shows the parts the llmstxt.org proposal describes, with an example line for a fictional clinic.

Parts of an llms.txt file, based on the llmstxt.org proposal (fictional example)
Required?Example line
H1 with the site nameYes, the only required part# Example Family Dental
Blockquote summaryNo> General and cosmetic dentistry in Springfield for adults and children.
H2 sections with linksNo## Services, then a list of links to service pages
Optional sectionNo## Optional, for secondary links an agent can skip

Keep the file in step with the site. If a service page moves, update the link. A file full of broken links is worse than no file.

How Webpatch helps

Webpatch builds practice websites for search and AI answers. We check indexing, answer-first page structure, structured data and tracking, and we add an llms.txt file when a client wants one. Start with The Webpatch AI Visibility Check, or contact us for a review of your site.

This article is for education only. It is not legal advice and has no legal standing. Have a qualified professional review your situation before you act.

Frequently asked questions

What is llms.txt?

A Markdown file, proposed in September 2024 at llmstxt.org, that summarizes a website and links its key pages for AI agents. It is a proposal, not an official standard.

Will an llms.txt file help my SEO?

Not in Google. Google says Search does not use llms.txt and that creating one will neither harm nor help visibility or rankings.

Should I create an llms.txt file?

It is optional. Make one only after your pages are indexed and answer patient questions clearly. List public pages only.

Where does llms.txt go?

Usually at the site root, such as example.com/llms.txt. The llmstxt.org page says it can also sit under a path and cover the pages below it.

Does Lighthouse penalize a site without llms.txt?

No. Chrome's Lighthouse marks a missing file as N/A. It flags the page only if the file returns a server error.

References

  1. llmstxt.org: The /llms.txt file
  2. Google Search Central: AI optimization guide
  3. Chrome for Developers: Lighthouse llms.txt audit
  4. Google Search Central: Introduction to robots.txt

Related articles

More guides on getting found — and chosen.