Skip to content
πŸ—ΊοΈ

XML Sitemap Generator

Generate an XML sitemap by crawling links from a starting URL.

Uses our server

Updated

Crawling a site into a URL list

Give the page a starting address and a crawl depth of 1, 2 or 3 (depth 2 is preselected) and the server fetches that URL, extracts every anchor href, and keeps only links pointing at the same scheme and host. Each accepted address is stored without its fragment and queued for the next level until the depth limit is reached. The result arrives in a read-only textarea ready to copy.

A worked example

Submitting https://example.com at depth 2 fetches the homepage, records its internal links, then fetches those pages and records theirs, but stops before a third level. A link to another domain is set aside as external, and /pricing#plans is written as /pricing so anchor variants collapse into one entry.

What the output actually contains

The document opens with the standard XML declaration, announced as <?xml version 1.0 encoding UTF-8, and wraps the list in a urlset element. Each page is a single block holding one <loc> child with the escaped address. Nothing else is emitted: there are no lastmod dates, no changefreq hints and no priority weights, which keeps the file small and valid but leaves freshness to be inferred by crawlers. A header line above the textarea states the URL count. Confirm the file parses with a sitemap reader, advertise it through a robots.txt generator, and clear stale addresses with a broken link checker.

Where it stops

  • A hard ceiling of 100 URLs applies, so larger sites come back truncated.
  • Only anchor hrefs are parsed, so menus rendered by JavaScript are invisible to the crawl.
  • Their host and scheme must match the start exactly, meaning www and bare hostnames are treated as different sites.
  • Pages that fail to fetch or redirect beyond the limit are skipped rather than reported in the sitemap.
  • Subpages must be reachable by link from the start URL; orphaned pages are never found.

Questions people ask

Where do I put the file?

Upload it to your web root and reference it in robots.txt so crawlers can locate it.

Does it check that the URLs work?

It records what it successfully fetched, but it does not audit status codes afterwards.