Free XML Sitemap Generator

Free XML sitemap generator: paste URLs or paths to build sitemap.xml with lastmod, changefreq and priority. Splits at 50,000 URLs and zips a sitemap index.

  • No upload, 100% private
  • Instant, in your browser
  • 100% free, no signup
Loading tool…
Read the complete guideHow to Create an XML Sitemap and Submit It to Search Engines →

About the XML Sitemap Generator tool

An XML sitemap lists the pages you want search engines to find, which is especially useful for new sites, large sites and pages with few internal links. Many content management systems create one automatically, but static sites, hand-built pages and one-off landing page collections often have none. Writing the XML by hand is tedious and easy to get wrong, especially with special characters in URLs.

This XML sitemap generator builds a valid sitemap.xml from a list of addresses. Paste full URLs one per line, or switch to “Base URL + paths” and paste just the paths. The tool validates each line, removes #fragments, optionally removes duplicates and escapes characters such as & correctly. You can add a lastmod date (today or a date you pick), and optionally changefreq and priority, though Google ignores those two.

The sitemap protocol allows up to 50,000 URLs per file. If your list is longer, the generator splits it into several files and packages them with a sitemap index in a ZIP. Checks report invalid lines and URLs from more than one host. Everything happens in your browser, so the list is never uploaded.

How to use XML Sitemap Generator

  1. Choose “Full URLs” or “Base URL + paths” at the top.
  2. Paste your URLs or paths into the text box, one per line (set the “Base URL” in paths mode).
  3. Pick a “lastmod” option and, if you want, a “changefreq” and “priority”.
  4. Keep “Remove duplicate URLs” on and review the checks for skipped lines.
  5. Click “Download sitemap.xml” (or “Download sitemaps.zip” for very large lists) and upload it to your site's root.

Features

Two input modes

Paste complete URLs, or a base URL plus a list of paths.

Validation and clean-up

Skips invalid lines, strips fragments, removes duplicates and escapes XML special characters.

Optional tags

lastmod from today or a chosen date, plus changefreq and fixed or depth-based priority.

Automatic splitting

Lists over 50,000 URLs become several sitemaps and an index, zipped together.

Multi-host warning

Alerts you when URLs come from more than one host.

When to use it

  • Create a sitemap for a static site built without a CMS.
  • Submit a sitemap of new landing pages to Google Search Console after a launch.
  • Turn a crawler's list of indexable URLs into a clean sitemap.
  • Build a separate sitemap for a documentation subfolder.

Frequently asked questions

Where should I put sitemap.xml?

Usually in the root of your site, such as https://www.example.com/sitemap.xml. Reference it in robots.txt with a Sitemap: line and submit it in Google Search Console.

Does Google use changefreq and priority?

No. Google has said it ignores both. It does use lastmod when the dates are consistently accurate. The tool omits changefreq and priority by default.

How many URLs can a sitemap contain?

Up to 50,000 URLs and 50 MB uncompressed per file. Larger sites use several sitemaps listed in a sitemap index file, which this tool can create.

Should I include every page?

Include only canonical pages you want indexed. Leave out redirects, error pages, duplicates and pages blocked by robots.txt or marked noindex.

Can this tool crawl my site to find URLs?

No. Browsers cannot crawl other websites because of cross-origin restrictions. Paste URLs from your CMS, a crawler export or Search Console instead.

Related tools