Skip to content
Prime SEO Tools

Crawling & indexing

XML Sitemap Generator

Paste URLs and get a valid, deduplicated XML sitemap with optional lastmod, changefreq and priority, ready to download.

Runs locally. Nothing you enter is sent to a server.

URLs & options
7 lines

One per line. Relative paths are resolved against the base URL.

Optional. Used for relative paths like /about.

Google ignores this

Google ignores this

URLs
6
Duplicates
1
removed
Size
0.5 KB
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/blog/</loc>
  </url>
  <url>
    <loc>https://example.com/blog/how-to-write-title-tags</loc>
  </url>
  <url>
    <loc>https://example.com/blog/schema-markup-guide</loc>
  </url>
  <url>
    <loc>https://example.com/contact?ref=footer</loc>
  </url>
</urlset>

From URL list to valid sitemap

Paste URLs from a crawl export, a spreadsheet or your CMS. The generator resolves relative paths, removes fragments and duplicates, escapes special characters and outputs XML that follows the Sitemaps protocol.

After you download

  1. Upload the file to your site root, e.g. https://example.com/sitemap.xml.
  2. Add Sitemap: https://example.com/sitemap.xml to robots.txt.
  3. Submit it in Search Console and check the indexing report a few days later.

Frequently asked questions

How many URLs can one sitemap contain?

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

Do changefreq and priority matter?

Google ignores both. It does use <lastmod> if the dates are consistently accurate. Bing may still read changefreq and priority, so they're optional here.

Which URLs should I include?

Only canonical, indexable URLs that return a 200 status. Leave out redirects, noindexed pages, duplicates and URLs blocked by robots.txt.

How do I submit the sitemap?

Upload sitemap.xml to your site's root, add a Sitemap: line to robots.txt, and submit it in Google Search Console and Bing Webmaster Tools.