← Back to Blog

The Complete Guide to llms.txt for Local Businesses

What is llms.txt and why it matters for your business

An llms.txt file is a plain-text file placed at the root of your website — for example, yourbusiness.com/llms.txt — that provides structured information about your business specifically designed for AI engines to read. If you are familiar with robots.txt, which tells search engine crawlers what not to index, think of llms.txt as its complement for the AI era. Instead of telling bots what to avoid, llms.txt tells AI engines what your business actually is, what you offer, and how customers can reach you. The concept emerged from a fundamental gap in how AI engines discover business information. Traditional search engines crawl websites page by page, building an index over time. AI engines work differently — they need to quickly synthesize a comprehensive understanding of a business from whatever structured data they can find.
  • Company name and description
  • Primary products and services
  • Geographic service area
  • Contact information and hours
  • Social media profiles
  • Links to key content pages
  • Frequently asked questions with answers

Why scattered information hurts AI discovery

Your website might have 15 pages with relevant information scattered across them: services on one page, hours on another, contact details on a third. An AI engine crawling your site must piece all of this together from unstructured HTML. An llms.txt file eliminates that guesswork by providing a single, comprehensive, machine-readable summary. The importance of llms.txt has grown dramatically in 2026 as AI search has scaled to massive proportions. ChatGPT now reaches 2.8 billion monthly active users. Google AI Overviews appear in 47 percent of search results. Perplexity processes over 780 million monthly queries. When any of these platforms generates a recommendation, having your business information in a clear, structured format that the AI can parse in seconds gives you a significant advantage over competitors whose information must be extracted from unstructured web pages. Schema markup helps AI engines understand individual pages on your website. An llms.txt file gives them a complete business overview in one place. Together, they create a comprehensive machine-readable profile that maximizes your chances of being cited and recommended by AI engines.

How llms.txt differs from robots.txt and sitemap.xml

To understand where llms.txt fits in your website\'s ecosystem of machine-readable files, it helps to compare it with the two files you likely already have: robots.txt and sitemap.xml. Each serves a distinct purpose, and together they give AI engines everything they need to discover, access, and understand your business. Robots.txt is the gatekeeper. It tells web crawlers and AI bots which parts of your site they are allowed to access and which parts are off-limits. It uses Disallow and Allow directives to control access. For AI visibility, your robots.txt should explicitly allow AI bots like GPTBot, ClaudeBot, PerplexityBot, and GoogleOther. A common AI readiness failure is having a robots.txt that inadvertently blocks these bots. Sitemap.xml is the map.

How sitemap.xml complements llms.txt

It lists all the pages on your website that you want search engines to know about, along with when each page was last updated and how frequently it changes. This helps search engines discover and prioritize your content. While sitemaps are primarily used by traditional search engines, AI engines that use Retrieval-Augmented Generation (RAG) also reference sitemaps to find relevant pages. Llms.txt is the summary. Instead of telling bots where to go (sitemap) or where not to go (robots.txt), it tells them what they will find. It provides a concise, structured overview of your entire business — services, contact details, social profiles, FAQs, and key content links — in a format optimized for AI comprehension. The key distinction is that robots.txt and sitemap.xml are about access and discovery. Llms.txt is about understanding. AI engines can crawl your entire website and still not be confident about what your business does if your content is scattered, generic, or poorly structured. An llms.txt file provides that clarity in seconds. All three files live in your website\'s root directory. A well-optimized website has all three: robots.txt allowing AI access, sitemap.xml mapping your content, and llms.txt summarizing your business for AI comprehension.

The llms.txt format specification

The llms.txt format follows a structured plain-text specification designed to be both human-readable and machine-parseable. Unlike JSON or XML, it uses simple section headers and key-value pairs that any business owner can understand and edit. The file starts with a document title line prefixed by a hash symbol, typically your business name. This is followed by a brief business description on the next line. The main content is organized into clearly labeled sections, each marked by a double-hash prefix. Standard sections include Company Information (name, type, founded year), Products and Services (each listed with a brief description), Location and Service Area (address, geographic coverage), Contact Information (phone, email, website), Social Media (links to all profiles), Hours of Operation (daily schedule), and Frequently Asked Questions (common questions with concise answers).

The llms.txt file format and syntax

