Free SEO tool

XML Sitemap Generator

Paste or upload a list of your page URLs and get a valid sitemap.xml file. The tool removes duplicates, flags invalid URLs and dates, and checks the sitemap limits. It does not crawl your site or invent dates.

  • Free, no signup
  • Up to 50,000 URLs
  • Your list is not stored

Add your URLs

One full URL per line. To include a last-modified date, add it after the URL, separated by a comma or tab: https://www.example.com/page, 2026-10-12. Lines starting with # are ignored.

0 lines with content
The file is read in your browser and replaces the text above. For CSV files, put the URL in the first column and an optional date in the second.

Review and download

Add your URLs above and select Generate sitemap.

How it works

How to create and submit an XML sitemap

  1. Collect your URLs

    Export the pages you want in search results from your CMS or a spreadsheet.

  2. Paste or upload

    Add accurate last-modified dates only if you have them.

  3. Review and download

    Check the skipped lines and warnings, then download sitemap.xml.

  4. Upload and submit

    Put the file at your site's root, add it to robots.txt and submit it in Google Search Console.

Worked example

Example: cleaning up a short URL list

Input

https://www.example.com/
https://www.example.com/services, 2026-10-12
https://www.example.com/services
https://www.example.com/blog/cake-guide#comments
www.example.com/contact

The second and third lines are the same page; the fourth has a #fragment; the fifth is missing https://.

Output

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.example.com/</loc>
  </url>
  <url>
    <loc>https://www.example.com/services</loc>
    <lastmod>2026-10-12</lastmod>
  </url>
  <url>
    <loc>https://www.example.com/blog/cake-guide</loc>
  </url>
</urlset>

The duplicate is removed (1 duplicate), the fragment is stripped, and the contact line is skipped with the message "Not a full URL. Start with https:// or http://". Only the services page has a lastmod, because it is the only one with a date provided.

Practical guidance

What makes a good sitemap

A sitemap is a list of the pages you want search engines to find. It is most useful for new sites with few links, large sites, and pages that are hard to reach through your navigation. A clean sitemap sends a clear signal; a sitemap full of redirects, errors and duplicates sends a confusing one.

  • List canonical URLs only. Use one consistent version (for example https and www) that matches your canonical tags.
  • Exclude pages you don't want indexed, such as thank-you pages, login pages, filters and internal search results.
  • Keep dates honest. Update lastmod only when the page content changes meaningfully.
  • Keep it up to date. If your CMS can generate the sitemap automatically, that is usually better than a static file that you have to maintain.
  • Reference it in robots.txt with a line such as Sitemap: https://www.example.com/sitemap.xml. Our robots.txt generator can add it for you.

The file follows the sitemaps.org protocol: UTF-8 encoding, special characters escaped, full URLs under 2,048 characters, and no more than 50,000 URLs or 50 MB per file.

What this tool does not do

  • It does not crawl your website or check whether each URL loads, redirects or is blocked.
  • It does not add dates, priorities or change frequencies you did not supply.
  • It does not create sitemap index files, image, video or news sitemaps.
Frequently asked questions

XML sitemaps: common questions

No. A sitemap helps search engines discover your URLs, but they still decide what to crawl and index based on things like content quality, duplication and technical access. Pages that are blocked, redirected or marked noindex will not be indexed because they are in a sitemap.

Only the canonical versions of pages you want in search results: pages that load successfully (status 200), are not blocked by robots.txt, are not marked noindex and are not redirects. Leave out duplicates, filtered or sorted versions of the same page, login pages and internal search results.

Google has said it ignores the priority and changefreq values in sitemaps, so this tool leaves them out to keep the file simple. Other search engines may still read them, but they are optional.

Only if it is accurate. Google uses lastmod when it is consistently correct, meaning it reflects the last significant change to the page, not the date the sitemap was generated. If you do not know when a page last changed, leave the date out. This tool never adds dates you did not provide.

Up to 50,000 URLs and 50 MB uncompressed. For larger sites, split the URLs into several sitemaps and list them in a sitemap index file.

No. You provide the list of URLs. You can export one from your CMS, a spreadsheet or your analytics. Many platforms, including WordPress, already create a sitemap automatically, so check for an existing one before replacing it.

Upload sitemap.xml to the root of your site, for example https://www.example.com/sitemap.xml. Add a "Sitemap:" line with its full URL to your robots.txt file, and submit it in the Sitemaps report in Google Search Console.

No. The sitemap is generated in your browser and your list is not sent to or saved on our server. Uploaded files are read in your browser only. Like the rest of our website, this page uses Google Tag Manager and Microsoft Clarity for usage analytics; the tool area is masked from session recordings.

Technical SEO

Pages still not showing up in Google?

We find out why pages are not being crawled or indexed, fix sitemaps, redirects and canonical issues, and set up Search Console properly. Ask us for a free website and SEO review.

Our Location & Area We Serve

We're based in Ghaziabad and work in person or remotely with businesses across Delhi NCR — including Ghaziabad, Noida, Delhi, and Gurgaon. Since website development and SEO work is fully remote-deliverable, we also take on clients elsewhere in India and internationally.