XML Sitemap Generator
Build a valid sitemap.xml for any website. Add URLs one at a time or bulk import a list, configure priority, changefreq, and lastmod per page — then download or copy in one click.
Upload this file to your website root at yoursite.com/sitemap.xml, then submit the URL in Google Search Console.
What This Tool Does
Build a complete, valid XML sitemap without writing a single line of code.
How to Use This Tool
Logic Behind the Tool
How the sitemap XML is built and what each field actually does.
<url> element inside a <urlset> root with the correct namespace declaration. Google, Bing, and other major search engines all support this standard format.<priority> tag accepts a float from 0.1 to 1.0. It tells crawlers the relative importance of a page within your own site — not compared to other sites. The homepage and key landing pages should be 1.0 or 0.9. Blog posts and inner pages are typically 0.6–0.8. Low-value pages like paginated archives go as low as 0.3.<changefreq> tag is a hint — search engines may ignore it and crawl based on their own signals. Use daily for news/blog, weekly for regularly updated pages, monthly for stable pages, and yearly for policies or static content. never is useful for archived content.&, <, or > characters must be XML-escaped (e.g., &, <). This tool automatically escapes all special characters in URLs so the generated file is valid XML that parsers won't choke on.Frequently Asked Questions
A sitemap.xml is a file at your website root that lists all the URLs you want search engines to index. It helps Google and Bing discover your content faster, understand how often it changes, and which pages are most important. Sitemaps are especially valuable for new sites with few backlinks, large sites where crawlers might miss pages, and sites with content that changes frequently.
Priority (0.1–1.0) signals the relative importance of a URL compared to other URLs on your same site — it has no effect on how you rank compared to other sites. Changefreq is a hint about how often the content changes. Both are advisory — search engines may ignore them if their own crawl signals disagree. Still worth setting correctly, as they can influence crawl frequency on well-established sites.
Upload sitemap.xml to your website's root directory so it's accessible at yourdomain.com/sitemap.xml. Then: (1) In Google Search Console, go to Indexing → Sitemaps, enter the sitemap URL, and click Submit. (2) In Bing Webmaster Tools, go to Sitemaps, add the URL. You can also add a line to your robots.txt: Sitemap: https://yourdomain.com/sitemap.xml — crawlers will find it automatically.
A single sitemap file supports up to 50,000 URLs and must be under 50MB uncompressed. If your site exceeds either limit, you'll need a sitemap index file — an XML file that lists multiple sitemap files. For most sites this tool targets, a single sitemap is sufficient. Very large e-commerce or news sites may need sitemap index files plus separate sitemaps for images and videos.
No — only include pages you want indexed and that provide real value to users. Exclude: admin and login pages, pages blocked by robots.txt, URLs with noindex tags, near-duplicate or paginated pages beyond page 1, and thin or low-quality content. Including low-quality pages can waste crawl budget and signal poor site quality. The sitemap should be your curated "best of" — not every URL that exists.