Each section contains entries formatted as key-value pairs or as simple bulleted lists depending on the content type. The FAQ section uses a question-answer format with each question followed by its answer on the next line. Here is the critical principle: specificity wins. Instead of writing "We offer plumbing services," write "We provide residential plumbing repair, water heater installation and replacement, drain cleaning and unclogging, bathroom and kitchen remodeling plumbing, and emergency 24/7 plumbing services in the Greater Winnipeg Area including St. Boniface, Transcona, and St. James." Instead of "Contact us for more information," include your actual phone number, email address, and business hours. AI engines reward specificity because it reduces ambiguity. A vague llms.txt file is only marginally better than not having one. A detailed, specific llms.txt file gives AI engines exactly the facts they need to recommend you confidently. The file should be saved as plain text with UTF-8 encoding. Do not use rich text formatting, HTML tags, or special formatting. The beauty of the format is its simplicity — any text editor can create and edit it.

Creating your llms.txt with LunimRank\'s free generator

You can create an llms.txt file manually in any text editor, but using LunimRank\'s free llms.txt Generator ensures you do not miss critical sections and that the formatting follows the specification correctly. The generator walks you through each section with prompts designed to extract the specific information AI engines care about most. Start by entering your company name and a concise business description. The generator prompts you to describe what your business does in two to three sentences, focusing on what you offer, who you serve, and what makes you different. Avoid marketing language — AI engines respond better to factual, straightforward descriptions than to promotional copy. Next, list your products and services. The generator provides individual fields for each offering, prompting you to add a name and brief description for each. Be comprehensive: include every service you offer, not just your primary ones.

How AI engines process your llms.txt

If a customer asks an AI engine about a service you provide but did not list, you miss that recommendation opportunity. Add your location information including full street address, city, state or province, country, and the geographic area you serve. For service-area businesses, list the specific neighborhoods, cities, or regions you cover. The more precise your geographic information, the better AI engines can match you to location-specific queries. Enter your contact details: phone number, email address, and website URL. Include your hours of operation with specific times for each day of the week. If your hours vary seasonally or you offer after-hours emergency service, include that information. Add links to all your social media profiles and review pages. AI engines cross-reference these links for entity recognition — the more verified connections between your business identity across platforms, the higher the AI\'s confidence in recommending you. Finally, add FAQ entries. Include the 5 to 10 questions your customers ask most frequently with concise, specific answers. These FAQ entries serve double duty: they help AI engines answer customer questions directly and they demonstrate your expertise. After completing all sections, the generator produces a properly formatted llms.txt file ready to download. Review it for accuracy before uploading.

Uploading and verifying your llms.txt file

Once you have generated your llms.txt file, the next step is uploading it to your website\'s root directory and verifying that it is accessible. The root directory is the top-level folder of your website — the same location where your index.html, robots.txt, and sitemap.xml files live. The upload process varies by platform. For WordPress websites hosted on traditional web hosting (not WordPress.com), connect to your server using an FTP client like FileZilla or your hosting provider\'s file manager. Navigate to the public_html or www directory and upload the llms.txt file. For WordPress.com sites, you may need to use a plugin that allows custom file uploads to the root directory. For Squarespace, navigate to Settings, then Advanced, then Custom Code, and add a URL redirect from /llms.txt to a hosted version of the file.

Alternative upload methods for different platforms

Alternatively, use Squarespace\'s Developer Mode to upload the file directly. For Wix, the process is similar: use the SEO settings or custom code section to make the file accessible at your domain root. For Shopify, upload the file through the Files section in Settings, then create a URL redirect from /llms.txt to the uploaded file\'s URL. For custom-built websites, simply place the file in your web server\'s document root alongside your other root-level files. After uploading, verify the file is accessible by visiting yourdomain.com/llms.txt in your browser. You should see the plain text content displayed correctly. If you see a 404 error, the file is not in the right location or your server is not configured to serve .txt files from that path. Check that the filename is exactly "llms.txt" in lowercase with no extra extensions. Test the URL in an incognito or private browsing window to bypass any caching. If you use a CDN like Cloudflare, purge the cache for the /llms.txt path to ensure the latest version is served. Set up a quarterly calendar reminder to review and update your llms.txt file whenever your services, hours, contact information, or frequently asked questions change.

What to include: a section-by-section guide

