{"id":130122,"date":"2025-06-24T09:24:34","date_gmt":"2025-06-24T09:24:34","guid":{"rendered":"\/tutorials\/?p=130122"},"modified":"2026-06-11T04:03:01","modified_gmt":"2026-06-11T04:03:01","slug":"what-is-llms-txt","status":"publish","type":"post","link":"\/ca\/tutorials\/what-is-llms-txt\/","title":{"rendered":"What is the llms.txt file, and how do you create one for your website?"},"content":{"rendered":"<p>The <strong>llms.txt<\/strong> file is a document that enables <strong>artificial intelligence (AI)<\/strong> to understand your website content more easily. It contains information about the structure of your site, including the <strong>page URLs<\/strong> and their content, written in <strong>Markdown syntax<\/strong>.<\/p><p>The information in llms.txt is crucial &ndash; without it, AI might have difficulty navigating complex site structures and determining content hierarchy. This reduces the chance of a given website being featured in AI-powered search engine results.<\/p><p>This digital document is similar to <strong>robots.txt<\/strong> in that it helps make your website&rsquo;s content more easily parsed by web crawlers. However, while these files work hand-in-hand, they serve different purposes.<\/p><p>The llms.txt file is located inside your website&rsquo;s root directory and can easily be created using a web-based tool. Let&rsquo;s examine it more closely in the following section.<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-is-the-content-of-the-llms-txt-file\"><strong>What is the content of the llms.txt file?<\/strong><\/h2><p><strong>llms.txt<\/strong> contains an index of your website&rsquo;s pages, including their content, URL, and title, written in the human- and machine-readable Markdown language. It can also include optional descriptions of the website structure, which provide more context to AI. Watch the following video for more info, or read on underneath.<\/p><figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"What is llms.txt? Your Guide to LLMs and WordPress\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/l-7GU1fhh-E?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure><p>Content in llms.txt starts with the website address, followed by the URLs of pages on your site, and some optional descriptive information. Here&rsquo;s how it looks:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Title\n&gt; Optional description goes here\nOptional details go here\n\n## Section name\n- [Link title](https:\/\/link_url): Optional link details\n\n## Optional\n- [Link title](https:\/\/link_url)<\/pre><p>Here&rsquo;s an example of an llms.txt file for a basic website with two pages:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># your-website.com\n\n## Posts\n\n- [Hello world!](https:\/\/your-website.com\/hello-world\/): Welcome to WordPress. This is your first post. Edit or delete it, then start writing!\n\n## Pages\n\n- [Privacy Policy](https:\/\/your-website.com\/privacy-policy\/): Who we are Suggested text: Our website address is: your-website.com. Comments Suggested text: When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor&rsquo;s IP address and browser user agent string to help spam detection. An anonymized string created from your email address (also called a [&hellip;]<\/pre><p>The llms.txt document is located in your website&rsquo;s root folder, and is viewable in a browser by adding <strong>\/llms.txt<\/strong> to the end of your site&rsquo;s URL as follows, with <strong>your-website.com<\/strong> being the actual domain name:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">https:\/\/www.your-website.com\/llms.txt<\/pre><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58928c9c242\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58928c9c242\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"535\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/a-website-llms-txt-accessed-via-web-browser-1.png\/public\" alt=\"A website's llms.txt accessed via a web browser\" class=\"wp-image-130130\"  sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-why-is-the-llms-txt-file-important\"><strong>Why is the llms.txt file important?<\/strong><\/h2><p>The llms.txt file is an integral component of generative engine optimization (GEO), the practice of optimizing a website&rsquo;s content and structure to allow AI to understand it more easily. This can improve your website&rsquo;s visibility in AI-driven search engines.<\/p><p><a href=\"\/ca\/tutorials\/generative-search-engine-optimization\/\">GEO<\/a> is similar to traditional <a href=\"\/ca\/tutorials\/what-is-seo\/\">search engine optimization<\/a> (SEO), but focuses on making website content easier for AI to interpret, rather than improving its indexability on search engine results pages (SERPs).<\/p><p>Implementing GEO is crucial because people are increasingly using AI-driven search to find information, whether on AI overview snippets or platforms like ChatGPT. Statista&rsquo;s 2024 survey shows that <a href=\"https:\/\/www.statista.com\/statistics\/1454204\/united-states-generative-ai-primary-usage-online-search\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>36 million <\/strong>adults in the US will use generative AI for searches in 2028<\/a>, more than double that of 2024.<\/p><h3 class=\"wp-block-heading\" id=\"h-how-llms-use-the-llms-txt-file\"><strong>How LLMs use the llms.txt file<\/strong><\/h3><p>Large language models (<a href=\"\/ca\/tutorials\/large-language-models\/\">LLMs<\/a>) are underlying systems of AI tools that use a massive amount of data to learn patterns in text and interpret user inputs.<\/p><p>The llms.txt file explicitly tells AI web crawlers which parts of your website are the most important, eliminating the need for the AI to navigate your site.<\/p><p>This also enables AI tools to gather information about your website&rsquo;s content and structure more accurately, minimizing ambiguity and improving parsing ability.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58928c9ef5b\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58928c9ef5b\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"604\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/chatgpt-searching-for-information-from-websites.png\/public\" alt=\"ChatGPT searching for information from websites\" class=\"wp-image-130124\"  sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>This then allows AI to assess whether content on your website is relevant and valuable for specific user queries. If so, it is more likely to feature content from your site as part of an answer.<\/p><p>By excluding certain content from your llms.txt, you can also limit areas of your website that you don&rsquo;t want AI tools to fetch and use for training. This pertains mainly to proprietary or copyrighted material.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-create-an-llms-txt-file-for-your-website\"><strong>How to create an llms.txt file for your website<\/strong><\/h2><p>You can create the llms.txt file for your website manually, but using an online llms.txt generator is easier. Note that depending on the tool, the steps and generated markdown may differ.<\/p><p>For example, here&rsquo;s how to do it using <a href=\"https:\/\/wordlift.io\/generate-llms-txt\/\" target=\"_blank\" rel=\"noopener\">Wordlift&rsquo;s LLMs.txt Generator<\/a><strong>:<\/strong><\/p><ol class=\"wp-block-list\">\n<li>Enter your website&rsquo;s address and choose the pages and posts you want to include in your llms.txt.<\/li>\n\n\n\n<li>Click <strong>Process URL<\/strong>.<\/li>\n\n\n\n<li>Once done, copy the generated content.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58928ca1c2a\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58928ca1c2a\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"784\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordlift-llms-generator.png\/public\" alt=\"Wordlift's llms.txt generator\" class=\"wp-image-130125\"  sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Create a new <strong>llms.txt<\/strong> file on your computer and paste in the copied markdown. Save the changes.<\/li>\n\n\n\n<li>Open your website&rsquo;s root directory using your web host&rsquo;s <strong>file manager <\/strong>or an <a href=\"\/ca\/tutorials\/how-to-use-sftp-to-safely-transfer-files\/\">SFTP tool<\/a> like <strong>FileZilla<\/strong>. By default, it is <strong>\/var\/www\/html\/<\/strong>.<\/li>\n\n\n\n<li>Upload the llms.txt file to the website&rsquo;s root directory.<\/li>\n<\/ol><p>        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Editing llms.txt                <\/p>\n            <\/div>\n            <p class=\"protip__content\">If the auto-generated llms.txt file lacks important details, you can always adjust it manually using a text editor like Notepad.<\/p>\n                    <\/div>\n        \n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-how-to-create-an-llms-txt-file-for-a-wordpress-site\">How to create an llms.txt file for a WordPress site<\/h3><p>You can generate an llms.txt file and upload it to your WordPress website easily using a plugin. For example, <a href=\"\/ca\/wordpress-hosting\">Hostinger&rsquo;s managed WordPress hosting<\/a> users can do so using the built-in <strong>Hostinger plugin<\/strong> by following these steps:<\/p><ol class=\"wp-block-list\">\n<li>Open <strong>hPanel<\/strong> and go to the <strong>sidebar<\/strong> &rarr;<strong>Websites<\/strong> &rarr; <strong>Website list<\/strong>.<\/li>\n\n\n\n<li>Find your WordPress website and click <strong>WP admin<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58928ca48d6\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58928ca48d6\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"245\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordpress-website-admin-panel-access-button-on-hpanel.png\/public\" alt=\"WordPress website's admin panel access button on hPanel\" class=\"wp-image-130126\"  sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>On the <strong>Hostinger <\/strong>page, click the<strong> Tools <\/strong>tab.<\/li>\n\n\n\n<li>Scroll down to the<strong> AI Preferences<\/strong> section and click the <strong>Turn on LLMs.txt <\/strong>toggle.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58928ca74e4\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58928ca74e4\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1496\" height=\"342\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/the-llms-txt-generator-toggle-on-hostinger-plugin.png\/w=1024,h=1024,fit=scale-down\" alt=\"The llms.txt generator toggle on the Hostinger plugin\" class=\"wp-image-130127\"  sizes=\"auto, (max-width: 1496px) 100vw, 1496px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>That&rsquo;s it! Now, you can check if the llms.txt is valid by visiting your website&rsquo;s URL followed by<strong> \/llms.txt<\/strong>, or using our <a href=\"https:\/\/llmstxtvalidator.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">llms.txt Validator<\/a>.<\/p><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-wordpress-hosting\" href=\"\/ca\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-111781\"  sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><h3 class=\"wp-block-heading\" id=\"h-how-to-create-an-llms-txt-file-for-a-hostinger-horizons-site\">How to create an llms.txt file for a Hostinger Horizons site<\/h3><p>If you built your website using Hostinger Horizons <a href=\"\/ca\/horizons\">vibe coding platform<\/a> the llms.txt file will be automatically generated once you publish it live. You can skip these steps if your site is already online. Otherwise, follow this procedure:<\/p><ol class=\"wp-block-list\">\n<li>On hPanel, navigate to the <strong>sidebar<\/strong> and select <strong>Horizons<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Manage Project<\/strong> on your website.<\/li>\n\n\n\n<li>Hit <strong>Publish<\/strong> in the top right corner of your Hostinger Horizons dashboard.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58928cabc29\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58928cabc29\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"1075\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/hostinger-horizons-publish-button-1.png\/public\" alt=\"The Publish button on the Hostinger Horizons dashboard\" class=\"wp-image-130798\"  sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Once published, check whether the llms.txt is configured properly using our <strong>llms.txt Validator<\/strong> tool. If you encounter an error, ask Hostinger Horizons to resolve the issue. <\/p><h2 class=\"wp-block-heading\" id=\"h-what-s-the-difference-between-llms-txt-and-robots-txt\"><strong>What&rsquo;s the difference between llms.txt and robots.txt?<\/strong><\/h2><p>The llms.txt file serves a similar function to that of standard <a href=\"\/ca\/tutorials\/wordpress-robots-txt\/\">robots.txt<\/a>: improving your website&rsquo;s content crawlability and indexability.<\/p><p>Unlike llms.txt, robots.txt provides search engines with information about your website&rsquo;s structure, allowing them to navigate through different pages and crawl your content. It also serves to block indexing of password-protected areas of your website, like the admin area, preventing them from being listed on SERPs.<\/p><p>In other words, robots.txt improves the visibility of your site&rsquo;s public pages in search results. Meanwhile, llms.txt enables AI to interpret and outline your site&rsquo;s most valuable content to help answer users&rsquo; questions.<\/p><p>Although both are TXT files, they use slightly different formatting. Unlike the Markdown syntax used in llms.txt, robots.txt&rsquo;s content is in standard text. Here&rsquo;s what it looks like:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">User-agent: Googlebot\n\nDisallow: \/nogooglebot\/\n\nUser-agent: *\n\nAllow: \/\n\nSitemap: https:\/\/www.example.com\/sitemap.xml<\/pre><h2 class=\"wp-block-heading\" id=\"h-is-llms-txt-going-to-be-the-future-of-geo\"><strong>Is llms.txt going to be the future of GEO?<\/strong><\/h2><p>Although still not fully supported by major LLM providers, <strong>llms.txt<\/strong> is currently the proposed standard for generative engine optimization (GEO). As internet users are increasingly moving towards AI-powered search engines, implementing it as soon as possible can be beneficial to your website.<\/p><p>Implementing llms.txt now gives you a head start over your competition. It increases the likelihood that AI-powered search engines and platforms will feature content from your website, improving its visibility.<\/p><p>Generating an llms.txt document for your site is easy, especially using an online tool like <strong>Hostinger<\/strong> <strong>plugin<\/strong>. It&rsquo;s a low-effort, high-value improvement you can make in minutes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The llms.txt file is a document that enables artificial intelligence (AI) to understand your website content more easily. It contains information about the structure of your site, including the page URLs and their content, written in Markdown syntax. The information in llms.txt is crucial &ndash; without it, AI might have difficulty navigating complex site structures [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ca\/tutorials\/what-is-llms-txt\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":337,"featured_media":145500,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"What is llms.txt and how to create it","rank_math_description":"The llms.txt file is a document that enables AI to better understand your website's content. Here are its benefits and steps to create one.","rank_math_focus_keyword":"what is llms.txt","footnotes":""},"categories":[22674],"tags":[],"class_list":["post-130122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/what-is-llms-txt","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/what-is-llms-txt","default":0},{"locale":"en-GB","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/what-is-llms-txt","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/what-is-llms-txt","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/what-is-llms-txt","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/what-is-llms-txt","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/what-is-llms-txt","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/what-is-llms-txt","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/qu-est-ce-que-fichier-llms-txt","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/130122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/users\/337"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/comments?post=130122"}],"version-history":[{"count":12,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/130122\/revisions"}],"predecessor-version":[{"id":145499,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/130122\/revisions\/145499"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media\/145500"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media?parent=130122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/categories?post=130122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/tags?post=130122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}