> sitemap --generate

Free XML Sitemap Generator With Only Indexable Pages

Crawl your website and get a clean sitemap.xml in minutes. Redirects, errors, noindex and blocked pages are left out automatically, with the reason for each one.

Not rated yet · Built and tested by the SpellMistake team · Your data stays private
AT A GLANCE
  • What it doesCrawls your site and builds sitemap.xml
  • AccuracyExact for the pages it crawls
  • Works withAny public website, up to 500 pages
  • PriceFree, no sign-up, no limit
  • Last reviewed
Website to map
> define

What Is an XML Sitemap Generator?

Short answer
An XML sitemap generator is a tool that crawls your website and creates a sitemap.xml file. This file lists the pages you want search engines to find and index. A good generator only includes pages that can be indexed, so Google does not waste time on broken or blocked URLs.

Many sitemap tools list every URL they find, including redirects, 404 pages and pages marked noindex. That sends mixed signals to Google. This generator checks every page before it adds it. It follows your robots.txt, reads each page’s status code, robots meta tag and canonical tag, and leaves out anything Google should not index, with a clear reason.

Quick facts
> how --to

How to Use the XML Sitemap Generator

Get a clean sitemap in a few minutes.
01

Enter your website

Type your home page URL, like https://example.com.
02

Pick how many pages

Choose up to 50, 100, 250 or 500 pages to crawl.
03

Create the sitemap

The tool reads robots.txt, then follows links from page to page.
04

Review what was left out

See every skipped page and the reason, like a redirect or noindex.
05

Download and submit

Download sitemap.xml, upload it to your site root and submit it in Google Search Console.

After you download

  • Upload the file to your root folder so it opens at /sitemap.xml.
  • Add a Sitemap: line to your robots.txt.
  • Submit it in Google Search Console and Bing Webmaster Tools.
  • WordPress: WordPress and most SEO plugins already make a sitemap. Use this tool to check what it should contain.
Ready to try it? It is free and takes less than a minute.
> ls ./guide

Why Pages Are Left Out

A sitemap should only list pages you want indexed. Here is what the generator skips.
ReasonWhy it is skipped
Redirect (3xx)The page moved. List the final URL instead.
Error (4xx or 5xx)The page is broken or missing.
NoindexThe page asks Google not to index it.
Blocked by robots.txtGoogle is not allowed to crawl it.
Canonical points elsewhereAnother URL is the main version.
Not a web pageImages, PDFs and other files are not HTML pages.
> cat methodology.md

How the XML Sitemap Generator Works

Here is how the generator crawls your site and decides what goes in.
  1. 01

    Robots.txt is read

    The crawler reads your robots.txt first and will not visit blocked paths.

    Our server
  2. 02

    Pages are crawled

    Starting at your home page, it follows internal links on the same domain until it reaches your page limit.

    Our server
  3. 03

    Each page is checked

    Status code, robots meta tag, X-Robots-Tag and canonical tag are read for every page.

    Our server
  4. 04

    Only indexable pages stay

    A page is added only if it returns 200, is not noindex, is not blocked and is its own canonical.

    In your browser
  5. 05

    Sitemap.xml is built

    A valid sitemap is written with the sitemaps.org namespace, ready to download.

    In your browser
  • UTF-8 encoding and the http://www.sitemaps.org/schemas/sitemap/0.9 namespace.
  • Full, absolute URLs on the same host and protocol.
  • Special characters like & are escaped.
  • A sitemap can hold up to 50,000 URLs or 50 MB. Bigger sites need a sitemap index.
  • Only canonical, indexable URLs are listed.

Sitemap Rules We Follow

The output follows the sitemaps.org protocol and Google’s sitemap guidance.
<?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>
</urlset>
Every URL sits in its own url and loc tags.
> test --report

Is the XML Sitemap Generator Accurate?

Yes. Every page is checked live for status code, noindex, robots.txt and canonical before it goes in, so the sitemap only lists pages Google can index.
Exact
accuracy level
live page checks
Live crawl
what results are based on
status, robots, canonical
Monthly
full re-test
against known answers
24/7
bug reports open
fixed as high priority
What we test every month

Accuracy in plain words

