Technical SEO & Indexing • 11 min read

How to Create an XML Sitemap with a Free Sitemap Generator

Create a valid XML sitemap in minutes with a free generator: paste your URLs, set priority and lastmod, download the file, and submit it to Google.

By SEO Free Editorial Team
Published: November 26, 2026
XML sitemap generator guide — paste URLs, set priority and lastmod, download a valid sitemap.xml, on SEO Free

An XML sitemap is the inventory list you hand to Google and Bing: every canonical, indexable page on your site, in one file, with the date each page last changed. Without one, search engines have to discover your pages by following links alone — and new pages, deep product pages, and fresh blog posts can wait days or weeks to be found. With one, you tell crawlers exactly where to look.

Writing that file by hand is slow and error-prone. One unescaped ampersand, one missing closing tag, and the whole file is rejected. A free XML sitemap generator does the formatting for you: you supply the list of URLs, choose a few settings, and it produces valid, standards-compliant XML you can download and upload in minutes. This guide walks through the whole process using the free XML sitemap generator on SEO Free — from building a clean URL list to submitting the finished file in Google Search Console.

How an XML Sitemap Generator Works

A sitemap generator is a formatter, not a crawler. You give it a list of URLs and it wraps each one in the standard sitemap structure defined by the Sitemaps.org 0.9 protocol: a <urlset> container holding one <url> entry per page, each with a <loc> (the page URL), a <lastmod> (the date it last changed), a <changefreq> (how often it changes), and a <priority> (how important it is relative to your other pages).

The SEO Free generator works entirely in your browser. It normalises the URLs you paste — enforcing clean absolute HTTPS addresses and W3C date formatting (YYYY-MM-DD) — and produces a downloadable sitemap.xml file. What it deliberately does not do is crawl your website: it cannot discover pages for you, and it cannot confirm that each pasted URL actually returns a 200 status. That is your job before you paste, and it is the step that separates a sitemap Google trusts from one it quietly ignores.

Understanding that split matters. The generator guarantees the file is valid XML. You guarantee the list inside it is worth crawling. Both halves have to be right.

How to Create an XML Sitemap with the Free Generator

Follow these steps in order. The whole process takes about ten minutes for a small site and under an hour for a large one, most of it spent cleaning the URL list.

  1. Build your clean URL list first. Open a spreadsheet or text file and list every page you want Google to index: your homepage, key landing pages, product and category pages, and blog posts. Include only pages that return a 200 status, are the canonical version of themselves, and are indexable. Leave out anything that redirects (301), returns a 404, carries a noindex directive, or is blocked by robots.txt. A sitemap full of dead or redirected URLs teaches Google to distrust the file.
  2. Deduplicate the list. Pasted lists often contain the same page twice in disguise — once with a trailing slash and once without, or with different letter casing. Each variant looks like a separate URL to a generator, but search engines treat them as duplicates competing for the same slot. Sort the list, keep only the exact canonical form of every URL, and generate once from the clean list.
  3. Open the generator and paste your URLs. Go to the XML sitemap generator and paste your list into the URL box, one URL per line. You can also enter your website domain instead of a full list. Check that every line starts with https:// and contains no spaces or relative paths — the tool enforces absolute URLs, but catching a typo here is cheaper than fixing a rejected file later.
  4. Set the change frequency. Choose the default changefreq that matches how often most of your pages change: daily for a news site or active blog, weekly for a typical business site, monthly for mostly static pages. Be honest here — Google has said it largely ignores changefreq and relies on lastmod plus its own crawl observations, so this setting is mainly a hint for other engines. Never expect it to control crawl timing.
  5. Set the default priority. Pick a default priority between 0.1 and 1.0. A sensible scale is 1.0 for the homepage, 0.8 for key landing and category pages, 0.6–0.7 for blog posts and product pages, and 0.3–0.5 for old archive or utility pages. Priority is relative — it ranks your pages against each other, not against other websites — and Google primarily uses lastmod rather than priority, so treat it as a rough ordering, not a ranking lever.
  6. Choose the lastmod setting. Tick the option to include the current date as <lastmod> in W3C Datetime format. This is the one field Google actually watches — but only when it is honest. Set lastmod to the date a page's content genuinely changed in a meaningful way. If every URL carries today's date after a trivial footer edit, crawlers quickly learn to ignore your lastmod values altogether, and you lose the faster recrawling that accurate dates would have earned you.
  7. Click "Generate XML Sitemap". The tool builds the file instantly in your browser. Review the output: each URL should appear once, inside its own <url> block, with loc, lastmod, changefreq, and priority nodes in the right order. If anything looks wrong — a duplicated URL, a http:// address that slipped through — fix the list and generate again.
  8. Validate the output before you trust it. Run the finished file through the free sitemap validator to catch XML syntax errors, unescaped characters, and bad dates. If you want a deeper checklist, read our guide on how to validate an XML sitemap and fix errors before submitting it. A file that fails validation is rejected outright by Search Console, so this two-minute check saves a wasted submission.
  9. Download and upload the file. Download the generated sitemap.xml and upload it to the root of your domain, so it is reachable at https://yourdomain.com/sitemap.xml. That is the conventional location crawlers check first, and it is the address you will submit in Search Console.
  10. Submit it in Google Search Console. In Search Console, go to Indexing > Sitemaps, enter sitemap.xml, and click Submit. Then, over the following days, watch the Sitemaps report and the Pages report to confirm your URLs move from Discovered to Indexed. Submission is a request, not a guarantee — indexing still depends on content quality, originality, and your site's authority.

