ZeroFee Tools

Home › Blog › Free XML Sitemap Generator for Google

XML Sitemap Generator guide cover illustration

Turn a URL List Into a Search-Ready XML Sitemap

Search engines cannot rank pages they cannot find, and on a new or restructured site, discovery is the bottleneck. An XML sitemap hands Google a machine-readable list of your pages so nothing important waits months to be crawled. The XML Sitemap Generator turns a plain URL list into a valid sitemap in one click: paste one URL per line, and invalid entries are detected and skipped automatically with a clear report. Full protocol controls for lastmod, changefreq, and priority are included, and the output is properly escaped XML ready to upload as sitemap.xml.

Owners of static sites without a CMS plugin use it to stay indexed, developers generate sitemaps during launches and migrations, and SEOs rebuild sitemaps after site restructures. Upload the file to your domain root and submit it in Google Search Console, then reference it from the file built by the robots.txt generator. Clean URLs make cleaner sitemaps, so tidy them first with the URL slug cleaner and tracking URL cleaner.

What is an XML sitemap and does your site need one?

An XML sitemap is a machine-readable list of your site's pages that helps search engines discover and crawl them efficiently. It lists each URL with optional hints: lastmod (when it changed), changefreq (how often), and priority (relative importance).

A sitemap is a discovery aid, not a ranking tool. It lists each URL with optional hints: lastmod says when the page last changed, changefreq says how often it tends to change, and priority says how important the page is relative to the rest of your site. Crawlers use these hints to schedule their visits efficiently instead of guessing.

Every site benefits, but some need sitemaps more urgently. Brand-new sites with few inbound links get discovered faster with a sitemap submitted in Search Console. Large sites with deep page hierarchies use sitemaps to surface pages that internal linking buries. And sites with frequently updated content, like news or job boards, use lastmod to prompt recrawls. Keep each file within the protocol limits: 50,000 URLs or 50 MB uncompressed, using a sitemap index for anything larger.

Image and video sitemaps extend the same idea to media. The standard sitemap covers page URLs, but dedicated extensions tell Google about images and videos that JavaScript galleries might hide from crawlers. For media-heavy sites, those extensions recover discovery that the basic page list misses.

How do you submit a sitemap to Google?

Upload sitemap.xml to your domain root, then open Google Search Console, go to Sitemaps in the left menu, and enter the sitemap URL. Google will fetch it and report how many URLs were discovered, and the coverage report afterward shows which pages actually got indexed.

Submission takes two minutes. Upload sitemap.xml to your domain root so it lives at example.com/sitemap.xml, then open Google Search Console, choose Sitemaps from the left menu, and enter the sitemap URL. Google fetches it and reports how many URLs were discovered, which usually happens within a day.

The real value comes after submission, in the coverage report. If pages show as "Discovered - currently not indexed", the sitemap did its job of discovery and the bottleneck is elsewhere: those pages typically need stronger internal links or better content before Google will index them. You can also reference the sitemap in robots.txt so crawlers find it even without a Search Console submission.

Timing matters after big changes. Submit a fresh sitemap immediately after launches, migrations, and bulk publishing rather than waiting for the next scheduled crawl. The submission is a direct notification to Google that something changed, which shortens the gap between publishing and discovery.

What should changefreq and priority be?

Set changefreq to match reality: daily for news, weekly for blogs, monthly for static pages. Priority is relative within your own site (1.0 for the homepage, lower for archives) and does not boost you above competitors. Keep lastmod accurate, since it is the strongest recrawl signal.

Changefreq should describe reality, not aspiration. Set it to daily for news sections that genuinely update every day, weekly for blogs with a regular publishing rhythm, and monthly or yearly for static pages that rarely change. Crawlers treat wildly optimistic values as noise, so honesty produces better crawl scheduling than claiming everything changes hourly.

Priority is relative within your own site, not a lever against competitors. Give the homepage 1.0, key landing pages 0.8, regular articles 0.5, and archives or tag pages 0.3 or lower. It does not boost you above rival sites; it only tells crawlers which of your pages deserve attention first when crawl budget is limited. Lastmod matters most of the three: an accurate lastmod date is the strongest prompt for a recrawl after you update a page.

How to use the XML Sitemap Generator in 4 steps

  1. Paste your page URLs. Enter one URL per line; invalid entries are detected and skipped with a clear report.
  2. Set lastmod, changefreq, and priority. Adjust the protocol hints to match how each page actually behaves.
  3. Generate and review the XML. Click generate and check that the output looks correct and complete.
  4. Download, upload, and submit. Save sitemap.xml, upload it to your domain root, and submit it in Search Console.

6 practical tips for sitemaps that work

Frequently asked questions

Is the XML sitemap generator free?

Yes. It is free and unlimited with no signup. Turn as many URL lists into sitemaps as you like, with full control over lastmod, changefreq, and priority.

How do I submit a sitemap to Google?

Upload sitemap.xml to your domain root, then open Google Search Console, go to Sitemaps in the left menu, and enter the sitemap URL. Google will fetch it and report how many URLs were discovered. You can also reference it in robots.txt.

What format should my URL list be in?

Paste one URL per line. Invalid entries are detected and skipped automatically, with a clear report showing which lines were dropped.

Is there a limit to how many URLs a sitemap can hold?

Keep sitemaps to 50,000 URLs or 50 MB uncompressed per file. Larger sites should use a sitemap index that lists multiple sitemap files.

What should changefreq and priority be?

Set changefreq to match reality: daily for news, weekly for blogs, monthly for static pages. Priority is relative within your own site, with 1.0 for the homepage and lower for archives; it does not boost you above competitors.

Is my URL list sent to a server?

No. Everything runs in your browser, so your URL list is never uploaded or stored anywhere.

Ready to try it yourself? It's free, no signup required.

Try the free XML Sitemap Generator →