The effectiveness of your llms.txt file depends entirely on what you put in it. Here is a detailed guide for each section, with examples of what strong entries look like versus weak ones. Company Information section: Include your legal business name, business type, year founded, and a two-to-three-sentence description. Strong: "Smith Brothers Plumbing is a residential plumbing company founded in 2008, serving the Greater Winnipeg Area. We specialize in emergency repairs, water heater installation, and bathroom renovation plumbing." Weak: "We are a plumbing company." Products and Services section: List every service individually with a brief description. Strong: "Emergency Plumbing Repair — 24/7 emergency service for burst pipes, overflowing toilets, and major leaks.

What to include in the contact section

Average response time 45 minutes within Winnipeg city limits." Weak: "Plumbing services." Location and Service Area section: Include your full address and the specific areas you serve. Strong: "123 Main Street, Winnipeg, MB R3C 1A5, Canada. Service area covers Winnipeg proper including St. Boniface, Transcona, St. Vital, St. James, Charleswood, and surrounding communities within 30 km." Weak: "Winnipeg area." Contact section: Include every way customers can reach you. Strong: "Phone: (204) 555-0123. Email: [email protected]. Website: https://smithplumbing.ca. Emergency after-hours: (204) 555-0124." Weak: "Call us." Hours section: Specify each day. Strong: "Monday-Friday: 7:00 AM - 6:00 PM. Saturday: 8:00 AM - 2:00 PM. Sunday: Closed. Emergency service: Available 24/7." Weak: "Regular business hours." FAQ section: Use actual customer questions with specific answers. Strong: "Q: How much does a water heater replacement cost? A: A standard 50-gallon gas water heater replacement costs between 1,800 and 2,500 dollars installed, including removal of the old unit. Tankless water heater installation ranges from 3,500 to 5,500 dollars." Weak: "Q: How much? A: Contact us for a quote." The pattern is clear: specificity drives AI citation. Every vague answer is a missed opportunity.

Which AI engines use llms.txt and how they process it

Understanding which AI engines actually look for and use llms.txt files helps you appreciate why this optimization matters. The llms.txt concept has gained widespread adoption among AI platforms because it solves a real problem: giving AI engines a single, authoritative source of business information without requiring them to crawl and synthesize an entire website. AI engines that use Retrieval-Augmented Generation (RAG) are the primary beneficiaries of llms.txt files. RAG-enabled engines search the web in real time before generating responses, which means they can discover and use your llms.txt file immediately after you publish it. Perplexity uses RAG for every query, making it particularly responsive to llms.txt optimization. When Perplexity searches for information about your business, finding a well-structured llms.txt file gives it a comprehensive source to cite.

ChatGPT with browsing enabled also uses

ChatGPT with browsing enabled also uses RAG and can access your llms.txt file during real-time web searches. Google AI Overviews, which reach 1.5 billion monthly users, pull from Google\'s search index and can index your llms.txt file alongside your other pages. Bing, which powers Microsoft Copilot\'s AI recommendations, crawls and indexes llms.txt files as part of its regular indexing process. Claude\'s web browsing capabilities also allow it to access llms.txt files when generating recommendations. Even AI engines that rely primarily on training data benefit indirectly. When your llms.txt file is crawled and indexed, its content becomes part of the web corpus that future model training draws from. The structured, authoritative information in your llms.txt file strengthens your brand\'s representation in future training datasets. The practical impact is that llms.txt provides immediate visibility improvements with RAG-based engines and long-term improvements with training-data-based engines. There is no downside to having one and a clear cost to not having one — your competitors who do have llms.txt files are giving AI engines better information about their businesses than you are giving about yours.

Common llms.txt mistakes to avoid

While llms.txt is simpler than schema markup, there are still several common mistakes that reduce its effectiveness or render it useless. Avoid these pitfalls to ensure your file actually improves your AI visibility. The first mistake is using HTML formatting or rich text. Your llms.txt file must be plain text. HTML tags, markdown formatting (beyond the basic section headers), and styled text are not part of the specification and can confuse AI parsers. Save the file as .txt with UTF-8 encoding in a basic text editor. The second mistake is being too vague. Statements like "We offer great customer service" or "Quality is our priority" provide zero useful information for AI engines. Every statement in your llms.txt should contain a specific, verifiable fact: a service name, a price range, a geographic area, a business hour, or an answer to a customer question.

Common llms.txt mistakes to avoid

