XML Sitemap Generator

Generate a valid XML sitemap from a list of URLs.

100% Free · No Sign-up · Runs in Your Browser

About the XML Sitemap Generator

An XML sitemap lists every important URL on your website along with metadata like last-modified date and priority, helping search engines discover and crawl your pages more efficiently — especially valuable for large sites or pages with few internal links pointing to them. This generator builds a valid, standards-compliant sitemap.xml file from a simple list of URLs.

This tool is useful for site owners without a CMS plugin that auto-generates sitemaps, developers building custom sites or static pages, and SEO specialists needing a quick sitemap for a small project or landing page collection.

To use it, paste your list of URLs (one per line) into the input box. Optionally set a default change frequency (daily, weekly, monthly) and priority (0.0–1.0) applied to all URLs, or leave defaults for a simple, valid sitemap. Click "Generate Sitemap" and the tool outputs correctly formatted XML wrapped in the required <urlset> structure, ready to copy or download as sitemap.xml.

For example, pasting three URLs like https://example.com/, https://example.com/about, and https://example.com/contact produces a sitemap.xml with a <url> entry for each, including a <loc> tag with the exact URL and a <lastmod> tag set to today's date — a file you can upload directly to your site's root and submit to Google Search Console.

A common mistake is including non-canonical URLs (like both a trailing-slash and non-trailing-slash version of the same page, or a mix of HTTP and HTTPS) in the same sitemap — always use the single, canonical version of each URL your site actually resolves to. Another frequent issue is forgetting to update the sitemap after adding or removing pages; while this tool generates a snapshot, for larger or frequently changing sites you'll want an automated sitemap that regenerates on deploy.

Tip: after generating your sitemap, upload it to your site's root directory and reference it in your robots.txt file, then submit it directly through Google Search Console and Bing Webmaster Tools to speed up discovery and indexing of new or updated pages.

Frequently Asked Questions

Q.How many URLs can one sitemap contain?

The official limit is 50,000 URLs or 50MB uncompressed per sitemap file; larger sites should split into multiple sitemap files with a sitemap index.

Q.Do I need to include every single URL?

Include your important, canonical, indexable pages. Avoid listing duplicate, noindexed, or redirecting URLs.

Q.What is priority and changefreq used for?

They are hints to search engines about relative importance and how often a page changes, though modern engines like Google largely ignore these values and rely on their own crawling signals.

Q.Where should I upload the sitemap file?

To your site's root directory so it's accessible at https://example.com/sitemap.xml, then reference it in robots.txt and submit it in Search Console.

Q.Can I generate a sitemap for a site with hundreds of pages?

Yes, paste all URLs at once; for very large sites consider splitting output into multiple sitemap files.

Related Tools