Technical Guide · Updated 2026-11-29

How to Write an /llms.txt File for a Local Business

An /llms.txt file is a plain Markdown summary placed at the root of your website (yourdomain.co.uk/llms.txt) that gives AI assistants a clean, structured overview of your business name, UK service area, core services, phone number, and key FAQs without navigation clutter.

Why local businesses benefit from /llms.txt

Modern trade websites often bury phone numbers, towns served, and service lists inside JavaScript sliders, PDFs, or photo galleries. A clean /llms.txt file exposes verified business facts in lightweight plain text (`text/plain` or `text/markdown`) returning HTTP 200.

Make sure `/llms.txt` never returns an HTML error page or soft-404 template. CertLocal's validator specifically checks for HTTP 200 and non-HTML text.

Clean /llms.txt template for a local UK business

Replace only with real, verified business details. Omit any line where your business does not have a public value.

/llms.txt
# Example Roofing Ltd

> Local roofing contractor serving Edinburgh, specialising in slate and tile roof repairs.

## Business Details
- Name: Example Roofing Ltd
- Website: https://example-roofing.co.uk
- Category: Roofing Contractor
- Service Area: Edinburgh
- Phone: +44 131 000 0000

## Frequently Asked Questions
- **Which areas do you cover?** Edinburgh, Leith, and Midlothian.
- **Do you handle storm damage repairs?** Yes, emergency slate and tile repairs across Edinburgh.

Common questions

Does /llms.txt replace robots.txt or sitemap.xml?+

No. Keep robots.txt to manage crawler permissions and sitemap.xml to list indexable URLs. /llms.txt sits alongside them as a concise Markdown business brief.

How can I check if my /llms.txt is valid?+

Run your domain through CertLocal's free AI Crawler Checker at /tools/ai-crawler-checker to confirm /llms.txt returns HTTP 200 as non-HTML text.

Free Live AI Visibility Audit

Check what ChatGPT, Perplexity, Google AI, Claude & Meta Muse say about your business

Enter your website and UK city for a free instant AI-readiness pre-scan, then unlock your live 5-engine report.

Instant free site check · No email needed for Step 1 · No credit card · No sales call