Summary
The free XML sitemap generator crawls your site like a search engine, from the address you enter and through internal links, and keeps only the pages that can be indexed: it leaves out redirects, errors, noindex pages, pages whose canonical points elsewhere and URLs blocked by robots.txt. You get a ready sitemap.xml to copy or download, with a lastmod date when your server provides one, and the list of pages left out with the reason. The free version stops at 50 pages.
Want to go further? Ask
An XML sitemap generator saves you from the most common sitemap mistake: listing pages that Google should not index. A sitemap tells search engines which URLs you want to see in search results, and Google uses it to discover pages it might otherwise miss (Google, what is a sitemap). A file full of redirects and duplicates sends the opposite message.
How does the XML sitemap generator work?
Enter your site address. The tool crawls for up to about 30 seconds, six pages at a time, and applies the same filters a careful SEO would.
| Step | What the tool does |
|---|---|
| Start | Reads the start page, follows its redirects and reads your robots.txt |
| Follow links | Follows internal links on the same host, except nofollow links |
| Skip noise | Ignores files (images, PDF, CSS, JS), tracking and sorting parameters (utm, gclid, sort, filter) and cart, checkout, login, account and search pages |
| Respect robots.txt | Does not crawl URLs that Googlebot is not allowed to crawl |
| Check each page | Keeps HTML pages that answer 200, are not noindex and have no canonical pointing to another URL |
| Write the file | Lists each kept URL with its lastmod date when the server sends a Last-Modified header |
The report shows four tiles (pages kept, pages excluded, noindex or duplicate, errors), the sitemap.xml with Copy and Download buttons, and a table of the pages left out with the reason: noindex, canonical elsewhere, redirect, error, unreachable or blocked by robots.txt. That table is often the most useful part: it is a free indexability audit of the pages it reached.
What does a valid XML sitemap contain?
The format is defined by the sitemaps.org protocol, supported by Google, Bing and the other major search engines. The generated file follows it exactly:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/pricing</loc>
<lastmod>2026-09-30</lastmod>
</url>
</urlset>| Rule | Value | Source |
|---|---|---|
| Maximum URLs per sitemap | 50,000 | sitemaps.org |
| Maximum file size | 50 MB uncompressed (52,428,800 bytes) | sitemaps.org |
| More URLs | Split into several sitemaps listed in a sitemap index | sitemaps.org |
| Encoding | UTF-8 | |
| URLs | Full absolute URLs, the ones you want in search results | |
| priority and changefreq | Ignored by Google | |
| lastmod | Used if consistently and verifiably accurate |
Sources: sitemaps.org protocol and Google, build and submit a sitemap. That is why the generator writes no priority or changefreq: they add size without effect on Google.

Which pages should be in your sitemap?
Only the canonical URLs you want to appear in search results. Google generally shows canonical URLs and says you can influence which ones with your sitemap. In practice:
- Include pages that answer 200, are indexable and are the preferred version of their content.
- Leave out redirected URLs, error pages, noindex pages, filtered or sorted versions, internal search results, cart and account pages.
- Pick one version of each page: https, with or without www, with or without a trailing slash, the same everywhere.
When a page you expected is missing from the file, read its reason in the exclusion table, then check it with the indexability checker or the canonical checker. For the vocabulary, see our glossary entry on the XML sitemap.
How do you submit your sitemap to Google?
- Upload sitemap.xml to the root of your site, so it answers at https://example.com/sitemap.xml. A sitemap at the root can cover every page of the site.
- Declare it in robots.txt with a line
Sitemap: https://example.com/sitemap.xml. Any crawler that reads robots.txt will find it. The robots.txt generator adds the line for you. - Submit it in Search Console, in the Sitemaps report, to see when Google read it and whether it found errors.
- Check it with the sitemap checker, which reads the live file and flags format problems.
Two points are often misunderstood. Submitting a sitemap is a hint, not a guarantee that Google will crawl or index every URL. And the old "ping" URL no longer works: Google retired the sitemaps ping endpoint in 2023, and requests to it now return a 404 (Google Search Central blog, 2023). Use robots.txt and Search Console instead.

What if your site has more than 50,000 URLs?
Split the URLs into several sitemap files, each under 50,000 URLs and 50 MB, and list them in a sitemap index file, which follows the same protocol. Group the files by type (products, categories, articles) so that Search Console reports indexing per group, which makes problems easier to locate. You can declare each file, or only the index, in robots.txt. Large sites usually generate these files from their database or CMS rather than by crawling, because a crawl only finds what is linked.
Does every site need an XML sitemap?
Not always, but it rarely hurts. Google lists the cases where a sitemap helps most and those where you may not need one.
| You probably need one if | You may not need one if |
|---|---|
| Your site is large, so some pages are not linked from anywhere | Your site is small: about 500 pages or fewer that should be in search results |
| Your site is new and has few external links | Every important page can be reached by links from the home page |
| You have many videos, images or news articles | You have few media files or news pages to show in search |
Even on a small site, a sitemap gives you a list of what you consider indexable, which Search Console compares with what Google actually indexed. That comparison is often where indexing problems show up first.
What are the limits of the free generator?
- 50 pages. The free version stops there and tells you when the site has more. Sites with hundreds of pages need a sitemap produced by the CMS or a full crawler.
- Linked pages only. A page with no internal link pointing to it (an orphan page) cannot be found by crawling. Add links to it, or list it by hand.
- No JavaScript. Like the URL extractor, the tool reads the HTML and does not follow links added by scripts after loading.
- lastmod depends on your server. Without a Last-Modified header, the file has no dates. Do not add fake ones: Google only uses lastmod if it is accurate.
- A snapshot. The file is correct the day you generate it. Every new page means a new version, unless your CMS updates it for you.
How do you keep your sitemap up to date automatically?
Let your publishing tool update it. A sitemap that follows each new page is better than a perfect file generated once a year.
- Publish on a schedule with the Sorank blog planner, which posts your articles on autopilot.
- Write articles with internal links built in with the blog article generator, so no new page ends up orphaned.
- Watch indexing and clicks page by page in the GEO and SEO dashboard, which brings Search Console into the same view as your AI visibility.
For a step-by-step guide to generators and CMS plugins, read our article on sitemap generators. A clean sitemap lists only the pages you want indexed, and nothing else. Generate yours above, submit it in Search Console, then see the Sorank plans to publish and index new pages on autopilot.
































































