Tips for a Clean, High-Trust Sitemap

A sitemap is a trust signal. Google compares what you declare against what it observes when crawling, and a file that consistently tells the truth earns faster recrawls. These habits keep it trustworthy:

  • Only indexable pages, ever. Every URL in the file should return 200, be canonical, and be allowed by robots.txt. One bad entry does not ruin the file, but a pattern of them does.
  • Keep lastmod honest. Update it only when a page's content genuinely changes. Never stamp the whole file with today's date after a site-wide template tweak.
  • Use absolute HTTPS URLs. Relative paths are invalid in a sitemap. Every <loc> must be a complete https:// address, matching the canonical version of the page.
  • Regenerate when you publish. A sitemap should update whenever new content is published, updated, or removed. The simplest workflow is to regenerate the file after each publish and re-upload it — stale sitemaps that omit new posts defeat their own purpose.
  • Split large sites by section. When your URL list grows past a few thousand entries, generate one sitemap per section — sitemap-pages.xml, sitemap-products.xml, sitemap-blog.xml — and reference them all from a sitemap index file. Each child keeps its own lastmod, so regenerating only the blog file after publishing new posts lets search engines see exactly which section changed instead of reprocessing your entire inventory.
  • Declare it in robots.txt too. Adding a Sitemap: line pointing at your sitemap URL in robots.txt gives crawlers a second discovery path, independent of Search Console.

Common Problems and How to Fix Them

Most sitemap failures come from the list, not the generator. Here are the ones that appear most often in Search Console, and the fix for each:

  • "Sitemap could not be read" or a parsing error. The XML is malformed — usually an unescaped & in a URL, a missing closing tag, or an invalid date. Run the file through the sitemap validator, fix the flagged lines, and resubmit. Never edit generated XML by hand without re-validating it.
  • URLs sit in "Discovered — currently not indexed". Submission only asks Google to crawl; it does not promise indexing. Thin, duplicated, or low-value pages are routinely discovered and then skipped. Improve the pages themselves — this is a content problem, not a sitemap problem.
  • Redirected or 404 URLs in the file. Your list went stale. Remove the dead URLs, regenerate, and re-upload. Spot-check important URLs before every submission, because this generator formats what you supply and cannot verify status codes for you.
  • You hit the size limit. A single sitemap file is limited to 50,000 URLs and 50 MB uncompressed. If your list approaches that, split it into section-based child sitemaps and generate a sitemap index file that references each one. A store with 62,000 URLs, for example, can split into sitemap-products.xml, sitemap-blog.xml, and sitemap-pages.xml and stay comfortably under the limit.
  • Lastmod is ignored. If every URL carries the same recent date regardless of when it actually changed, Google stops trusting the field. Restore accurate dates and keep them accurate — trust is rebuilt slowly, one honest regeneration at a time.
  • You regenerated the file but forgot the index. If you use a sitemap index, resubmitting a child file alone is not enough: the index file itself must be submitted (or re-read) for Google to notice the new child. Submit the index URL in Search Console and confirm the child count updates.

Frequently Asked Questions

What is an XML sitemap generator?

An XML sitemap generator is a tool that turns a list of your website's URLs into a valid XML sitemap file. It wraps each URL in the standard Sitemaps.org 0.9 structure — loc, lastmod, changefreq, and priority — so you can download the file, upload it to your domain root, and submit it to Google Search Console without writing XML by hand.

Does the generator crawl my website?

No. The SEO Free generator formats the URLs you supply; it does not crawl your site, so it cannot discover pages for you or confirm that each pasted URL actually returns a 200 status. Build your URL list from your own records or a crawler first, remove redirects, 404s, and noindex pages, and then paste the clean list into the generator.

How many URLs can one sitemap hold?

Each individual sitemap file can contain up to 50,000 URLs and must not exceed 50 MB uncompressed. Larger sites should split their URLs into section-based child sitemaps and list them in a sitemap index file, which itself can reference up to 50,000 child sitemaps.

Do I still need to submit the sitemap to Google?

Yes. Generating the file only creates it — Google still needs to know it exists. Submit the sitemap URL in Search Console under Indexing > Sitemaps, and also declare it with a Sitemap: line in your robots.txt. Then monitor the Sitemaps and Pages reports over the following days to confirm your URLs move from Discovered to Indexed.

Should every page have priority 1.0?

No. Priority is relative within your own site, and setting everything to 1.0 tells Google nothing — it is the same as setting everything to 0.5. Reserve 1.0 for your homepage, give key landing and category pages 0.8, ordinary posts and products 0.6–0.7, and archive pages 0.3–0.5. Google largely ignores priority in favour of lastmod anyway, so treat it as a rough ordering rather than a ranking tool.

Bottom Line

Creating an XML sitemap is a ten-minute job once your URL list is clean: paste the canonical URLs into the free XML sitemap generator, set an honest changefreq, priority, and lastmod, generate the file, validate it, upload it to your domain root, and submit it in Search Console. The generator handles the XML; you handle the list. Keep that list honest — only 200-status, canonical, indexable pages, with truthful lastmod dates — and your sitemap becomes a file Google actually trusts, which is the whole point of having one.

Validate Your Robots.txt Directives in Bulk

Test up to 100 paths simultaneously against your live or draft rules using our RFC 9309 compliant evaluation engine.

Open Bulk Robots.txt Tester

Related Technical Guides