🗺️

Sitemap Generator

Generate XML sitemaps from a list of URLs

87 visits

Sitemap Generator turns a list of your page URLs into a valid XML sitemap file — the format search engines use to discover and prioritize your pages — without hand-writing the XML schema yourself.

Enter JSON: {"urls": [{"loc": "https://example.com/"}]}

How to use Sitemap Generator

  1. 1

    Paste in the list of URLs you want included, one per line.

  2. 2

    Set change frequency and priority if you want to hint at how often pages update.

  3. 3

    Review the generated XML in the preview.

  4. 4

    Download sitemap.xml and upload it to your site's root, then reference it in robots.txt.

Everything you need to know about XML sitemaps

What is an XML sitemap?

An XML sitemap is a structured file listing a site's pages, so search engines can discover them efficiently rather than relying purely on following links from page to page. It's especially useful for large sites, new sites with few external links pointing in yet, and pages that aren't well-connected through internal navigation.

What a sitemap does — and doesn't — guarantee

A sitemap helps search engines discover pages faster and understand the site's structure — it does not guarantee those pages get indexed or rank well. Indexing still depends on content quality, crawl budget, and whether the page is actually worth showing in search results. Think of it as making pages easier to find, not a fast-track to ranking.

What each field actually influences

FieldGoogle's actual usage
lastmodUsed as a genuine freshness signal — keep it accurate, don't fake it
changefreqGoogle has said it's mostly ignored today
priorityAlso mostly ignored — relative priority within your own site, not compared across sites

Sitemap vs. robots.txt — complementary, not competing

robots.txt controls what crawlers are *allowed* to crawl; a sitemap tells them what exists and where to find it. Reference your sitemap's URL directly in robots.txt (`Sitemap: https://yoursite.com/sitemap.xml`) so both work together — a crawler that respects robots.txt will also pick up the sitemap reference from the same file.

After generating: submit it

Generating the file is only half the job — submit it directly in Google Search Console and Bing Webmaster Tools for faster discovery, in addition to referencing it in robots.txt. A sitemap that's valid but never submitted anywhere still works, just more slowly, since crawlers eventually find it via robots.txt on their own schedule.

Frequently Asked Questions

Does a sitemap guarantee my pages get indexed?

No — it helps search engines discover pages faster and understand your site structure, but indexing still depends on content quality and crawl budget.

How many URLs can one sitemap hold?

The spec allows up to 50,000 URLs per file; larger sites split into multiple sitemaps referenced by a sitemap index file.

Where should I submit my sitemap?

Reference it in robots.txt and submit it directly in Google Search Console and Bing Webmaster Tools for faster discovery.

Do I need to regenerate it every time I add a page?

Yes, ideally — or use a dynamically-generated sitemap on your site so it always reflects your current pages automatically.

Do changefreq and priority actually matter to Google?

Google has said it mostly ignores both today — lastmod is the field it actually uses as a freshness signal, so keep that one accurate rather than fabricated.

How does a sitemap relate to robots.txt?

They're complementary: robots.txt controls what crawlers are allowed to crawl, while a sitemap tells them what exists and where to find it. Reference your sitemap's URL directly inside robots.txt so both work together.