XML Sitemap Generator
Paste a list of URLs and instantly generate a valid sitemap.xml that follows the sitemaps.org protocol. Set default lastmod, changefreq, and priority, validate every entry, and download.
Spaces, commas, and newlines all work as separators. Relative paths resolve against your Base URL.
Relative paths in your list (like /about) are resolved against this. Absolute URLs are used as-is.
URL Fields
URLs
0
Size
0.0 KB
Skipped
0
Paste your URLs on the left to generate the sitemap XML here.
How to Generate an XML Sitemap for Your Website
An XML sitemap generator turns a list of your URLs into a structured sitemap.xml file that search engines can read. It is the simplest way to make sure Google and Bing know about every page you want indexed — no crawling, no guessing, no missed pages.
Why Generate an XML Sitemap?
Search engines discover pages primarily by following links. That works for well-linked content, but it misses new pages, deeply nested pages, and pages with few inbound links. A sitemap.xml hands crawlers a complete, explicit list of URLs so nothing slips through the cracks.
Sitemaps are especially valuable for new sites with few backlinks, large sites with thousands of URLs, sites with isolated content (like product catalogs), and sites with rich-media or news content where you want specific URLs prioritized.
Anatomy of a Valid sitemap.xml
Every sitemap is an XML document rooted in a <urlset> element. Each <url> entry contains a required <loc> plus three optional fields:
- <loc>Required. The absolute URL of the page. Must be entity-escaped (ampersands in query strings become
&). - <lastmod>The date the page was last meaningfully updated, in W3C Datetime format (YYYY-MM-DD). The only optional field Google reliably uses for crawl scheduling.
- <changefreq>A hint about how often the page changes: always, hourly, daily, weekly, monthly, yearly, or never. Treated as a suggestion, not a command.
- <priority>A value from 0.0 to 1.0 (default 0.5) indicating this URL's importance relative to your own other URLs. It does not influence ranking against other sites.
How to Use This Sitemap Generator
- 1List your URLs in the box on the left, one per line. You can also import a
.txtor.csvfile. Relative paths like/aboutare resolved against your Base URL. - 2Choose which optional fields to include — lastmod, changefreq, and priority — and set their default values.
- 3The live preview on the right validates every entry, deduplicates, and shows the spec-compliant XML with a URL count and file size.
- 4Click Download to save
sitemap.xml, upload it to your site root, and submit it in Google Search Console.
Submit Your Sitemap to Search Engines
Once you have downloaded sitemap.xml and uploaded it to your website root (so it is reachable at https://example.com/sitemap.xml), tell the search engines about it:
- Submit it in Google Search Console under Sitemaps for instant discovery and crawl tracking.
- Submit it in Bing Webmaster Tools for Bing and Yahoo coverage.
- Add a
Sitemap: https://example.com/sitemap.xmlline to your robots.txt for universal auto-discovery.
Frequently Asked Questions
An XML sitemap is a text file written in the sitemaps.org XML format that lists the URLs on your website you want search engines to crawl and index. Each entry can include the last modification date (lastmod), how often the page changes (changefreq), and its relative importance (priority). Google, Bing, and other search engines read it to discover pages faster.
A single XML sitemap file supports a maximum of 50,000 URLs and must stay under 50 MB uncompressed, per the sitemaps.org protocol. If your site has more URLs, split them across multiple sitemap files and reference them from a sitemap index file.
lastmod is the W3C Datetime date the page was last meaningfully updated (the only field search engines reliably use). changefreq is a hint like always, hourly, daily, weekly, monthly, yearly, or never. priority is a value from 0.0 to 1.0 (default 0.5) that signals relative importance between your own URLs; it does not affect ranking against other sites.
Upload sitemap.xml to the root of your website so it is reachable at https://example.com/sitemap.xml. Then submit it in Google Search Console and Bing Webmaster Tools, and add a Sitemap: directive to your robots.txt file so crawlers auto-discover it.
It is still recommended. A sitemap guarantees search engines know about every URL you consider important, including new or orphaned pages that weak internal linking might miss. For large sites (more than ~500 pages), new sites with few backlinks, or sites with rich-media content, a sitemap is especially valuable.