To find the sitemap of a website, open thesite.com/robots.txt and look for a line that starts with “Sitemap:”. If there is no such line, try thesite.com/sitemap.xml, then /sitemap_index.xml. Those three checks found the sitemap on 76% of the 510 big websites we tested on 12 October 2026. The five steps below cover the rest, and the box under this paragraph builds every link for you.
Sitemap finder: type a website, get every place to look
Nothing is sent anywhere. The links open in a new tab, in the order most likely to work.
- example.com/robots.txtLook for a line that starts with Sitemap:68%list it here
- example.com/sitemap.xmlThe most common address46%of sites tested
- example.com/sitemap_index.xmlYoast SEO and Rank Math on WordPress11%of sites tested
Example shown. Type a website above and the links become yours. Percentages: share of 510 top sites where that address worked in our 12 October 2026 test.
Where is a sitemap located? What 510 big websites showed us
There is no single fixed address. The sitemap rules at sitemaps.org let a site put the file anywhere, and Google only recommends the site root. So we measured where sites really keep it.
On 12 October 2026 we requested robots.txt and eight common sitemap addresses on the 1,000 most popular domains in the Tranco list. 510 of them returned a readable robots.txt file. Here is how the sitemap was found on those 510.
The number that changes how you search is this one: 121 of the 345 sitemaps listed in robots.txt (35%) were not at any common address. Type /sitemap.xml on those sites and you get an error page, even though a sitemap exists. Booking.com is a good example. Its robots.txt listed 434 sitemaps on the day we checked, and booking.com/sitemap.xml returned “not found”.
That is why the order of the steps matters. Read the file first, guess second.
How to find the sitemap of a website in 5 steps
Steps 1 to 3 work on any website, including a competitor’s. A sitemap is a public file, so nobody needs a login to read it. Step 4 is for a site you own. Step 5 makes sure what you found is the real one.
Step 1. Open robots.txt and look for the “Sitemap:” line
Type the website’s address in your browser, add /robots.txt to the end, and press Enter. You will see a short plain-text file. Press Ctrl+F (Cmd+F on a Mac) and search for the word “sitemap”.
User-agent: *Disallow: /wp-admin/Allow: /wp-admin/admin-ajax.php Sitemap: https://seoshut.com/sitemap_index.xml
Three things worth knowing before you move on:
- The file is always at the root. Google’s documentation says robots.txt “must be located at the root of the site host”, so
thesite.com/robots.txtis the only place to look. - There can be several lines. In our test, 150 of the 345 sites listed more than one sitemap. The New York Times listed 25. Google says there is no limit.
- The sitemap can sit on a different address. Google’s robots.txt rules say the URL “doesn’t have to be on the same host”. Follow the line wherever it points.
No Sitemap line, or no robots.txt at all? Go to step 2.
Step 2. Try the address the website’s platform uses
Most websites run on a platform that creates the sitemap for them and always puts it at the same address. Add each of these to the end of the domain, one at a time. The bars show how often each one worked in our test.
/sitemap.xml23346%/sitemap_index.xml5611%/wp-sitemap.xml296%/sitemap.xml.gz204%/sitemap-index.xml133%/sitemap/92%If you know what the site is built with, you can skip the guessing. These addresses come from each platform’s own help pages.
| Platform | Sitemap address | Good to know |
|---|---|---|
| WordPress (no SEO plugin) | /wp-sitemap.xml |
Built in since WordPress 5.5. Up to 2,000 links per file. |
| WordPress + Yoast SEO | /sitemap_index.xml |
/sitemap.xml redirects here. Up to 1,000 links per file. |
| WordPress + Rank Math | /sitemap_index.xml |
200 links per file by default. |
| WordPress + All in One SEO | /sitemap.xml |
Switched on by default. |
| Shopify | /sitemap.xml |
Made and updated automatically. |
| Wix | /sitemap.xml |
A sitemap index, updated automatically. |
| Squarespace | /sitemap.xml |
Updates usually show within an hour, sometimes 24. |
| Webflow | /sitemap.xml |
Only if “Auto-generate sitemap” is on in Site settings. |
Sources: WordPress, Yoast, Rank Math, All in One SEO, Shopify, Wix, Squarespace and Webflow.
WordPress matters most here. W3Techs counted it on 40.1% of all websites in October 2026, so the two WordPress addresses are always worth a try. If an address sends you somewhere unexpected, the Redirect Checker shows every hop.
Step 3. Ask Google with a search operator
Some sites keep the sitemap in a folder nobody would guess, such as /sitemaps/new/sitemap.xml.gz (that one is the New York Times). If Google has seen the file, a search can surface it. Swap in the domain and paste one of these into Google:
site:example.com filetype:xmlsite:example.com inurl:sitemapTreat this as a long shot. Google’s own page on the site: operator says “the list of URLs returned is not always exhaustive”. An empty result does not prove there is no sitemap.
Step 4. Your own website? Look in the dashboard
When the site is yours, you can skip the detective work and read the address where the sitemap is made.
- WordPress: open your SEO plugin’s sitemap settings (in Rank Math: Rank Math SEO, then Sitemap Settings). The settings page shows a link to the live file.
- Shopify, Wix, Squarespace: there is no setting to find. The file is at
/sitemap.xmlon your domain. - Google Search Console: open Sitemaps in the left menu to see every sitemap that was submitted, when Google last read it, and how many pages it discovered.
Search Console has one blind spot that catches people out, and Google states it plainly in its Sitemaps report help page: the report “shows only sitemaps that were submitted using this report or the API”. A sitemap Google found through robots.txt is being used, but it never appears there.
/sitemap_index.xmlYou submitted it in Search Console/news-sitemap.xmlGoogle found it in robots.txt/old/sitemap.xmlSubmitted years ago, then deleted from the report/sitemap_index.xmlShown, with status and last read date/news-sitemap.xmlNot shown/old/sitemap.xmlNot shown. Google says it “won’t forget” a deleted sitemapSo an empty Sitemaps report does not mean your site has no sitemap. Check robots.txt as well. And if your sitemap is not submitted yet, submit it. You need owner permission on the property, and it takes one minute.
Step 5. Open it and check it is the real one
Paste the address into your browser. A real sitemap is a list of page addresses and nothing else. Three quick checks:
- It loads. You see a list or a block of code, not a “page not found” message.
- It is for this website. The addresses inside start with the domain you are checking.
- It is current. A page you know was added recently is in the list. To confirm that page is also in Google, run it through the Google Index Checker.
If the list only shows a handful of other .xml files, you have found a sitemap index. That is normal, and the next section explains it.
How to read a sitemap once you have opened it
Big sites split their sitemap into several smaller files and publish one “index” that points to all of them. Open the index, click any file in it, and you reach the actual page list. Ours looks like this.
post-sitemap.xml60 pagespage-sitemap.xml22 pagestools-sitemap.xml26 pagescase-studies-sitemap.xml18 pagesauthor-sitemap.xml7 pagesInside each file, every page gets a small block. Tap a line to see what it means.
A few sitemaps do not look like this at all. The protocol also allows a plain text file with one address per line, and an RSS or Atom feed. A file ending in .gz is a zipped sitemap: your browser will download it, and you open it with any unzip tool.
How to extract or download every URL from a sitemap
Once the sitemap is open, you usually want the list of pages in a form you can work with. Two free ways, both under a minute.
In Google Sheets. Click an empty cell, paste this formula, and swap in the sitemap address. Every page address lands in its own row.
=IMPORTXML("https://example.com/sitemap.xml","//*[local-name()='loc']")Right here. Open the sitemap, press Ctrl+A then Ctrl+C to copy everything, and paste it below. The box pulls out the addresses and counts them. It runs in your browser, so nothing is uploaded.
To download the file itself, open it and press Ctrl+S (Cmd+S on a Mac). For a deeper look at the pages on the list, the Broken Link Checker finds the dead ones.
Do all websites have a sitemap?
No. A sitemap is optional, and plenty of sites run without one.
- 58% of hosts with at least one page indexed by Bing had an XML sitemap Bing knew about, according to Bing’s own count in February 2023.
- 24% of the sites in our test showed no sitemap in robots.txt or at any common address.
- About 500 pages is where Google draws the line. Its sitemap guide says a site of “about 500 pages or fewer” that is well linked internally may not need one.
So what do you do when all five steps come up empty?
If it is someone else’s site, search site:thesite.com in Google to see the pages Google has indexed, or run a free crawler such as Screaming Frog SEO Spider, which follows the links on the site and builds the page list for you.
If it is your site, make one. On WordPress, updating to version 5.5 or later gives you /wp-sitemap.xml with no plugin. On Shopify, Wix and Squarespace it already exists. Then add the Sitemap line to robots.txt and submit the address in Search Console. Our guides to what a sitemap is and sitemap examples walk through the formats, and robots.txt best practices covers the file from step 1.
Found your own sitemap? Four numbers to check it against
Finding the file is half the job on your own site. These are the limits and rules the search engines publish. If your sitemap breaks one, pages can be missed.
Does a sitemap help with ChatGPT and AI search?
For Bing and Copilot, yes, and Microsoft has said so directly. In July 2025 the Bing team wrote that in AI-powered search, sitemaps “remain a foundational signal for ensuring comprehensive URL coverage”, and that Bing revisits a sitemap “typically at least once per day”. OpenAI’s crawler documentation does not mention sitemaps at all, so we will not claim more than that. The safe move is the same either way: keep one accurate sitemap, list it in robots.txt, and make sure AI crawlers are not blocked. The AI Crawler Checker tests that in a few seconds.
A sitemap is one small part of whether a site gets found. If you want the rest looked at too, our free Website SEO Audit checks the sitemap along with the usual technical problems, and a manual website audit is there when you want a person to go through it.
FAQs
How do I find the sitemap of a website?
Open the website’s robots.txt file by adding /robots.txt to the domain, then look for a line starting with “Sitemap:”. If there is none, try /sitemap.xml and /sitemap_index.xml. In a SEOs Hut test of 510 top websites in October 2026, those three checks found the sitemap on 76% of them.
Where is the sitemap on a WordPress site?
It depends on the SEO plugin. With Yoast SEO or Rank Math the sitemap is at /sitemap_index.xml. With All in One SEO it is at /sitemap.xml. With no SEO plugin, WordPress 5.5 and later creates one at /wp-sitemap.xml. Try all three, or check robots.txt, which usually names the right one.
Can I see a competitor’s sitemap?
Yes. A sitemap is a public file that search engines need to read, so anyone can open it without a login. Check the competitor’s robots.txt first, then the common addresses. It is a quick, legal way to see every page they want Google to find, including pages that are not in their menu.
Why can’t I find a sitemap at /sitemap.xml?
Because the file can live at any address. In our October 2026 test, 35% of the sitemaps listed in robots.txt were not at any common address. The site may also have no sitemap, which is allowed. Read robots.txt first, then try a Google search for site:thesite.com filetype:xml.
How many URLs can a sitemap contain?
One sitemap file can hold up to 50,000 URLs and must be no larger than 50MB uncompressed, according to the sitemaps.org protocol and Google. Bigger sites split their pages across several files and list them in a sitemap index, which can itself point to as many as 50,000 sitemaps.
