Sitemap Generator
Generate XML sitemaps for your website with customizable priority and change frequency
link Add URLs
Enter URLs manually or import from a list
settings Sitemap Options
folder Sitemap Index (Multiple Sitemaps)
About the Sitemap Generator
Create valid XML sitemaps for your website with our free online Sitemap Generator. XML sitemaps help search engines like Google, Bing, and Yahoo discover and crawl all the important pages on your site. Simply add your URLs, customize priority and change frequency settings, and download a ready-to-use sitemap.xml file.
What is an XML Sitemap?
An XML sitemap is a file that lists all the important URLs on your website, along with optional metadata about each URL. Search engines use sitemaps to discover new pages, understand your site structure, and prioritize crawling. While sitemaps don't guarantee indexing, they significantly improve your site's discoverability.
Sitemap XML Structure
A standard sitemap contains the following elements:
| Element | Required | Description |
|---|---|---|
<loc> |
Yes | The full URL of the page (must include protocol) |
<lastmod> |
No | Last modification date in W3C Datetime format (YYYY-MM-DD) |
<changefreq> |
No | How frequently the page changes (always, hourly, daily, weekly, monthly, yearly, never) |
<priority> |
No | Relative priority from 0.0 to 1.0 (default: 0.5) |
Change Frequency Values
- always — Page changes every time it's accessed (e.g., live stock prices)
- hourly — Page updates several times per day (e.g., news homepage)
- daily — Page updates once a day (e.g., blog index)
- weekly — Page updates once a week (most content pages)
- monthly — Page updates about once a month (static content)
- yearly — Page rarely changes (legal pages, archives)
- never — Archived page that will never change
Priority Guidelines
- 1.0 — Homepage (most important)
- 0.8-0.9 — Major category/section pages, popular content
- 0.5-0.7 — Regular content pages, blog posts
- 0.3-0.4 — Less important pages, old archives
- 0.0-0.2 — Low priority (legal pages, duplicates)
Note: Google has stated they largely ignore changefreq and priority values, using their own algorithms instead. However, other search engines may still use them.
Sitemap Limits
- Maximum 50,000 URLs per sitemap file
- Maximum file size: 50MB (uncompressed)
- For larger sites, use a sitemap index file referencing multiple sitemaps
- URLs must be properly encoded (special characters, Unicode)
Sitemap Index Files
If your site has more than 50,000 URLs, you need to split them across multiple sitemap files and create a sitemap index file that references all of them. The sitemap index uses a similar XML structure with <sitemap> elements instead of <url>.
How to Submit Your Sitemap
- Generate and download your sitemap.xml file
- Upload it to your website's root directory (e.g.,
https://example.com/sitemap.xml) - Add the sitemap URL to your robots.txt file:
Sitemap: https://example.com/sitemap.xml - Submit to search engines:
- Google: Google Search Console
- Bing: Bing Webmaster Tools
Best Practices
- Include only canonical URLs — Don't include duplicate pages or non-canonical versions
- Keep it updated — Regenerate your sitemap when you add or remove pages
- Use accurate lastmod dates — Only update when content actually changes
- Gzip large sitemaps — Compress to .xml.gz for faster crawling
- Link from robots.txt — Search engines look for sitemaps there
- Don't include blocked URLs — If a page is blocked by robots.txt, don't put it in the sitemap
Privacy
All sitemap generation happens entirely in your browser. Your URLs and site structure are never sent to any server, ensuring your website structure remains private.