The crawler can only find pages that are linked from other pages. Orphan pages with no internal links will not be found. Very large sites need more than 500 pages, so a CMS sitemap plugin is a better fit for them.

Keep in mind
A sitemap helps Google find your pages. It does not force Google to index them.
> features

Features of the XML Sitemap Generator

Everything you need for a clean, indexable sitemap.

Real crawler

Follows your internal links like a search engine.

Respects robots.txt

Never visits blocked paths.

Smart filtering

Leaves out redirects, errors, noindex and canonicalized pages.

Reasons shown

See exactly why each page was left out.

Pick the size

Crawl 50, 100, 250 or 500 pages.

Download or copy

Get sitemap.xml ready to upload.

> limits --honest

Limitations of This Tool

No tool does everything. Here is what this one does not do, and what you should do yourself.
What the tool cannot do
What you should do
> whoami

Who Can Use This XML Sitemap Generator?

Anyone who wants search engines to find the right pages.

Static and custom sites

Get a sitemap for sites without a CMS plugin.

Small businesses

Help Google find every service and contact page.

SEO specialists

Compare a clean sitemap with the one a CMS makes.

Developers

Make a sitemap before launch, in minutes.

> git log

Updates, Bug Fixes and Reviews

We test this tool every month and fix reported bugs as a high priority. Every change is listed here.
Oct 2026

XML Sitemap Generator launched

First release with a robots.txt aware crawler, indexability checks, reasons for left out pages and download.

Launch
Every month

Full re-test and rules review

We run the tool against our test cases again and check the sitemaps.org protocol and Google's sitemap guidance for changes.

Monthly

Tool page last reviewed on .

Found a bug or a wrong result?

Tell us what you entered, what happened and what you expected. Our developer checks every report, fixes confirmed bugs as a high priority and tests the fix before it goes live.

> git blame

Who Built and Reviewed This Tool

The SpellMistake team built this tool from our own daily SEO work and official rules.
H
Built and tested by

Hassan

Senior Web Developer, 4+ years
Built the crawler, the indexability checks and the sitemap writer.
MA
Reviewed by

Muhammad Ahtesham

SEO Strategist and Founder, 4+ years
Checked inclusion rules against Google’s sitemap and canonical guidance.
A
Guide and help text

Afza

Marketing Expert and Co-founder, 4+ years
Made the labels, tips and this guide simple and easy to follow.

Our standards

This page follows our Editorial Policy and Methodology. If something here is wrong, our Corrections Policy explains how we fix it. Learn more about the SpellMistake team.

> rate --tool

Ratings From Real Users

Did this tool help you? Your rating helps other people find a tool they can trust.
0.0out of 5

No ratings yet. Be the first to rate this tool.

  • 5 ★0
  • 4 ★0
  • 3 ★0
  • 2 ★0
  • 1 ★0

Rate this tool

How useful was the XML Sitemap Generator for you?

Ratings come from real visitors. One rating per person. We never add, edit or remove ratings.

> faq

XML Sitemap Generator FAQ

Quick answers to the questions people ask most about this tool.

What is an XML sitemap?

An XML sitemap is a file that lists the pages on your website you want search engines to find. It helps Google discover new and updated pages faster.

Is this sitemap generator free?

Yes. It is 100% free and needs no sign-up.

How many pages can it crawl?

Up to 500 pages per run. Choose 50, 100, 250 or 500 before you start.

Why were some of my pages left out?

The tool skips pages that redirect, return an error, are marked noindex, are blocked by robots.txt or have a canonical pointing to another URL. Each one shows its reason.

Where do I upload sitemap.xml?

Upload it to the root of your website so it opens at https://yourdomain.com/sitemap.xml, then submit that URL in Google Search Console.

Do I need a sitemap if I use WordPress?

WordPress and SEO plugins like Yoast and Rank Math already create one. You can use this tool to check what a clean sitemap of your site should include.

Should I add lastmod and priority?

Google ignores priority and changefreq. It uses lastmod only if the dates are accurate, so leave it out if you are not sure.

Want the technical side fixed for you?
Our technical SEO team finds and fixes crawl, index, speed and server problems across your whole website.