Analytics, SEO and growth · Comparison

sitemap.xml vs robots.txt vs IndexNow vs llms.txt

Four ways of talking to crawlers that are easy to confuse. Each does a different job, and none of them forces a page into or out of a search index.

4 options · 7 questions side by side · updated

Comparesitemap.xmlrobots.txtIndexNowllms.txt
What it doesLists the pages that existSets where crawlers may goAnnounces changed pagesSummarises a site for AI tools
FormatXMLPlain-text rulesAn HTTP request plus a key fileMarkdown
Lives at/sitemap.xml, or any submitted path/robots.txt onlyKey file on your site; pings go to an API/llms.txt
Who reads itGoogle, Bing and most enginesNearly all reputable crawlersBing, Yandex and partners; not GoogleSome AI tools and agents; not Google Search
StatusLong-established standardStandard (RFC 9309)Open protocol from Bing and YandexCommunity proposal
Controls indexingNo, it only helps discoveryNo, it controls crawlingNo, it only notifiesNo
EffortUsually generated by the frameworkA few lines, rarely changedA plugin or a small scriptWritten by hand or generated

How to choose between sitemap.xml, robots.txt, IndexNow and llms.txt

  • Every public site benefits from a sitemap and a robots.txt; both take minutes, and most frameworks generate them.
  • Add IndexNow when quick updates in Bing and its partners matter, as for shops, listings or news.
  • Add llms.txt if your audience uses AI coding tools or agents, knowing that Google Search ignores it.

The options

More comparisons

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.