ToolNest logoToolNest.

Free Online Sitemap Generator

Last updated: October 18, 2026

Quick answer: Help search engines find every page on your site. Our free sitemap generator turns a plain list of URLs into a valid XML sitemap — with lastmod dates, change frequencies, and priorities — ready to submit to Google Search Console. It validates each URL as it builds, so a typo never breaks your sitemap. No signup, everything runs in your browser.

🔒 100% Private: Data never leaves your device.
Upload the file to your domain root, add Sitemap: https://yoursite.com/sitemap.xml to robots.txt, and submit it in Google Search Console (Sitemaps report). One sitemap holds up to 50,000 URLs / 50 MB — if you have more, split them and add a sitemap index.

✓ Free forever  ·  ✓ No signup  ·  ✓ Tool inputs stay in your browser — never sent to our servers.

Try next: Robots.txt Generator · Meta Tag Generator · Keyword Density Checker

How to Use the Sitemap Generator

  1. Paste your page URLs, one per line — full URLs starting with https://.
  2. Set the defaults: today's date as last-modified, a change frequency, and a priority.
  3. Click Build Sitemap — each URL is validated before the XML is generated.
  4. Copy the XML or download it as sitemap.xml, then upload it to your domain root.
  5. Submit it in Google Search Console (Sitemaps report) and reference it from your robots.txt.

Why Use Our Sitemap Generator?

Common Use Cases

Sitemap Generator vs Alternatives

Bottom line: on WordPress, let Yoast or Rank Math handle it automatically and never think about sitemaps again. Everywhere else — static sites, custom stacks, quick audits — paste your URLs here and get a valid sitemap.xml in under a minute.

Frequently Asked Questions

What is an XML sitemap?
A machine-readable list of your site's pages at /sitemap.xml that tells search engines which URLs exist, when each was last modified, and how often it tends to change. It's a discovery aid — it doesn't guarantee ranking, but it helps crawlers find pages faster, especially on new or large sites.
How many URLs can a sitemap contain?
One sitemap file can hold up to 50,000 URLs and 50 MB uncompressed. Bigger sites split into multiple sitemaps and list them in a sitemap index file — this tool warns you if your list crosses the line.
Do changefreq and priority actually matter?
Honestly, barely. Google has said it largely ignores <changefreq> and <priority> and treats <lastmod> as a hint. Keep them sensible — an accurate lastmod is the part worth getting right — but don't expect them to move rankings.
Do I need a sitemap if Google already crawls my site?
For small, well-linked sites, probably not — Google finds pages through links. Sitemaps earn their keep on new sites with few backlinks, very large sites, pages hidden deep in navigation, and sites with lots of new content.
Where do I submit my sitemap?
Two places: Google Search Console's Sitemaps report (fastest feedback) and your robots.txt file, with a line like Sitemap: https://example.com/sitemap.xml so every crawler finds it automatically.
What's the difference between a sitemap and robots.txt?
They do opposite jobs: robots.txt tells crawlers what NOT to fetch, while the sitemap lists what you WANT discovered. Use both — generate your robots.txt with our robots.txt generator and reference the sitemap inside it.
How do I update my sitemap when I publish new pages?
Re-run this tool with your full URL list (old pages included) and re-upload — a sitemap should always list your complete set of pages, not just the new ones. Or automate it: most CMSs (WordPress + Yoast/Rank Math) regenerate sitemaps automatically.
Should noindex or redirected pages go in my sitemap?
No — a sitemap should list only canonical, indexable URLs that return 200. Putting noindex pages, 404s, or redirect chains in the sitemap sends crawlers mixed signals and wastes crawl budget. This tool's URL validation catches typos, but the noindex/canonical decision is yours: cross-check your list against your robots meta tags before building.
How accurate does lastmod need to be?
More accurate than most people think. Google treats <lastmod> as a crawl-priority hint, so stamping every URL with today's date trains crawlers to distrust it. Set lastmod to the real last-modified date of each page's content — and when nothing meaningful changed, leave the old date alone.
When do I need a sitemap index instead of one sitemap?
When you cross either limit of a single sitemap file: 50,000 URLs or 50 MB uncompressed. Large e-commerce and news sites split by section (products, categories, articles) and list the pieces in a sitemap index file. This generator warns you at the 50k line; beyond that, generate one file per section and index them.
Should images and videos be in the sitemap?
They can be, via image and video sitemap extensions — worthwhile for photography, recipe, or video-heavy sites where Google Images or video search drives traffic. For ordinary text pages, the standard URL entries are enough; don't bloat the file with decorative images.
Why does Search Console say it couldn't fetch my sitemap?
The usual suspects, in order: the file isn't actually at the submitted URL (typo or wrong path), your robots.txt blocks it, the server returns the wrong content-type, it redirects (submit the final URL), or it's over the 50 MB limit. Fetch it yourself in a fresh browser tab first — if you can't open clean XML there, Google can't either.
Will a sitemap get a brand-new site indexed faster?
It helps discovery, which is half the battle for new sites with few backlinks — Google can't index what it can't find. But a sitemap is not a ranking lever: pair it with internal linking from your homepage to key pages and a few genuine external links, and the crawl follows.