XML Sitemap Generator

Paste your page addresses and get a valid sitemap.xml, with optional last modified date, change frequency and priority. Relative paths are completed from your site address.

Processed on your device. Files are not uploaded

How to make a sitemap

  1. Paste your page URLs

    Paste or type it into the box, or press Try an example. One per line.

  2. Set the optional fields

    Last modified, change frequency and priority.

  3. Copy or download

    Download sitemap.xml and upload it to your site.

Worked example

This is what XML Sitemap Generator gives for its own sample values. Open the tool above and change anything to try your own.

Page URLs, one per line

https://example.com/
https://example.com/about
/pricing
/blog/hello-world
Site address for relative paths
https://example.com
Last modified (YYYY-MM-DD, optional)
Change frequency
Leave out
Priority
Leave out

sitemap.xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
  </url>
  <url>
    <loc>https://example.com/about</loc>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
  </url>
  <url>
    <loc>https://example.com/blog/hello-world</loc>
  </url>
...

About XML Sitemap Generator

Turn a list of page addresses into a valid sitemap.xml. Relative paths are completed with your site address, special characters are escaped, and addresses that cannot be used are reported.

FAQs

How do search engines find the sitemap?

List it in robots.txt, or submit it in Google Search Console and Bing Webmaster Tools.

Do priority and change frequency matter?

Search engines mostly ignore them. The address and the last modified date are what count.

Is there a limit?

Up to 50,000 URLs or 50 MB per file.

Related tools