Skip to main content
SerpGem
Technical SEO

Sitemap XML Generator

Paste your URLs and get a valid sitemap.xml file — with configurable changefreq, priority, and lastmod. Download or copy directly.

How to use this tool3 quick steps
  1. Paste your URLs

    One URL per line. Comments starting with # are ignored. Include all pages you want Google to index — exclude admin, private, or duplicate URLs.
  2. Set changefreq and priority

    Changefreq hints at how often a page changes. Priority (0.0–1.0) is relative to other pages on your site. Default weekly/0.8 works for most blogs.
  3. Download or copy the XML

    Upload sitemap.xml to your domain root, then add a Sitemap: line to robots.txt. Submit the URL to Google Search Console for faster indexing.
InputURLs

Paste all pages you want indexed, one URL per line. Comments starting with # are ignored.

Default changefreq

Default priority · 0.8

 

Outputsitemap.xml

Use this with

See all 9 tools

Sitemap Guide

Why sitemap.xml matters for SEO

A sitemap.xml is the map you hand to search engines. It tells Google, Bing, and Yandex every page you want indexed, when it was last updated, and how important it is relative to other pages on your site.

What to include

Every indexable, canonical page. That means: blog posts, product pages, landing pages, evergreen guides. Exclude: admin pages, duplicate category pages, thin tag archives, staging URLs.

What changefreq means

"weekly", "monthly", "daily" — a hint, not a command. Google largely ignores this now and uses its own crawl heuristics, but accurate values help Bing and some smaller engines prioritize re-crawls.

Priority values

A 0.0–1.0 relative score. Your homepage is typically 1.0, main category pages 0.8, individual posts 0.5–0.7. Like changefreq, this is a hint Google treats loosely but Bing still considers.

Lastmod does matter

The <lastmod> date is the one hint Google DOES take seriously — it triggers re-crawls. Keep it accurate. Bumping lastmod on pages you haven't actually changed is spam behavior and can hurt trust.

Where to host it

Upload to your site root (/sitemap.xml), reference it from /robots.txt with a Sitemap: directive, and submit it in Google Search Console + Bing Webmaster Tools.

Size limits

A single sitemap can hold up to 50,000 URLs or 50MB uncompressed. For larger sites, split into multiple sitemaps and reference them via a sitemap index file.

Pro Tips

Link from robots.txt

Add `Sitemap: https://yoursite.com/sitemap.xml` to your robots.txt. Every crawler that visits will find it automatically.

Submit in Search Console

Hosting it at /sitemap.xml is necessary but not sufficient. Also submit the URL in Google Search Console → Sitemaps for faster discovery.

Auto-generate on publish

Most modern CMS platforms (WordPress, Ghost, Next.js) can generate this automatically. Only use this tool when you don't have auto-generation or need a one-off.

?

Frequently Asked Questions

Does Google require a sitemap?
No — Google can crawl your site without one. But a sitemap accelerates discovery, especially for new sites and deep pages that aren't well-linked internally. For any site with more than ~50 pages, a sitemap is worth having.
What happens if I include a URL that returns 404?
Google will ignore it and log a warning in Search Console. Repeatedly submitting broken URLs can reduce your crawl budget. Keep your sitemap clean — only list pages that return 200 OK.
Can I list URLs from other domains?
No. A sitemap can only reference URLs on the same domain (and same protocol) as the sitemap file itself. https://example.com/sitemap.xml can only list URLs under https://example.com — not http://example.com or www subdomains without proper verification.
Is the sitemap XML format the only option?
Google also accepts plain text sitemaps (one URL per line, no extensions) and RSS feeds. But XML is the standard — it supports the optional lastmod/changefreq/priority fields that plain text does not.