Sitemap Generator
Generate valid XML sitemaps instantly by pasting your site URLs and selecting update frequencies.
How the Sitemap Generator works
Use this tool to build an XML sitemap for search engine crawlers without writing raw markup manually.
Start by entering your web addresses into the Page URLs (one per line) text box. Paste absolute canonical URLs, including the full protocol like https://, with one web address per line. The tool checks your list and ignores duplicate entries automatically.
Next, choose a global value from the Change frequency dropdown menu. Select between daily, weekly, monthly, yearly, or never based on how often your content updates. Search engines use this value as a hint to schedule crawl intervals.
Click the generate button to process your list. The tool constructs an XML file using the standard sitemap protocol. Each entry includes the location tag, today's date in the lastmod tag, and your selected change frequency hint. Copy the generated code directly or download the formatted file to upload to your web server root directory.
Formula used
one <url> entry per address: loc + lastmod + changefreq
| Symbol | Meaning |
|---|---|
| loc | the absolute, canonical URL — exactly as it should be indexed |
| lastmod | today for a fresh sitemap; only fill it if the page really changed |
| changefreq | a hint, not a command — crawlers learn the real rhythm themselves |
A sitemap helps discovery, not ranking: search engines still crawl links first. Keep it under 50,000 URLs per file, list canonical URLs only, and resubmit when substantial pages change — not on every trivial edit.
Inputs used: Page URLs (one per line), Change frequency.
Worked example
Here is how to create an XML sitemap for two site pages using weekly change frequency settings.
- Paste 'https://tools.bharatdn.com/' and 'https://tools.bharatdn.com/tools/' into the Page URLs input box on separate lines.
- Select 'weekly' from the Change frequency dropdown menu.
- Click the generate button to process 2 total URLs and output standard XML code containing both locations with today's date.
Result:
- xml: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://tools.bharatdn.com/</loc> <lastmod>2026-11-16</lastmod> <changefreq>weekly</changefreq> </url> <url> <loc>https://tools.bharatdn.com/tools/</loc> <lastmod>2026-11-16</lastmod> <changefreq>weekly</changefreq> </url> </urlset>
- urlCount: 2
- duplicates: 0
Frequently asked questions
- Where should I upload my generated XML sitemap?
- Upload the file to the root directory of your website domain, such as yourdomain.com/sitemap.xml. Then submit the URL inside Google Search Console.
- Does setting the change frequency to daily force Google to crawl daily?
- No, the changefreq tag is only a hint for search engines. Crawlers determine actual crawl frequency based on how often your pages actually update.
- How many URLs can I put in a single XML sitemap?
- A standard XML sitemap file can contain up to 50,000 URLs and must not exceed 50MB uncompressed.
- What formula does the Sitemap Generator use?
- It uses one <url> entry per address: loc + lastmod + changefreq, where loc is the the absolute, canonical URL — exactly as it should be indexed; lastmod is the today for a fresh sitemap; only fill it if the page really changed; changefreq is the a hint, not a command — crawlers learn the real rhythm themselves.
- How do I read the result?
- A sitemap helps discovery, not ranking: search engines still crawl links first. Keep it under 50,000 URLs per file, list canonical URLs only, and resubmit when substantial pages change — not on every trivial edit.