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.
Something went wrong
Advanced: Per-URL Settings (priority, changefreq, lastmod)
How to use XML Sitemap Generator
- 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://.
- Optionally expand the Advanced section to set per-URL priority, changefreq, and lastmod. Or adjust the global defaults for all URLs at once.
- 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.
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
Full-Stack Developer & Tools Architect
Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.
People also use
- XML Sitemap Generator🗄️ Developer Tools
Paste your URLs and generate a valid XML sitemap with changefreq, priority, and lastmod. Download sitemap.xml instantly — no signup needed.
- API Response Formatter🔗 API Tools
Free online API response formatter. Beautify and format JSON, XML, and HTML API responses with syntax highlighting. Copy formatted output instantly.
- Data Converter Hub🗄️ Developer Tools
Free online data converter hub supporting JSON, YAML, TOML, XML, CSV, and INI. Bidirectional conversion with format auto-detection, swap, and syntax validation.