Free tool

Free XML Sitemap Generator

Paste your URLs, one per line. Get a valid XML sitemap to upload and submit to Google.

Inputs

Live Generator

Generated output

A sitemap is a list of the pages you want search engines to find. It won’t make a weak page rank, but it helps crawlers find new or poorly linked pages sooner.

What to do with your sitemap

  1. Paste full URLs, one per line, exactly as you want them crawled: https://, the right domain, with or without trailing slash as your site uses.
  2. Generate, copy and save the output as sitemap.xml in UTF-8.
  3. Upload it to your site root, so it loads at https://yourdomain.com/sitemap.xml.
  4. Submit it in Search Console’s Sitemaps report and add a Sitemap: line to your robots.txt.

The format follows the sitemaps.org protocol. Google’s guide to building and submitting a sitemap covers the rest.

What Google reads, and what it ignores

<url>
  <loc>https://example.com/blog/</loc>
  <lastmod>2026-10-04</lastmod>
  <changefreq>weekly</changefreq>
  <priority>0.8</priority>
</url>
  • <loc> is required: the full URL of the page.
  • <lastmod> is used by Google when it’s consistently accurate. The generator sets today’s date on every URL. If you are not publishing every page today, edit the dates or remove them, or Google may stop trusting them.
  • <changefreq> and <priority> are ignored by Google. They’re harmless and some other tools read them.

Only list pages you want found

Leave out pages with a noindex tag, redirects, login and cart pages, parameter duplicates like ?sort=price, and anything blocked in robots.txt. A sitemap full of URLs Google shouldn’t index makes the useful ones harder to spot.

When a hand-made sitemap is the wrong tool

Many platforms already build one for you. Shopify generates a sitemap.xml automatically for every store, covering products, collections, pages and blog posts. Check /sitemap.xml on your site first. This generator is best for static sites, small custom builds, or a one-off list of pages you want crawled.

Once the sitemap is live, reference it from your crawler rules with the robots.txt generator.

FAQ

Frequently asked questions

Straight answers about using this tool and its output.

What does this sitemap generator create?

A standard XML sitemap following the sitemaps.org protocol. Each URL you paste gets a <loc>, today’s date as <lastmod>, and the change frequency and priority you choose. Special characters in URLs are escaped for you.

Do I need a sitemap?

Small sites with good internal links often get crawled fine without one. A sitemap helps most when a site is new, large, or has pages few other pages link to. Google treats it as a hint, not a guarantee of crawling.

Does Google use changefreq and priority?

No. Google says it ignores both. It does use <lastmod> when the date is consistently accurate, so only update it when the page meaningfully changes.

How many URLs can one sitemap hold?

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

How do I submit my sitemap to Google?

Upload the file, usually to https://yourdomain.com/sitemap.xml. Then submit it in Search Console’s Sitemaps report, add a Sitemap: line to your robots.txt, or both.

Which URLs should I leave out?

Anything you don’t want in search results: noindex pages, redirects, login and cart pages, duplicates with URL parameters, and pages blocked in robots.txt. Use full https:// URLs exactly as you want them crawled.

Let ZynfoAI take the first reply.

Answers on your website and WhatsApp from your own content, with your team one click away. Free for 7 days, then $99/month.

No credit card required 7-day free trial Cancel anytime