Want a deeper walkthrough of sitemap indexes, WordPress’s /wp-sitemap.xml, and SEO checks in general? Our Sitemap Link Counter guide pairs with this free Sitemap Link Counter and covers how to audit totals, spot missing sections, and export the URL list.
What this tool does
A sitemap is an XML file listing the pages you want search engines to find. A plain urlset lists page URLs directly, while a sitemap index points to several child sitemaps covering posts, pages, custom types, or taxonomies. Counting those links by hand is slow and easy to get wrong, especially on WordPress sites where the core sitemap splits into a pile of files.
This counter fetches your public sitemap, follows any nested index files, adds up every <loc>, and lets you open the full list with a one-click Copy all. Nothing sticks around on ShoutingNow once the request finishes.
How to count sitemap links
- Paste your sitemap URL: typically
https://yoursite.com/sitemap.xmlorhttps://yoursite.com/wp-sitemap.xml. - Click Count links: we fetch the XML server-side (so CORS does not block you) and parse urlset or sitemapindex roots.
- Review the total: see Total URLs plus a breakdown by child sitemap when you submitted an index.
- Open View list: scroll the full URL list, then use Copy all to put every link on your clipboard in one go.
- Optional: expand “Paste sitemap XML” if the URL cannot be fetched from your network and count from raw XML instead.
What gets counted
| Sitemap type | What we count | Notes |
|---|---|---|
URL set (urlset) |
Every <loc> under <url> |
Standard page / image / video sitemaps that list locations. |
| Sitemap index | Sum of locs across child sitemaps | Child files are followed recursively (with safe depth and size limits). |
| WordPress core sitemap | Posts, pages, CPTs, taxonomies, users | Works with /wp-sitemap.xml and its child XML files. |
| Gzipped sitemaps | Same as uncompressed | Supported when the response is gzip or the URL ends in .xml.gz. |
When a sitemap counter helps
- SEO audits: confirm Google Search Console coverage matches what you publish.
- Migration checks: compare URL counts before and after a CMS move.
- Content inventory: export every loc for spreadsheets, QA, or internal linking reviews.
- Debugging indexes: spot a child sitemap that returns zero or errors while others look fine.
Tips for accurate counts
- Prefer the index URL when your site splits sitemaps, counting only one child undercounts the site.
- If a host blocks remote fetches, paste the XML from your browser’s View Source and use Count pasted XML.
- Very large indexes may truncate the printable list for performance; the total still reflects every URL counted within safe limits.
- Private or localhost URLs cannot be fetched from our servers (SSRF protection).
Privacy and disclaimer
We only request your public sitemap long enough to count it and return the list for your session, and ShoutingNow keeps no permanent copy of your URLs afterward. Counts reflect whatever the sitemap actually exposes, so a page missing from the sitemap will not show up here either. Always verify anything SEO-critical in Search Console and your own CMS.
Learn more
Read our step-by-step guide: Sitemap Link Counter Guide.