Free Online XML Sitemap Generator
Turn a list of URLs into a clean XML sitemap for Google Search Console.
Upload the file to the root of your domain, then submit
https://yourdomain.com/sitemap.xml in Google Search Console or Bing Webmaster Tools.
What is an XML sitemap?
An XML sitemap is a machine-readable list of the canonical URLs on a website. Search engines use it to discover pages, understand when content changed, and prioritise crawling. It does not guarantee that a page will be indexed, but it removes guesswork when a site has hundreds of pages, deep navigation, or content that is not linked from the homepage.
This generator turns a plain list of URLs into a valid <urlset> document. You can set a change
frequency and priority for the batch, include today's date as lastmod, preview the XML, copy it, or
download a ready-to-upload sitemap.xml file.
How to create and submit a sitemap
- Paste one absolute URL per line, using the final canonical version of each page.
- Choose a change frequency and priority that reflect how often the pages really change.
- Leave Include today's date enabled only when the content was genuinely updated today.
- Check the preview for duplicate URLs, redirects, parameters, or pages marked
noindex. - Download
sitemap.xmland upload it to the root of your domain. - Submit
https://yourdomain.com/sitemap.xmlin Google Search Console and Bing Webmaster Tools.
What belongs in a sitemap
Include pages that return HTTP 200, have a self-referencing canonical URL, and are allowed to be indexed. Leave out
login pages, admin screens, cart and checkout steps, internal search results, and URLs blocked by robots.txt.
Use the final destination URL rather than a redirect, and keep one canonical version of each page.
A sitemap file can contain up to 50,000 URLs and should stay below 50 MB uncompressed. Larger sites should split the list into multiple sitemap files and reference them from a sitemap index. For a large catalogue, separate sitemaps for pages, categories, tools, and blog posts make crawl diagnostics much easier.
Change frequency, priority, and lastmod
Search engines treat these values as hints, not commands. changefreq is most useful for pages that genuinely
change on a predictable schedule. priority is relative to other URLs in the same sitemap and does not
override search ranking. lastmod should reflect a meaningful content change, not the time the file was
regenerated, so avoid stamping every URL with today's date on every deployment.
Common sitemap mistakes
- Listing redirected, broken, or
noindexURLs. - Using relative URLs or accidentally including test domains.
- Adding tracking parameters that create duplicate pages.
- Submitting an HTML sitemap or a sitemap index as a regular URL list.
- Forgetting to update the sitemap after adding or removing pages.
Frequently asked questions
Does an XML sitemap guarantee indexing?
No. A sitemap helps search engines discover URLs and understand changes, but indexing still depends on crawling, page quality, duplication, and the search engine's own decisions.
Should every page have priority 1.0?
No. Priority is relative within the sitemap. Reserve the highest values for your most important landing pages and use lower values for supporting pages.
Can I include images or videos in this sitemap?
This tool creates a standard URL sitemap. Image and video extensions require additional XML namespaces and elements, which are outside the scope of this generator.
Related tools: Robots.txt Generator, HTML Sitemap Generator, Meta Tag Analyzer.