Sitemap Generator
Generate a valid XML sitemap from a list of URLs with changefreq, priority, and lastmod options.
The Sitemap Generator is a free, browser-based tool that creates a valid XML sitemap from a list of URLs. Paste your website URLs — one per line — configure the change frequency, priority, and last-modified date, then download a ready-to-upload sitemap.xml in seconds. All processing runs entirely in your browser — nothing is sent to any server.
Features
| Feature | Detail |
|---|---|
| URL list input | Paste unlimited URLs, one per line |
| Change frequency | Set always, hourly, daily, weekly, monthly, yearly, or never globally |
| Priority | Assign a global priority value from 0.0 to 1.0 |
| Last modified date | Manually set a date or click "Use today" for an automatic timestamp |
| Indent toggle | Switch between pretty-printed (readable) and compact XML output |
| Validation | Invalid or malformed URLs are automatically skipped and counted |
| Stats bar | Shows total URL count, file size, and skipped line count after generation |
| Copy to clipboard | Copy the full XML output with one click |
| Download XML | Save the result as sitemap.xml directly from the browser |
How to Use
- Enter or paste your website URLs in the input box, one URL per line.
- Select your preferred change frequency and priority values.
- Set a last-modified date manually, or tick Use today for an automatic current date.
- Toggle Indent XML on for readable output or off for compact output.
- Click Generate Sitemap.
- Review the result in the output area. Fix any skipped lines if needed and re-generate.
- Click Download .xml to save the file, then upload it to your website root as
/sitemap.xml. - Submit the sitemap URL to Google Search Console and Bing Webmaster Tools.
XML Sitemap Format
The generated file follows the Sitemaps protocol 0.9 standard, which is supported by all major search engines including Google, Bing, Yahoo, and Yandex. Each URL entry in the sitemap can contain the following tags:
| Tag | Required | Description |
|---|---|---|
<loc> |
Yes | The full URL of the page |
<lastmod> |
No | The date the page was last modified (YYYY-MM-DD format) |
<changefreq> |
No | How frequently the page is likely to change |
<priority> |
No | The relative importance of this URL (0.0 to 1.0) |
Change Frequency Values
The <changefreq> tag hints to search engines how often a page changes. This is only advisory — search engines may ignore it.
| Value | When to use |
|---|---|
always |
Pages that change every visit (e.g. live feeds) |
hourly |
Pages updated multiple times per day |
daily |
News, blog indices, or frequently updated pages |
weekly |
Standard content pages, product pages |
monthly |
Stable content such as reference or documentation pages |
yearly |
Rarely changing pages like legal notices or terms |
never |
Archived content that will never change |
Priority Values
The <priority> tag indicates the relative importance of a URL compared to other URLs on your site. The default value is 0.5. Use 1.0 for your homepage and high-value landing pages, and lower values for less important pages. Note that priority is relative only to your own site — it does not affect ranking compared to other websites.
Use Cases
Small Business Websites
Quickly create a sitemap for a static or small website without installing any tool or plugin. Paste all your page URLs and download a ready-to-submit sitemap file.
Development and Staging
Generate a test sitemap during development to verify all URLs are correctly listed before going live.
Migration Projects
When migrating a site to a new domain or CMS, use this tool to build a sitemap from an exported URL list to help search engines re-discover all pages quickly.
Single-Page Applications
SPAs often lack native sitemap support. Compile your route list and generate a sitemap manually to ensure search engines can reach all your content.
Manual Sitemap Editing
Use the tool as a quick editor — paste an existing sitemap's URLs, adjust the settings, and regenerate with updated lastmod or changefreq values.
Frequently Asked Questions
Where should I upload the sitemap.xml file?
Place sitemap.xml in the root directory of your website so it is accessible at https://yourdomain.com/sitemap.xml. Some CMS platforms (WordPress, Shopify) have their own sitemap plugins — check before uploading manually.
How do I tell Google about my sitemap?
Log in to Google Search Console, select your property, and go to Sitemaps. Enter the URL of your sitemap (e.g. https://yourdomain.com/sitemap.xml) and click Submit.
Should I include every page in my sitemap?
Only include pages you want search engines to index. Exclude admin pages, duplicate content, login pages, and pages with a noindex tag. Quality over quantity — a focused sitemap helps crawl budget efficiency.
What happens to invalid URLs?
Lines that do not start with http:// or https:// are skipped automatically. The stats bar shows how many lines were skipped so you can spot and fix typos.
Can I include subdomains or multiple domains?
The sitemap standard requires all URLs to share the same protocol and host that the sitemap is submitted under. If you have multiple subdomains or domains, create a separate sitemap for each and submit each one individually in Search Console.
Is there a limit to the number of URLs?
The official sitemap standard allows up to 50,000 URLs and 50 MB per sitemap file. This browser-based tool has no artificial URL limit — very large lists may take a moment to process depending on your device.
What is the difference between indented and compact output?
Both produce identical, valid XML. Indented output is easier to read and debug. Compact output has no whitespace between tags, resulting in a smaller file size — useful for very large sitemaps.