Website Page Counter
Free website page counter. Enter any domain — we discover all pages via sitemap.xml, sitemap_index.xml, and robots.txt, follow sitemap indexes, and return a total count, per-directory breakdown, and exportable URL list. 5 free checks per hour per IP. No signup.
Related glossary terms
Want a deeper dive? These glossary entries explain the concepts behind this tool.
How to use it
Enter a domain
Type any domain like example.com or https://example.com. We auto-https it. You can also paste a direct sitemap URL (https://example.com/sitemap.xml) to skip discovery.
Click Count Pages
We fetch /robots.txt first, parse every Sitemap: directive, then try /sitemap.xml and /sitemap_index.xml. Each discovered sitemap is followed recursively — sitemap indexes are auto-resolved to find all child sitemaps. Per-IP rate limit is 5/hour to keep the public endpoint cheap.
Review the breakdown
Total URL count, per-directory breakdown (top 10 directories shown with counts), the list of sitemaps we found, and the full deduplicated URL list. Duplicate URLs across sitemaps are detected and removed.
Copy or download
Copy the full URL list to clipboard, or copy an individual sitemap block. The data is also available as JSON in the raw response — useful for piping into a spreadsheet or audit tool.
Frequently Asked
Questions
Everything you need to know about counting pages on a website via XML sitemaps in 2026.
Three sources, in order: (1) every Sitemap: directive in /robots.txt, (2) the standard /sitemap.xml path, (3) the /sitemap_index.xml path. We fetch each one, detect if it's a sitemap index (contains <sitemapindex>), and recursively follow every child <sitemap> entry. The final URL list is the union of all <loc> entries across every child sitemap, with duplicates removed. Most CMS platforms (WordPress, Shopify, Wix, Webflow) generate one of these automatically.
Almost never exactly, and that's actually useful. Our count = URLs declared in your sitemaps (what you told search engines to consider). Google's index count = URLs Google chose to actually index (which may be less — thin content, duplicates, noindex directives, crawl blocks — or more — pages Google discovered through links but weren't in your sitemap). The gap between the two numbers is one of the most useful things to investigate in a technical SEO audit. If sitemap count is 500 and indexed is 120, 380 URLs are being excluded — check Google Search Console's Pages report for why.
We can't count pages on a site with no sitemap — there's no authoritative list of URLs to read from. The tool will tell you so explicitly. The fix: most modern CMSes (WordPress via Yoast/RankMath, Shopify, Wix, Squarespace, Webflow) generate a sitemap automatically. If yours doesn't, install a sitemap plugin or generate one via a static-site generator plugin, then run the counter again. XML sitemaps are a foundational SEO best practice — they help search engines discover every page on your site, especially new ones that don't have inbound links yet.
Yes — the per-directory breakdown groups all discovered URLs by their top-level path (everything after the domain, up to the second slash). For example, /blog/, /blog/seo/, /products/, /docs/api/ would each get their own row with a count. The full deduplicated URL list is also shown below the breakdown, with a copy-to-clipboard button. For a 50,000-page e-commerce site, expect the per-directory view to surface categories you forgot you had — common finding during site audits.
Free, yes — 5 checks per hour per IP, no signup, no daily limit, no email gate. Privacy, mostly: the domain you enter and the fetched sitemaps pass through our Vercel serverless endpoint. We don't log request bodies, don't store the sitemap contents, and don't use them for training any AI model. The in-memory rate-limit counter is the only state kept, and it resets on cold start. If you want to verify, open DevTools → Network while using it: only one POST to /api/website-page-counter/count leaves your browser, returning the structured breakdown.
More free tools
Free, no signup required. Built by the team behind SERPView.
Google SERP Simulator Tool
Simulate exactly how your page appears in Google search results. Live SERP preview with title, URL, and description — plus character and pixel-width warnings before you publish.
Meta Description Generator
Generate 5 AI meta description variants from your page title. See the live SERP preview and copy the winner to your CMS.
Want this automated across your whole site?
SERPView monitors title tags, meta descriptions, and structured data for every URL — alerting you the moment something breaks or could be improved.
Get started free