Skip to content

XML Sitemap Generator

Create a valid XML sitemap for Google and Bing. Paste your page URLs, choose a change frequency and priority, and copy the generated sitemap to submit in Search Console.

What this means

A sitemap lists the URLs of your site so search engines discover pages that internal links might miss. The lastmod tag tells Google when each page changed.

How we calculate it

Formula

Each URL becomes <url><loc>…</loc><lastmod>…</lastmod><changefreq>…</changefreq><priority>…</priority></url> inside the urlset wrapper.

Worked example

Build a sitemap for a small blog.

  1. 1Paste one URL per line.
  2. 2Choose a change frequency.
  3. 3Copy the XML and upload it as sitemap.xml.

Important assumptions

  • URLs should be absolute and use a single hostname.

Frequently asked questions

How often should I update my sitemap?

Whenever pages are added, removed or changed. The lastmod dates let Google re-crawl what changed.

How many URLs per sitemap?

Google allows up to 50,000 URLs per sitemap file. Larger sites split into multiple files using a sitemap index.

Related tools