Free XML Sitemap Generator — Paste URLs, Download sitemap.xml
SEOs, developers, and site owners use this free XML sitemap generator to create valid sitemap.xml files in seconds. Paste your URLs, validate them, set priority and changefreq options, then download a ready-to-submit sitemap file — no software or login required.
URLs
Options
Sitemap Preview
How to Use the XML Sitemap Generator
- Paste your page URLs into the text area — one URL per line, starting with https://.
- Watch the stats bar update to show your total URL count, any duplicates, and invalid entries.
- Set your preferred change frequency (weekly is a sensible default for most sites).
- Choose Auto priority to automatically assign 1.0 to the root, 0.8 to first-level pages, and lower values to deeper paths.
- Check the lastmod, strip slashes, and deduplication options to suit your needs.
- Click Generate Sitemap, then Download to save your sitemap.xml file.
Key Features
- URL validation — invalid URLs (missing protocol, malformed) are flagged inline with line numbers so you can fix them before generating.
- Duplicate detection — duplicate URLs are counted and optionally removed, keeping your sitemap clean and efficient.
- Auto-priority by depth — root pages get 1.0, first-level 0.8, second-level 0.6, and deeper paths 0.4 automatically.
- lastmod toggle — set today's date as the last modified date for all URLs, or leave it out entirely.
- Strip trailing slashes — normalises URLs before generating to avoid duplicate entries in the sitemap.
- File size estimate — a live KB badge shows the approximate size of your sitemap before you download it.
Use Cases
Create a sitemap.xml for a new website launch
Before submitting your site to Google Search Console, generate a sitemap that lists all your key pages. Paste the URLs from your spreadsheet or CMS export, set weekly changefreq, and download the file. Upload it to your domain root and submit the sitemap URL in Search Console for faster initial indexing.
Regenerate a sitemap after a large content migration
After migrating a site or restructuring URLs, generate an updated sitemap with your new URL list. The deduplication and validation features catch common copy-paste errors before they reach Google. Replace your existing sitemap file and ping Google Search Console to trigger a re-crawl.
Build a sitemap for a static site with no CMS
Static site generators often do not include a sitemap plugin. Compile your page URLs manually, paste them here, and download a standards-compliant sitemap.xml in seconds. Set auto-priority so deeper pages are weighted appropriately without manual configuration.
Audit and clean an existing sitemap
Paste the URLs from your current sitemap into the tool to scan for duplicates, invalid entries, and protocol issues. The validation panel highlights problems with line numbers so you can correct your source list and regenerate a clean version quickly.
Frequently Asked Questions
An XML sitemap is a file that lists your website's URLs and metadata — including last modified date, change frequency, and priority — to help search engines discover and crawl your pages more efficiently. It is especially useful for new sites, large sites, or sites with deep content hierarchies.
A single XML sitemap file can contain up to 50,000 URLs and must be under 50 MB uncompressed. For larger sites, create a sitemap index file that points to multiple child sitemaps, each containing up to 50,000 URLs.
The priority tag (0.0 to 1.0) hints to search engines about the relative importance of pages within your site. It does not affect how Google compares your pages to other websites. Use Auto priority to assign values based on URL depth — 1.0 for root, 0.8 for first-level, 0.6 for second-level, and 0.4 for deeper pages.
The changefreq tag suggests how often a page's content changes. Valid values: always, hourly, daily, weekly, monthly, yearly, never. Search engines treat this as a hint. Use 'daily' for news and 'monthly' for evergreen content that rarely changes.
Place sitemap.xml at the root of your domain (https://example.com/sitemap.xml). Reference it in your robots.txt with 'Sitemap: https://example.com/sitemap.xml', and submit it in Google Search Console and Bing Webmaster Tools for faster discovery and indexing.
XML sitemaps do not directly improve rankings. Their primary purpose is to ensure search engines can discover all your pages — especially important for large sites or newly published content. A sitemap speeds up indexing but does not guarantee ranking.
Only include pages you want indexed. Exclude URLs with noindex tags, login and admin pages, thank-you pages, duplicate content URLs, and paginated pages beyond the first. A clean, relevant sitemap signals quality and helps your crawl budget go further.
The lastmod tag specifies when a page was last meaningfully updated. Only use lastmod if you can keep it accurate — setting it to today's date on every page regardless of actual changes can cause search engines to distrust the signal and ignore it entirely.
Related Tools
An XML sitemap is one of the simplest things you can do to help search engines understand your site — and this generator makes producing one a two-minute task. Paste your URLs, let the validator catch any mistakes, adjust the options to match your content type, and download a file that conforms to the sitemaps.org protocol used by Google, Bing, and other major search engines. Once uploaded to your domain root, reference it in your robots.txt file and submit it in Google Search Console. For sites updated regularly, regenerate and resubmit your sitemap whenever you add or remove a significant number of pages to keep search engines in sync with your latest content.