The fastest way to find the sitemap of a website is to open its robots.txt file, at example.com/robots.txt, and look for a line that starts with Sitemap:. That is where the owner tells every crawler where the file lives, and it can point anywhere. Only if there is no such line do you start guessing paths, and the right guess depends on the platform. This guide gives the order to try things in, the paths each platform documents, and the real cases where a guess fails.
If you would rather not type URLs, the free sitemap validator works as a sitemap finder too. Give it a domain and it reads robots.txt, then tries /sitemap.xml and /sitemap_index.xml, then opens what it finds.
Sources: Bing’s study of sites with at least one URL in its index[7]; the sitemap protocol[1]; Google[5]. The New York Times count is what its robots.txt served when we fetched it.
Method 1: read the robots.txt file
The sitemap protocol lets a site name its sitemap in robots.txt with one line, Sitemap: followed by the full URL. The line “is independent of the user-agent line, so it doesn’t matter where you place it in your file”, and a file may list more than one[1]. Google reads it the same way: you can put the line “anywhere in your robots.txt file”, and “there’s no limit to the number of sitemaps you can include”[2]. Bing names robots.txt as one of its two ways to submit a sitemap[6]. The robots.txt standard itself leaves these lines outside the user-agent groups[15].
That makes robots.txt the one place every crawler can look, and the first place you should. Open it in a browser, or run this:
# 1. Read the robots.txt and keep only the Sitemap lines curl -s https://www.example.com/robots.txt | grep -i '^sitemap:' # Windows PowerShell (Invoke-WebRequest https://www.example.com/robots.txt).Content -split "`n" | Select-String '^sitemap:'
Here is what real robots.txt files said when we fetched them on 11 October 2026:
- Stripe declares
https://stripe.com/sitemap/sitemap.xml. Its/sitemap.xmlreturned a 404. A path guess would have told you Stripe has no sitemap; robots.txt shows it has a sitemap index with nine child files. - The New York Times lists 25
Sitemap:lines, including gzipped files such as/sitemaps/new/news.xml.gzand separate files for Wirecutter, The Athletic and Games. No single path would find all of them. - Gymshark lists the same line,
https://www.gymshark.com/sitemap.xml, three times. Harmless, but a sign the file is assembled by more than one setting. - Ahrefs has no
Sitemap:line at all, yetahrefs.com/sitemap.xmlanswered 200 with a sitemap index of seven files. That is the case for method 2.
Method 2: try the common sitemap paths
Google recommends putting a sitemap at the site root, because a sitemap only covers the folder it sits in unless you submit it in Search Console[2]. So most sitemaps live at the root, under a handful of names. Try them in this order, and look at the response: a 200 with an XML content type is a sitemap; a 200 with an HTML page is not.
# 2. No Sitemap line? Try the common paths and print the status and content type
for p in sitemap.xml sitemap_index.xml wp-sitemap.xml sitemap.txt sitemap.xml.gz; do
printf '%-20s ' "$p"
curl -s -o /dev/null -w '%{http_code} %{content_type}\n' "https://www.example.com/$p"
doneThe name is set by whatever generates the file, so the quickest route is to know the platform. Every path below comes from the platform’s own documentation.
| Sitemap URL | What you will see | Worth knowing | |
|---|---|---|---|
| WordPress (core, 5.5+) | /wp-sitemap.xml | A sitemap index of public post types, taxonomies and author archives | Referenced in WordPress's own robots.txt. Off when the site discourages search engines |
| Yoast SEO | /sitemap_index.xml | A sitemap index, one child per content type | Replaces the core sitemap. A sitemap at /sitemap.xml is not Yoast's |
| Rank Math | /sitemap_index.xml | A sitemap index, 200 links per file by default | Adds the sitemap to robots.txt for you |
| Shopify | /sitemap.xml | An index linking to products, collections, blogs and pages | Updated automatically. Not readable while the store is in private mode |
| Wix | /sitemap.xml | A sitemap index, with files such as /pages-sitemap.xml and /store-products-sitemap.xml | Updated automatically. Multilingual sites add per-language files such as /xx_xx-pages-sitemap.xml |
| Squarespace | /sitemap.xml | An XML list of your URLs and image metadata | Not on trial sites or parking pages. A private site must be made public first |
| Next.js (App Router) | /sitemap.xml | Whatever app/sitemap.ts returns | Split sitemaps from generateSitemaps live at /.../sitemap/[id].xml |
Sources: WordPress[8], Yoast[9], Rank Math[10], Shopify[11], Wix[12], Squarespace[13], Next.js[14].
A few details from those pages save time. WordPress core caps each file at 2,000 entries by default and has a filter that switches its sitemaps off, which SEO plugins can use[8]. Yoast says plainly that if you see a sitemap at example.com/sitemap.xml, “your sitemap is not generated by Yoast SEO”[9]. On the live site, Yoast’s own /wp-sitemap.xml answered with a 301 redirect to /sitemap_index.xml when we checked. Wix gives every site a sitemap index and updates it whenever you change the site[12]. Squarespace says its updates “usually appear within an hour, though can take up to 24 hours”[13].
Two variants are easy to miss. Sitemaps can be gzipped, so try .xml.gz as well as .xml[1]. And the protocol accepts a plain text file with one URL per line[1]; Google lets it have any name ending in .txt[2].
Method 3: open the sitemap index
The file you find first is often not a list of pages. A sitemap may hold at most 50,000 URLs and 50 MB uncompressed, so larger sites split their URLs into several files and list those files in a sitemap index[1]. You can tell them apart from the root element: <sitemapindex> lists sitemaps, <urlset> lists pages.
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://www.example.com/post-sitemap.xml</loc>
<lastmod>2026-10-09T07:32:54+00:00</lastmod>
</sitemap>
<sitemap>
<loc>https://www.example.com/page-sitemap.xml</loc>
</sitemap>
</sitemapindex>Open each child <loc> to reach the page URLs. On real sites the tree can be wide. When we ran the validator’s checks on TechCrunch on 11 October 2026, its robots.txt named two sitemaps, and the main index listed more than 2,000 child files. Yoast’s index listed 21 child sitemaps; the 20 we could read held 1,698 URL entries, 36 of them duplicates. That is why a sitemap finder that stops at the first file tells you little.
Method 4: Search Console and Bing Webmaster Tools
For a site you own, the search engines will tell you what they know. Search Console’s Sitemaps report shows the sitemaps submitted for the property, when each was last read, and its status[3]. Two limits catch people out:
- It only lists submitted sitemaps. The report “does not show any sitemaps discovered through a robots.txt reference or other discovery methods”, even if Google uses them[3]. An empty report does not mean Google has never seen your sitemap.
- It is per property. A sitemap submitted under
https://example.comwill not show underhttps://www.example.com. Google’s advice is to check you are not “confusing http/https, or www/non-www properties”[3].
Bing Webmaster Tools has a Sitemaps section that shows the submission status, the last read date and processing errors, and Bing says it revisits a known sitemap “typically at least once per day”[6]. The Bing Webmaster Tools guide covers setting it up.
Method 5: the last resorts
Look at the page footer. Some sites link a “Sitemap” page from the footer. That is usually an HTML sitemap, a page for people, not the XML file search engines read. Useful, but not the same thing.
Try a site: search, with low hopes. Searching site:example.com sitemap only finds a sitemap if Google indexed the file, and there is no reason it should. Yoast says “XML sitemaps do not need to be indexed by search engines in order to be read or parsed” and sends X-Robots-Tag: noindex, follow on every sitemap response[9]; the header was there when we requested yoast.com’s own index. Google also warns that a site: search “doesn’t necessarily return all the URLs that are indexed”[4].
Accept that there may be none. A sitemap is optional. Google says a site of “about 500 pages or fewer” that is well linked internally may not need one[5], and Bing’s 2023 study found that 42% of hosts with a URL in its index had no XML sitemap Bing knew about[7]. If robots.txt has no line and the paths return 404, that is your answer.
Once you have found it, check it
Finding the file is half the job. A sitemap can load and still be wrong: listing URLs that redirect, return 404, carry noindex or are blocked by robots.txt. Google asks you to list the canonical URLs you want in search results[2], so each of those is an entry that should not be there. Three quick checks once you have the URL:
- Does it parse? The sitemap validator checks the XML, namespace, dates and limits, then requests a sample of the listed URLs.
- Are the dates real? When we checked www.wix.com on 11 October 2026, 79% of its 10,525 URLs shared one
<lastmod>timestamp, and one date was in the future. The guide to lastmod explains why that matters. - Can every crawler fetch what it lists? TechCrunch’s robots.txt disallowed GPTBot and ClaudeBot from all 10,023 URLs our check read, while Googlebot and Bingbot were allowed. That can be a deliberate choice. If it is not one on your site, the robots.txt tester shows which rule matches.
New to the format? What a sitemap is walks through every tag with annotated examples. And if Search Console says the file you found could not be read, that guide goes through each cause.
From one sitemap to every page
The validator samples URLs from the sitemap it finds. CoreCited’s GEO Audit starts from the same discovery, robots.txt and then the sitemap, and goes on to crawl the pages it lists. The free account audits 10 pages; every plan limit is on the pricing page.
Questions people ask
How do I find the sitemap of a website?
Open the site's robots.txt (example.com/robots.txt) and look for lines that start with Sitemap:. That is where the owner declares it, and it can point to any path. If there is no such line, try /sitemap.xml, then the path your platform uses: /sitemap_index.xml for Yoast and Rank Math, /wp-sitemap.xml for WordPress without an SEO plugin. If it is your own site, Search Console lists the sitemaps you submitted.
Where is the sitemap on a WordPress site?
WordPress 5.5 and later serves a sitemap index at /wp-sitemap.xml and references it in the robots.txt that WordPress generates. If Yoast SEO or Rank Math is active, the sitemap is at /sitemap_index.xml instead. When a site is set to discourage search engines, WordPress turns its own sitemaps off.
Is there a free sitemap finder?
Yes. A sitemap finder only has to do what this page describes: read robots.txt, then try the common paths. The free sitemap validator linked on this page does that from a domain, follows a sitemap index to its child sitemaps, and then checks the files and a sample of the URLs they list.
Why can't I find a site's sitemap with a Google search?
Google only shows files it has indexed, and sitemaps do not need to be indexed to be read. Yoast, for example, sends a noindex header on every sitemap it serves. Google's own documentation also says a site: search does not necessarily return all indexed URLs. Read robots.txt instead.
Does every website have a sitemap?
No. Google says a site of about 500 pages or fewer, where every page is reachable by links from the home page, probably does not need one. Some large sites also choose not to publish one, or publish it at a path only robots.txt reveals. If robots.txt has no Sitemap line and the common paths return 404, assume there is none.
Can a website have more than one sitemap?
Yes. A site can split its URLs across many sitemaps and list them in a sitemap index, and robots.txt can name as many sitemaps as the owner likes. On 11 October 2026 the New York Times robots.txt declared 25 of them.
