Free tool, no signup required

XML Sitemap Generator

Enter any URL. The crawler follows your internal links, collects up to 100 pages, and builds a sitemap.xml you can download and submit straight to Search Console.

3 checks remaining today (free)

Short answer

An XML sitemap is a file listing the pages on your site you want search engines to know about, so they can be discovered without following links to reach them. This generator starts at a URL you give it, follows internal links breadth-first the way a crawler does, and writes a sitemap.xml that follows the sitemaps.org protocol. The free crawl stops at 100 pages or 45 seconds and tells you how many URLs it saw versus how many it reached, so you always know whether the file is complete or partial.

What this sitemap generator actually does

It starts at your homepage and follows internal links, breadth first, the same way a search engine crawler does. Every page it reaches is recorded with its crawl depth and its Last-Modified header, then written into a sitemap.xml that follows the sitemaps.org protocol.

  • Same-host only. Links to other domains are ignored, because a sitemap may only list URLs on the host it is served from.
  • robots.txt aware. Disallowed paths are skipped and counted, so you never ship a sitemap that contradicts your own crawl rules.
  • Fragments stripped. A link to /pricing#faq is the same page as /pricing, so it appears once.
  • Assets excluded. Images, stylesheets, scripts, PDFs, and feeds are filtered out by extension.
  • Depth-based priority. The homepage gets 1.0, and each level down drops by 0.2 to a floor of 0.1.
  • Bounded and honest. The crawl stops at 100 pages or 45 seconds, and the result reports how many URLs it saw versus how many it crawled.

What it does not do

This is a one-shot crawler running inside a web request, so it has real limits worth knowing before you rely on the output.

  • It does not execute JavaScript, so links rendered only by a client-side router are invisible to it.
  • It does not find orphan pages. A page nothing links to cannot be reached by following links.
  • It does not paginate past 100 URLs, so large sites get a partial file rather than a complete one.
  • It does not stay up to date. The file is a snapshot of the moment you ran it.

Worth knowing

If your CMS already generates a sitemap, use this tool to audit it rather than to replace it. Compare what the crawler finds against what your sitemap declares, and the gap between the two is usually where the interesting problems live.

How to generate and submit a sitemap

  1. 01

    Run the crawl

    Paste your homepage URL and press Generate Sitemap. Leave the protocol off if you like, the tool assumes https.

  2. 02

    Choose your fields

    Keep lastmod on. Switch changefreq and priority off if you only care about Google, which ignores both.

  3. 03

    Check the URL list

    Scan the table under the XML. If pages are missing, they are probably reachable only through JavaScript navigation or not linked at all.

  4. 04

    Download the file

    Save the XML and upload it to your web root so it resolves at yoursite.com/sitemap.xml.

  5. 05

    Declare it in robots.txt

    Add a line reading Sitemap: https://yoursite.com/sitemap.xml. Crawlers other than Google depend on this to find it.

  6. 06

    Submit it in Search Console

    Open Indexing, then Sitemaps, and enter the path. Google reports parse errors and indexed counts there within a few days.

The mistakes that make a sitemap worthless

A sitemap is a trust signal as much as a discovery mechanism. Google decides how seriously to take yours based on whether the URLs inside it hold up, and a file full of contradictions gets crawled less and less often.

  • Dead URLs. Entries returning 404 or 410 tell Google the file is stale and unmaintained.
  • Redirects. A sitemap should list final destinations only, never URLs that bounce somewhere else.
  • noindex pages. Listing a page you have told Google not to index is a direct contradiction.
  • Canonicalised pages. If a page names a different URL as canonical, the sitemap entry is not the version that will be indexed.
  • Mixed protocols or hosts. A sitemap on https may only list https URLs on the same hostname.
  • Invented lastmod dates. A build process that stamps every URL with today loses you the field entirely, because Google learns to ignore it.

Our sitemap crawler checks every URL in an existing sitemap for exactly these problems, and the sitemap validator checks the file itself against the protocol.

Sitemap limits and formats

The sitemaps.org protocol sets two hard ceilings, and hitting either one means splitting your file.

  • 50,000 URLs per sitemap file, counted per file rather than per site.
  • 50MB uncompressed per file, which almost always binds later than the URL count.
  • Gzip is allowed. A sitemap.xml.gz counts against the uncompressed size, not the compressed one.
  • Above either limit, split into several sitemaps and list them in a sitemap index file.
  • A sitemap index may itself point to 50,000 sitemaps, which is more headroom than any real site needs.

Sitemap index files

