Sitemap.xml Generator
Developer ToolsGenerate a valid sitemap.xml for any website. Paste your URLs, set change frequency and priority per page — ready for Google Search Console in seconds.
What is a Sitemap?
A sitemap.xml is a machine-readable file that tells search engines about every publicly accessible, indexable page on your website. Without one, search engine crawlers discover your pages entirely through link-following — starting from your homepage and moving through internal links. Pages that are buried deep in your site, orphaned (with no inbound links), or newly added may never be discovered through crawling alone.
The Sitemap.xml Generator converts a list of URLs into a correctly formatted XML sitemap, ready to submit to Google Search Console, Bing Webmaster Tools, or any other search engine platform. The XML format follows the Sitemaps protocol standard, which defines the structure of <urlset>, <url>, <loc>, <lastmod>, <changefreq>, and <priority> elements.
Each URL entry in the generated sitemap includes:
<loc>— the full absolute URL of the page<lastmod>— today's date in ISO 8601 format (YYYY-MM-DD), indicating when the page was last modified<changefreq>— how often the page is expected to change (daily, weekly, monthly, etc.)<priority>— a relative importance score from 0.1 to 1.0
The generator also counts the total URLs in your list and displays it alongside the XML output — useful for verifying you have not accidentally omitted pages during a copy-paste.
Use this alongside robots.txt Generator to give search engines the complete picture: robots.txt tells them what not to crawl, while the sitemap tells them what to prioritise. Once your sitemap is live, use UTM Link Generator to tag campaign links pointing to those pages so traffic is accurately attributed in your analytics platform.
How to use this Sitemap calculator
- Collect all the indexable page URLs for your website — use your CMS's page list, a URL export from your analytics tool, or a crawl export from a tool like Screaming Frog.
- Paste the URLs into the URLs (one per line) text area — one complete URL per line, including the protocol (
https://). Remove any duplicate or redirect URLs before pasting. - Select the Change Frequency that best describes how often most of your pages are updated — choose
weeklyfor an active blog,monthlyfor a mostly-static business site,yearlyfor archived content. - Set the Default Priority — use
1.0for your homepage,0.8–0.9for primary category or service pages,0.5–0.7for standard content pages, and0.3or lower for low-importance archived pages. - Review the Total URLs counter to confirm the count matches your expectations.
- Copy the sitemap.xml Content from the output box and save it as a file named
sitemap.xml. - Upload
sitemap.xmlto your website's root directory (alongsiderobots.txtandindex.html), then submit the URL to Google Search Console via the Sitemaps section.
Formula & Methodology
The generator produces standard sitemap XML conforming to the Sitemaps.org protocol (xmlns:http://www.sitemaps.org/schemas/sitemap/0.9). Each URL in your input produces one<url>block:xml <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://example.com/about/</loc> <lastmod>2026-06-24</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> </urlset>Thelastmodvalue is set to today's date in ISO 8601 format (YYYY-MM-DD) for all entries. Blank lines in the input are filtered out. The URL count is the number of non-empty lines after filtering. File size limit: A single sitemap.xml must not exceed 50,000 URLs or 50 MB uncompressed. For sites exceeding this limit, split into multiple sitemaps and create a sitemap index file that references each one — the sitemapindex format uses<sitemapindex>and<sitemap><loc>tags following the same protocol.
Frequently Asked Questions