Free to explore: filter winning sites by DR, traffic and niche  ·  Try the live explorer →

How to find all pages on a website: 5 methods

A site map tree diagram

To find all pages on a website, open its XML sitemap first, then run a site: search and a crawler. On your own site, add Search Console and your CMS’s page list. No single method lists every page, so the fullest list comes from merging several.

The fastest ways to list all pages on a website

  1. Read the XML sitemap. Open example.com/robots.txt, look for a Sitemap: line and open that URL. If there is no line, try example.com/sitemap.xml.
  2. Run a site: search. Type site:example.com into Google to see a list of indexed pages, including subdomains.
  3. Run a crawler. It starts at the home page, follows the links and exports every URL it reaches.
  4. Check Search Console, if the site is yours. The Page indexing report shows URLs Google knows about, indexed or not.
  5. Open the CMS page list, if the site is yours. In WordPress, the Pages screen lists every page, including drafts.

The first three work on any site. The last two need access to the site. Google itself says there “isn’t a central registry of all web pages”, which is why even a search engine has to keep looking for new ones, and why you end up comparing partial lists.

MethodWhat it findsWhat it missesNeeds site access?
XML sitemapPages the owner chose to listPages left out, and all pages if the site has no sitemapNo
site: searchA list of indexed pagesUnindexed pages, and some indexed ones: Google says it is not exhaustiveNo
CrawlerPages reachable by following linksOrphan pages with no internal links; pages behind a loginNo
Search Console Page indexing reportURLs Google knows about, with their statusURLs Google has not found; example lists stop at 1,000 rowsYes
CMS page listPages in the CMS, including draftsURLs generated outside the CMSYes
Google AnalyticsPages people have visitedPages nobody has visitedYes
A sitemap file in a browser

Find all pages on a website you do not own

Start with the XML sitemap and robots.txt

Google describes a sitemap as a file where you “provide information about the pages, videos, and other files on your site”, which makes it the owner’s own inventory. Google requires robots.txt to sit at the root of the host, so example.com/robots.txt is always the right place to look. The Sitemap: line is optional, and a file can have several. Our guide to finding a website’s sitemap covers the places it hides.

Each sitemap is limited to 50,000 URLs or 50MB uncompressed, so large sites split theirs and often list the parts in a sitemap index file. Open each child sitemap to get the full list. XML sitemaps for SEO explains how those files fit together. A missing sitemap proves nothing: Google says sites with strong internal linking and about 500 pages or fewer may not need one.

A crawler's URL list

Use the site: operator, and read Google’s caveat

A site:example.com search takes seconds and needs no tools, but do not treat it as a page count. Google’s documentation for the site: operator says the list of URLs returned “is not always exhaustive” and that the operator “doesn’t necessarily return all the URLs that are indexed under the prefix”.

The same page offers a useful trick: a more specific prefix may yield more results than a broader one. Search section by section, such as site:https://example.com/blog/, and you may surface pages the broad search hid. The host and protocol change the results too, so site:https://www.example.com and site:https://example.com/ are different queries. Our guide to Google search operators shows how to narrow it further.

A person browsing a website on a laptop

Run a crawler

A web crawler follows internal links from the home page and records every URL it reaches, which also shows you pages the owner left out of the sitemap. Screaming Frog’s SEO Spider, for example, is restricted to 500 URLs in a single crawl in its free version, as our guide to the free version explains. Set any crawler to respect robots.txt and to run at a gentle rate; you are a guest on someone else’s server. Some crawlers can also read the XML sitemap during the crawl to help find orphan pages.

The comparison is the interesting part. URLs in the sitemap but not in the crawl have no internal links the crawler could follow. URLs in the crawl but not in the sitemap are pages the owner either forgot or does not want indexed.

For competitor research, the merged list is useful in its own right. Group the URLs by folder and you can see how the site is organised, which sections it has invested in and which templates it repeats at scale.

An analytics pages report

Or use the command line

Wget can spider a site and log the URLs it finds. A command such as wget --spider --recursive --no-verbose --output-file=urls.log https://example.com/ checks that pages are there without downloading them, and the log can be filtered for the URLs. The manual says it honours robots.txt when downloading recursively and has a default maximum depth of 5, so a deep site needs a higher limit. It follows links in HTML, XHTML and CSS pages, so it has the same blind spot as any crawler.

How to see all pages of your own website