Large sites usually ship a sitemap index at /sitemap_index.xml or /sitemap.xml that points at several child sitemaps split by content type, such as posts, pages, and products. WordPress with Yoast does this by default. Our extractor and validator both follow index files down through their children automatically. Splitting a sitemap is one of the first things that changes once a site passes a few thousand URLs, and the rest of what changes is in the enterprise SEO audit guide.

Sitemap fields, and which ones Google reads

The sitemaps.org protocol defines four fields per URL. Google reads two of them and ignores the other two, which it has said publicly. They stay in the tool because other crawlers and CMS integrations still read them.

FieldRequiredDoes Google use it?What to do
locYesYesThe absolute URL, on the same host as the sitemap, entity-escaped
lastmodNoYes, when it is trustworthyW3C datetime. Only set it when the page really changed
changefreqNoNoSafe to omit. Google has said it ignores it
priorityNoNoSafe to omit. It never affected ranking, only relative crawl hints

The one that can hurt you

lastmod. Google uses it when it believes it, and stops using it entirely once it sees dates that do not match what changed. A build process stamping every URL with today costs you the field for the whole site.

Frequently asked questions

What is an XML sitemap?

An XML sitemap is a file that lists the pages on your site you want search engines to know about. Each entry holds a URL and, optionally, when it last changed. Google, Bing, and AI crawlers read it to discover pages they might not reach by following links alone.

How many pages does this free sitemap generator crawl?

Up to 100 pages per run, with a 45 second crawl budget. If your site is larger, the tool tells you how many URLs it discovered versus how many it managed to crawl, so you know the sitemap is partial. Sites above 100 pages need a full crawler rather than a browser tool.

Where do I put the sitemap file once I have downloaded it?

Upload it to the root of your site so it resolves at yoursite.com/sitemap.xml. Then add a Sitemap line to your robots.txt pointing at that URL, and submit it in Google Search Console under Indexing, then Sitemaps.

Does the generator respect robots.txt?

Yes. Any path your robots.txt disallows is skipped, and the result tells you how many URLs were skipped for that reason. A page blocked in robots.txt should not be in your sitemap, because that combination sends crawlers two conflicting instructions.

Should I include changefreq and priority?

Google has publicly said it ignores both. They stay in the tool because some other crawlers and CMS integrations still read them, and because the sitemaps.org protocol allows them. If you only care about Google, switch both off and keep lastmod.

How is lastmod worked out?

The crawler reads the Last-Modified response header for each page. Where a server does not send one, the entry falls back to today's date. Accurate lastmod values matter: Google stops trusting the field entirely if it sees dates that do not match what actually changed.

Do I need a new sitemap every time I publish?

Yes, unless your CMS generates one automatically. A static file goes stale the moment you add a page. WordPress, Shopify, Webflow, and most modern frameworks generate sitemaps for you, so this tool is most useful for hand-built sites and for auditing what a generated sitemap actually contains.

Is the generated file valid?

It follows the sitemaps.org 0.9 schema: an XML declaration, the correct namespace, absolute URLs, and properly escaped entities. You can confirm it by feeding the downloaded file back through our sitemap validator.

Do I need a sitemap at all?

If every page on your site is reachable by following links from the homepage and the site is small, Google will find everything without one. Sitemaps earn their keep on large sites, on sites with pages that are poorly linked internally, and on new sites with few inbound links, where discovery is genuinely slow.

Will a sitemap get my pages indexed?

No. A sitemap helps with discovery, which is a separate question from indexing. Google decides whether a page is worth indexing after it has crawled it, and a sitemap does not influence that decision. Pages that stay unindexed after being crawled have a quality or duplication problem, not a discovery one.

Should the sitemap include images and videos?

Only if image or video search matters to you. Image and video sitemap extensions exist and Google supports them, but they add maintenance for a benefit most sites never measure. Get the page sitemap right first.

Read up on sitemaps

A tool tells you what is wrong. These explain what to do about it.

Terms this tool checks

  • XML Sitemap

    An XML sitemap is a file (typically at /sitemap.xml) that lists all the important URLs on your website along with metadata like last modification date, change frequency, and priority.

  • Indexation

    Indexation is the process by which search engines add web pages to their searchable database (index).

  • Crawl Budget

    Crawl budget is the number of pages a search engine will crawl on your site within a given timeframe, determined by crawl rate limit (how fast Googlebot can crawl without overloading your server) and crawl demand (how much Google wants to crawl based on popularity and freshness).

  • Orphan Page

    An orphan page is a page on your website that has no internal links pointing to it from any other page.

Bigger than 100 pages?

CrawlRaven crawls your whole site, then joins the crawl to your Search Console and GA4 data so you can see which sitemap URLs actually earn impressions and which ones never get indexed.