The third mistake is including outdated information. An llms.txt file with last year\'s phone number, discontinued services, or old business hours is worse than helpful — it provides incorrect information that AI engines may cite, leading to frustrated customers who call a disconnected number or arrive at a closed business. Set a quarterly update schedule. The fourth mistake is omitting the FAQ section. The FAQ section of your llms.txt file is arguably its most valuable component because it provides ready-made question-answer pairs that AI engines can incorporate directly into their responses. Skipping this section wastes your highest-impact opportunity. The fifth mistake is creating the file but not uploading it to the correct location. The file must be accessible at yourdomain.com/llms.txt. If it is buried in a subdirectory, behind authentication, or returning a 404 error, AI engines cannot find it. Always verify accessibility after uploading. The sixth mistake is duplicating information that conflicts with other sources. If your llms.txt says your hours are 9 to 5 but your Google Business Profile says 8 to 6, AI engines lose confidence in both sources. Ensure your llms.txt is consistent with your Google Business Profile, website, and all directory listings.

llms.txt versus schema markup: complementary, not competing

A common question is whether you need both llms.txt and schema markup, or if one makes the other redundant. The answer is clear: you need both, because they serve different but complementary purposes. Schema markup provides page-level structured data embedded in your HTML. Each page on your website can have its own schema — LocalBusiness on your homepage, FAQPage on your FAQ page, Article on your blog posts, Product on your service pages. Schema helps AI engines understand individual pages and extract specific facts from those pages. It is granular, detailed, and tied to specific content. Llms.txt provides a site-level business summary in a single standalone file. It gives AI engines a comprehensive overview of your entire business without requiring them to crawl multiple pages.

How schema and llms.txt work together

It is broad, comprehensive, and independent of any specific page content. Think of it this way: schema markup helps AI engines understand the trees (individual pages). Llms.txt helps them understand the forest (your overall business). A business with both gives AI engines the best of both worlds — they can quickly grasp the big picture from llms.txt and then dive into specific pages with schema markup for detailed information. There is also a practical difference in how AI engines access them. Schema markup requires the AI to visit and parse your web pages, which means those pages must be crawlable and the HTML must load correctly. Llms.txt is a simple text file that loads instantly and requires no HTML parsing. For AI engines with limited crawl budgets or time constraints, llms.txt provides critical information faster. According to our data at LunimRank, businesses with both llms.txt and comprehensive schema markup score on average 22 points higher on the AI Readiness Score than businesses with only one or the other. The combination creates a redundancy that increases AI engines\'s confidence: they can verify information from llms.txt against schema markup and vice versa, which makes them more likely to cite your business confidently.

Your llms.txt action plan and next steps

Creating and deploying an llms.txt file is one of the fastest and highest-ROI improvements you can make to your AI visibility. The entire process takes under 30 minutes and costs nothing. Here is your step-by-step action plan. Step 1: Gather your business information. Before using the generator, collect your business name, description, complete service list, full address, service area, phone number, email, website URL, social media profile links, hours of operation for each day, and the 5 to 10 most common questions your customers ask. Having this information ready makes the generation process faster. Step 2: Generate your llms.txt file using LunimRank\'s free llms.txt Generator. Enter each piece of information into the appropriate field. Be as specific as possible — include price ranges, service area boundaries, response times, and any other concrete details that differentiate your business.

Your step-by-step llms.txt action plan

Step 3: Review the generated file for accuracy. Read through every section and verify that all information is correct, current, and consistent with your Google Business Profile and other directory listings. Step 4: Upload the file to your website\'s root directory using your hosting provider\'s file manager or FTP client. Step 5: Verify accessibility by visiting yourdomain.com/llms.txt in an incognito browser window. Confirm the full text content displays correctly. Step 6: Run a free LunimRank scan to establish your AI Readiness Score baseline. The scan will show whether AI engines can detect and use your new llms.txt file. Step 7: Set a quarterly calendar reminder to review and update your llms.txt. Any changes to your services, hours, contact information, or pricing should be reflected in the file. The llms.txt file is one piece of a comprehensive AI visibility strategy. Combine it with schema markup, optimized content, Google Business Profile completion, and NAP consistency for maximum impact. For ongoing monitoring that tracks how your llms.txt and other optimizations affect your AI visibility over time, LunimRank\'s Starter plan at 39 dollars per month includes weekly automated scans across 3 AI engines with competitor benchmarking. Start your free scan at lunimrank.com today.