Skip to main content
1

XML Sitemap Generator

Paste your URLs and generate a standards-compliant XML sitemap with proper namespace declarations. Set per-URL priority, change frequency, and last modified date. Validate, preview, and download.

URLs (one per line) Lines: 0 | Valid: 0
Was this tool helpful?
Send output to:
Advertisement

How to use XML Sitemap Generator

  1. Paste your page URLs into the text area, one per line. Each URL must be a fully qualified absolute URL starting with https:// or http://.
  2. Optionally expand the Advanced section to set per-URL priority, changefreq, and lastmod. Or adjust the global defaults for all URLs at once.
  3. Click Generate Sitemap, review the XML preview, then download as sitemap.xml or copy to clipboard for direct use.

What is XML Sitemap Generator?

An XML sitemap tells search engines which pages on your site are important and how often they change. This tool generates a fully valid XML sitemap with proper XML declaration, urlset namespace (xmlns), and xsi:schemaLocation attributes — ready to upload to your site root or submit to Google Search Console.

Paste your URLs one per line, and the tool validates each one — flagging invalid formats, wrong protocols, and duplicate URLs. You can set per-URL priority (0.0 to 1.0) via slider, change frequency (always, hourly, daily, weekly, monthly, yearly, or never), and last modified date via date picker. Global defaults apply to all URLs, with per-URL overrides available in the Advanced section. Preview the formatted XML before downloading or copying.

Advertisement

FAQ

What is the correct URL format?
URLs must be fully qualified with https:// or http://. For example, https://example.com/page is valid, but /page or example.com/page are not. The validator flags any URLs that fail to parse as valid absolute URLs.
Does Google use priority and changefreq?
Google has stated that it largely ignores priority and changefreq values. However, they are part of the sitemap protocol and other search engines may use them. It is still good practice to include accurate values for completeness.
How do I submit this sitemap to Google?
Upload the generated sitemap.xml to your website root directory (e.g., https://yourdomain.com/sitemap.xml). Then go to Google Search Console, navigate to Sitemaps, and enter the URL. You can also reference it in robots.txt: Sitemap: https://yourdomain.com/sitemap.xml
Can I generate sitemaps for more than 50,000 URLs?
Sitemaps are limited to 50,000 URLs per file and 50 MB uncompressed. For larger sites, split into multiple sitemap files and use a sitemap index file. This tool is best suited for small to medium sites.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He's contributed to open-source developer tools and built CI/CD pipelines for startups.

Advertisement