{"id":130122,"date":"2025-06-24T09:24:34","date_gmt":"2025-06-24T09:24:34","guid":{"rendered":"\/tutorials\/?p=130122"},"modified":"2026-03-09T19:16:26","modified_gmt":"2026-03-09T19:16:26","slug":"what-is-llms-txt","status":"publish","type":"post","link":"\/ng\/tutorials\/what-is-llms-txt","title":{"rendered":"What is the llms.txt file, and how do you create one for your website?"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>The <strong>llms.txt<\/strong> 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.<\/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\":\"69e1860b15182\"}' data-wp-interactive=\"core\/image\" 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-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-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\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/a-website-llms-txt-accessed-via-web-browser-1.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/a-website-llms-txt-accessed-via-web-browser-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/a-website-llms-txt-accessed-via-web-browser-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/a-website-llms-txt-accessed-via-web-browser-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/a-website-llms-txt-accessed-via-web-browser-1.png\/w=768,fit=scale-down 768w\" 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-async--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=\"\/ng\/tutorials\/generative-search-engine-optimization\">GEO<\/a> is similar to traditional <a href=\"\/ng\/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=\"\/ng\/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\":\"69e1860b16805\"}' data-wp-interactive=\"core\/image\" 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-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-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\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/chatgpt-searching-for-information-from-websites.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/chatgpt-searching-for-information-from-websites.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/chatgpt-searching-for-information-from-websites.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/chatgpt-searching-for-information-from-websites.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/chatgpt-searching-for-information-from-websites.png\/w=768,fit=scale-down 768w\" 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-async--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\/\">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\":\"69e1860b17ebb\"}' data-wp-interactive=\"core\/image\" 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-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-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\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordlift-llms-generator.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordlift-llms-generator.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordlift-llms-generator.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordlift-llms-generator.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordlift-llms-generator.png\/w=768,fit=scale-down 768w\" 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-async--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=\"\/ng\/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                    <h4 class=\"title\">Editing llms.txt<\/h4>\n                    <p>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<\/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=\"\/ng\/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\":\"69e1860b1979c\"}' data-wp-interactive=\"core\/image\" 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-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-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\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordpress-website-admin-panel-access-button-on-hpanel.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordpress-website-admin-panel-access-button-on-hpanel.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordpress-website-admin-panel-access-button-on-hpanel.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordpress-website-admin-panel-access-button-on-hpanel.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/wordpress-website-admin-panel-access-button-on-hpanel.png\/w=768,fit=scale-down 768w\" 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-async--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\":\"69e1860b1aaaf\"}' data-wp-interactive=\"core\/image\" 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-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-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\/public\" alt=\"The llms.txt generator toggle on the Hostinger plugin\" class=\"wp-image-130127\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/the-llms-txt-generator-toggle-on-hostinger-plugin.png\/w=1496,fit=scale-down 1496w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/the-llms-txt-generator-toggle-on-hostinger-plugin.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/the-llms-txt-generator-toggle-on-hostinger-plugin.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/the-llms-txt-generator-toggle-on-hostinger-plugin.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/the-llms-txt-generator-toggle-on-hostinger-plugin.png\/w=768,fit=scale-down 768w\" 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-async--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><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-wordpress-hosting\" href=\"\/ng\/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\/public\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" 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 <a href=\"\/ng\/horizons\/web-application-development\">Hostinger Horizons<\/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\":\"69e1860b1c7e1\"}' data-wp-interactive=\"core\/image\" 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-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-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\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/hostinger-horizons-publish-button-1.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/hostinger-horizons-publish-button-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/hostinger-horizons-publish-button-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/hostinger-horizons-publish-button-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/06\/hostinger-horizons-publish-button-1.png\/w=768,fit=scale-down 768w\" 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-async--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=\"\/ng\/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=\"\/ng\/tutorials\/what-is-llms-txt\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":337,"featured_media":143198,"comment_status":"open","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":[22619],"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-UK","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}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/130122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/337"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=130122"}],"version-history":[{"count":10,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/130122\/revisions"}],"predecessor-version":[{"id":143197,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/130122\/revisions\/143197"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media\/143198"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=130122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=130122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=130122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}