llms.txt Builder

Write the llms.txt file that tells AI tools what your site is and where its best pages are, generate llms-full.txt from your page text, and validate any llms.txt against the format.

ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ

…

วิธีทำ

  1. 1
    Name the site

    Type the site name for the H1 and a one-sentence summary.

  2. 2
    Add notes

    Write any details a model should know, such as units, versions or terminology.

  3. 3
    Add links

    Create sections and add links with short notes, or import a sitemap or URL list.

  4. 4
    Check it

    Read the validation list and the preview, and fix anything flagged.

  5. 5
    Build the full file

    On the llms-full.txt tab, paste or open the Markdown for each listed page.

  6. 6
    Publish

    Download llms.txt and llms-full.txt and upload them to your site root.

เกี่ยวกับเครื่องมือนี้

llms.txt is a proposed plain Markdown file at the root of a website, at /llms.txt, written for language models rather than for search engine crawlers. Where robots.txt says what may be crawled and a sitemap lists every URL, llms.txt gives a short, curated map: the site name as a heading, a one-line summary in a blockquote, a few notes a model should know, and sections of links to the pages that matter most, each with a few words on what is there. A section named Optional holds links a tool can skip when its context is short. A companion file, llms-full.txt, puts the full text of those pages in one document so a coding assistant or chatbot can load the documentation in one request. This builder writes both. You fill in the name, summary and details, add sections and links, or import them from a sitemap.xml or a list of URLs, which are grouped into sections by their first path segment and given readable titles. A live preview and validation run as you type. For llms-full.txt you paste or open the Markdown of each page and the file is assembled with source lines. The validate tab checks any existing llms.txt and can load it into the builder for editing.

The format in short

The only required part is an H1 with the site or project name, and it must come first. Next comes an optional blockquote summary, then optional paragraphs or lists of notes without headings, then zero or more H2 sections. Each section holds a Markdown list where every item is a link, optionally followed by a colon and a short note. Deeper headings are not part of the format. The proposal also suggests that sites offer clean Markdown versions of pages at the same URL with .md added.

What the validator checks

It reports a missing or late H1, more than one H1, H3 or deeper headings, list items that are not links, text inside sections, empty sections, empty or relative URLs, http links, duplicate links and an Optional section with the wrong spelling. It also notes a missing summary, no sections at all, a file over about 10,000 tokens, which defeats the point of a short index, and links that never point to Markdown.

Choosing what to list

List the pages that answer the questions people bring to an AI tool: getting started, core concepts, API reference, pricing, limits and policies. Leave out tag pages, archives, login pages and marketing pages with little text. A sitemap import adds up to 30 links per section and skips images, PDFs and nested sitemaps, so trim the result by hand.

Limits

llms.txt is a community proposal, not a standard any AI company has to follow: some tools and documentation platforms read it, many crawlers do not, and adding one does not guarantee more AI traffic. The page cannot fetch your site, because browsers block reading other sites' pages, so page text for llms-full.txt has to be pasted or opened from files.

ตัวอย่างพร้อมวิธีทำ

A payments company builds its file. The H1 is Acme Payments, the summary says it is an API for card and bank payments in 40 countries with SDKs for JavaScript, Python and PHP, and a note says amounts are integers in the smallest currency unit and test keys start with sk_test_. The Docs section lists Quickstart, Payments API reference and Webhooks as .md links with short notes, and an Optional section holds the Changelog. The result is 15 lines and about 176 tokens, and the validator reports no problems. They paste the Markdown of the Webhooks page into the llms-full.txt tab, where its # Webhooks heading is lowered to ### under a Source line.

สรุปสั้น ๆ

คำถามที่พบบ่อย

Where do I put the file?

At the root of your site so it loads at https://your-site/llms.txt, served as plain text. llms-full.txt goes next to it. Documentation sites can also publish one per product or version folder.

Is llms.txt the same as robots.txt?

No. robots.txt controls crawling and blocking. llms.txt is a reading guide with links and context, and it does not allow or block anything.

Do AI search engines use it?

Support varies and changes. Several developer tools and documentation platforms read or generate it, while major search crawlers have not committed to it. Treat it as a cheap, helpful extra, not a ranking factor.

Can I import my sitemap?

Yes. Paste the XML or open the file. Each loc URL becomes a link, grouped into sections by its first path segment, with a title made from the last segment. Rename titles and delete pages you do not need.

How big should llms-full.txt be?

As big as the content you want models to load in one go, often tens of thousands of tokens for documentation. The tab shows an estimated token count so you can split it if it grows too large.

Is my content uploaded?

No. Building, previewing and validating all happen in your browser, and drafts are kept in local storage on this device.

ฟรีทั้งหมดไม่มีค่าใช้จ่าย ไม่ต้องสมัคร
ไฟล์เป็นส่วนตัวทุกอย่างทำงานในเบราว์เซอร์ของคุณ
ใช้ง่ายในภาษาของคุณมีหลายภาษา