Search Console. Open the Page indexing report and keep the filter on “All known pages”, which shows URLs known to Google whether or not they are in a sitemap. Switch to “Unsubmitted pages only” to see known URLs your sitemaps leave out. It is not a full export, though: Google says the example lists are limited to 1,000 items and are not guaranteed to show every URL in a status. It also says you should not expect all URLs to be indexed, only the canonical pages, so a “not indexed” row is not always a fault. To test one URL rather than list them all, see how to check if a page is indexed.

Your CMS. The admin panel is the closest thing to a complete inventory of CMS content. In WordPress, the Pages screen lists all your Pages, with links for All, Published, Pending Review, Draft and Private, and Screen Options sets how many show at once. Blog posts are managed separately from Pages. To get everything in one file, Tools > Export creates an XML file with posts, pages and custom post types. Other platforms have their own lists. None of these includes URLs generated outside the CMS, and some entries, such as drafts, are not public.

Command line output

Analytics. The Pages and screens report in Google Analytics, under Engagement, shows the pages users visited, with the page path taken from the part of the URL after the domain. It can reveal orphan pages that still get traffic, which a crawler cannot see. Its weakness is the mirror image: it is no help with a page nobody has visited.

Bing Webmaster Tools. Bing’s Site Explorer gives a second search engine’s view, grouping data by folder with filters for indexed, error, warning and excluded URLs.

How to find all subpages of a website

A subpage is simply a page beneath another one in the URL, such as everything under example.com/blog/. To list them, search site:https://example.com/blog/, then filter your sitemap list and crawl export to URLs starting with that path.

Subdomains are a separate case, as subdomains and subfolders are set up differently. site:example.com includes them, and a Search Console Domain property covers all subdomains, whereas a URL-prefix property covers only that prefix. Robots.txt rules apply only to the host where the file is posted, so check /robots.txt on each subdomain for its own robots.txt and sitemap line.

Can you find all pages on a website online?

Yes, as far as any outside method can. The sitemap and the site: search need only a browser, and Search Console runs in the browser for sites you have access to. Web-based crawlers do the same job as desktop ones, with the same limit: they reach only what is linked. No online tool can see a page that is unlinked, unlisted and unindexed.

Merge the lists before you compare them

Whatever method you use, normalise the URLs before merging the lists. Strip tracking parameters, choose one version of trailing slashes and protocol, and remove duplicates. Otherwise the same page appears three times and the gaps between sources look bigger than they are.

A spreadsheet of URLs

The limitation: some pages cannot be found from outside

Every outside method depends on a page being linked, listed or indexed. A page with no internal links, missing from the sitemap and not in Google’s index is effectively invisible unless you own the site. Pages behind logins and URLs generated only after a search or form submission will also slip through. Robots.txt is different: Google says it is “not a mechanism for keeping a web page out of Google”, and a disallowed URL can still be indexed if it is linked from elsewhere, so a blocked page may still show up in a site: search.

On your own site, the gaps between sources are a to-do list. Sitemap URLs that the crawler did not reach usually need internal links, which is the subject of our guide to orphan pages. Crawled URLs missing from the sitemap need a decision: add them, or noindex and consolidate them. On someone else’s site, write down which sources you combined, so the list is read as “every page that could be found”, not “every page that exists”.

Frequently asked questions

How do I see all the pages on a website?

Open its XML sitemap, using the Sitemap line in robots.txt, then compare it with a site: search and a crawl. On your own site, add Search Console and your CMS page list.

How do I find all subpages of a website?

Search site: with the full path, such as site:https://example.com/blog/, then filter the sitemap and crawl lists to URLs starting with that path.

Can I find all pages on a website online, without installing anything?

Yes. The sitemap and a site: search need only a browser. Neither is complete, and online crawlers can only reach pages that are linked.

Can a site: search show every indexed page?

No. Google’s documentation says the list of URLs returned is not always exhaustive, and that a more specific prefix may yield more results than a broader one.

Why does a crawler miss some pages?

A crawler only finds pages by following links. Orphan pages with no internal links pointing at them are invisible to it, unless it also reads a sitemap that lists them.

How do I find pages on my own site that nothing links to?

Compare your sitemap, Search Console and analytics lists against a crawl. URLs missing from the crawl are likely orphans.

The takeaway Merge the sitemap, a crawl and a site: search for any site, and add Search Console, analytics and CMS lists for your own. The URLs that appear in only one list are the ones worth investigating.