XML Sitemap Generator
Create valid XML sitemaps for search engines to crawl your site.
- Add all important pages from your website
- Set the last modified date for each page
- Choose how often each page typically changes
- Set priority (1.0 for homepage, lower for less important pages)
- Download the sitemap.xml file
- Upload to your website root (e.g., example.com/sitemap.xml)
- Submit to Google Search Console and Bing Webmaster Tools
About the XML Sitemap Generator
The XML Sitemap Generator builds a valid sitemap.xml file that lists every URL you want search engines to crawl. Add pages manually or paste a list, set the last-modified date, change frequency and priority, and download a file that is ready to upload to the root of your domain.
What it does
The tool generates a compliant sitemaps.org XML file with loc, lastmod, changefreq and priority elements for each URL. It supports up to 50,000 URLs and 50MB, the limits Google enforces for a single sitemap file.
Why it matters
Sitemaps help search engines discover new pages faster, especially on large sites, JavaScript-heavy sites and sites with weak internal linking. They also help you signal which URLs are canonical and how often they change.
How to use it
- List every canonical URL you want indexed (usually the trailing-slash HTTPS version).
- Set a realistic changefreq for each URL (daily for the home page, monthly for evergreen pages).
- Download the generated sitemap.xml.
- Upload it to the root of your domain so it is reachable at /sitemap.xml.
- Submit the sitemap URL in Google Search Console and Bing Webmaster Tools.
Best-practice tips
- Only include indexable, canonical URLs; skip redirects, 404s and noindex pages.
- Split into multiple sitemaps (products, posts, pages) if your site is large.
- Reference all sub-sitemaps in a sitemap index file if you split them.
- Keep lastmod dates accurate; do not update every entry to today.
- Reference the sitemap in your robots.txt for maximum discoverability.
Frequently asked questions
Do I need a sitemap if my site is small?
Not strictly, but it is best practice. Even for a 20-page site, submitting a sitemap accelerates indexing and gives you a signal-rich record in Search Console.
What is the maximum sitemap size?
50,000 URLs and 50MB uncompressed per file. Larger sites use a sitemap index that references multiple sitemap files.
Should I include images and videos?
Yes, if visual content matters for your traffic. You can add image and video sub-elements to enrich the sitemap.