Sitemap Generator
Sitemap Generator turns a plain list of page URLs into a valid sitemap.xml — the XML file that lists your pages so search engines can discover and crawl them efficiently. Paste your URLs, set the optional change frequency, priority and last-modified date, and copy the result.
A sitemap is especially valuable for large sites, new sites with few inbound links, and pages buried deep in your navigation, because it gives crawlers a direct map of everything you want indexed.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/blog</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>Save as sitemap.xml at your site root and reference it from robots.txt and Google Search Console.
How to use Sitemap Generator
- 1
Paste your page URLs
Enter one absolute URL per line. Include only the canonical pages you actually want indexed.
- 2
Set optional hints
Choose a change frequency, priority and last-modified date to apply to the URLs. These are optional hints to crawlers.
- 3
Publish and submit it
Save the output as sitemap.xml at your site root, link to it from robots.txt, and submit it in Google Search Console.
What an XML sitemap is for
An XML sitemap is a machine-readable list of the URLs on your site, wrapped in the sitemaps.org <urlset> schema. Each entry has a required <loc> (the page URL) and optional <lastmod>, <changefreq> and <priority> elements. Search engines use it as a discovery aid — a hint about which pages exist and roughly how often they change — alongside, not instead of, normal crawling.
Sitemaps do not guarantee indexing, and the priority and changefreq values are weak signals that Google largely treats as advisory. Their real value is completeness of discovery: making sure no important page is missed because nothing links to it prominently.
Best practices
List only canonical, indexable URLs — return-200 pages you actually want in search. Do not include redirects, error pages, noindex pages or URLs blocked by robots.txt, as those send mixed signals. Use absolute URLs with the correct protocol and host, matching your canonical tags exactly.
A single sitemap can hold up to 50,000 URLs or 50 MB uncompressed; beyond that, split into multiple sitemaps and list them in a sitemap index file. Reference your sitemap from robots.txt with a Sitemap: line and submit it in Google Search Console so you can monitor coverage.
Frequently asked questions
- Where do I put sitemap.xml?
- Typically at your site root (https://yourdomain.com/sitemap.xml). Add a Sitemap: line pointing to it in robots.txt, and submit the URL in Google Search Console so Google is notified.
- Do changefreq and priority actually affect ranking?
- No. They are optional hints and Google has said it largely ignores priority and treats changefreq loosely. They do not influence ranking — the URLs themselves and their freshness matter more. Set sensible values, but do not over-think them.
- How many URLs can one sitemap contain?
- Up to 50,000 URLs or 50 MB uncompressed per file. For larger sites, split the URLs across multiple sitemaps and reference them all from a sitemap index file.
Last updated: