XML Sitemap Generator
Create a sitemap.xml file from your website URLs with this free online XML Sitemap Generator. Configure sitemap metadata, preview the XML and download the finished file.
XML Sitemap Generator
Add your website URLs, optionally configure their priority and change frequency, then generate and download your XML sitemap.
Generated XML Sitemap
0 URLs
Save the generated content as sitemap.xml and place it in your website's public root directory, such as https://example.com/sitemap.xml.
What Is an XML Sitemap Generator?
An XML Sitemap Generator creates an XML file containing a structured list of URLs from your website. XML sitemaps are designed to provide search engines with information about pages that you want them to discover and potentially crawl. A sitemap can contain additional information such as the last modification date, change frequency and relative priority of each URL.
This free XML Sitemap Generator is useful for website owners, developers, SEO professionals and content managers who need to create a sitemap.xml file without installing specialist software. URLs are entered directly into the tool and processed locally in your browser.
Why Use XML Sitemap Generator?
Manually writing XML sitemap markup is repetitive and makes it easier to introduce formatting or escaping errors. This generator creates the required XML structure for you while providing simple controls for common sitemap properties.
Multiple URLs
Add all of the website URLs you want to include in your sitemap and manage them in one list.
Valid XML Structure
The tool builds the standard XML sitemap structure, including the required urlset and url elements.
Change Frequency
Set a default change frequency such as daily, weekly or monthly for the URLs in your generated sitemap.
URL Priority
Assign a default priority value between 0.0 and 1.0 to communicate relative importance within the sitemap.
Last Modified Dates
Optionally include a lastmod date when you know when the corresponding page was last meaningfully modified.
Copy or Download
Copy the generated XML to your clipboard or download it directly as a sitemap.xml file.
How to Use XML Sitemap Generator
Use the generator to build a sitemap from the URLs you want search engines to discover.
- Enter your website URL — Enter your site's absolute URL, such as https://example.com/. This can also be used as the base for relative paths.
- Add your page URLs — Enter complete URLs or relative paths and select Add URL for each page you want to include.
- Configure sitemap settings — Choose the default change frequency, priority and optional last modified date for the URLs.
- Generate and download — Select Generate Sitemap, review the XML output, then copy it or download the finished sitemap.xml file.
Free XML Sitemap Generator for SEO
An XML sitemap is a machine-readable file that lists URLs on a website. It can help search engines discover URLs that might otherwise be difficult to find through normal crawling. Sitemaps are especially useful when a website has many pages, recently published content, complex navigation or pages that are not easily discovered through internal links.
Using an XML Sitemap Generator can simplify the process of creating the sitemap markup. Instead of manually constructing each XML element, you provide the URLs and the tool creates the document structure automatically. The generated file can then be reviewed before being uploaded to your website.
What Should an XML Sitemap Contain?
A standard XML sitemap uses a sitemap document containing a urlset element and individual url elements. Each URL normally includes a loc element containing the absolute URL. Optional elements such as lastmod, changefreq and priority can provide additional information, although they should only be used when their values are appropriate and meaningful.
How to Use a Sitemap for a Website
After creating your sitemap, save it as sitemap.xml and upload it to the appropriate publicly accessible location on your website. You can also reference the sitemap from your robots.txt file and submit its location through the relevant search engine webmaster tools. Keep the sitemap current as your website's important URLs change.
XML Sitemap Generator Information
This tool does not crawl websites or automatically discover pages. It generates the sitemap entirely from the URLs and settings you provide. This approach means your website content is not fetched by the tool and gives you direct control over which URLs are included.
Only include canonical, publicly accessible URLs that you actually want search engines to discover. Avoid adding URLs that redirect, return errors, are blocked from crawling, require authentication or should not appear in search results. The generator creates the XML file, but it does not verify whether your website's individual pages are accessible or indexable.
James William Steven Parker
Creator & Developer of YesTools
James William Steven Parker is a web developer and technology professional with extensive experience in web development, web design, SEO, web hosting, systems analysis and cybersecurity. He created YesTools to provide fast, practical and free online tools for everyday tasks and technical work.
Learn more about James and YesToolsFrequently Asked Questions
Explore More Free Tools
Explore the YesTools collection of free online tools, calculators, converters, generators and utilities.
Browse All Categories

