Cyber SEO: 50% off
Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information (Cookie Policy)

Free XML Sitemap Generator - Create a Clean sitemap.xml

Create an XML sitemap for free. The generator crawls your site like Google and keeps only the pages that can be indexed, ready to download.

Tools

On this page

Learn everything to know on XML Sitemap Generator!

Created on
10/10/26
Last update:
10/10/26
Aerial view of a city laid out in a regular grid of blocks

Summary

The free XML sitemap generator crawls your site like a search engine, from the address you enter and through internal links, and keeps only the pages that can be indexed: it leaves out redirects, errors, noindex pages, pages whose canonical points elsewhere and URLs blocked by robots.txt. You get a ready sitemap.xml to copy or download, with a lastmod date when your server provides one, and the list of pages left out with the reason. The free version stops at 50 pages.

Want to go further? Ask

An XML sitemap generator saves you from the most common sitemap mistake: listing pages that Google should not index. A sitemap tells search engines which URLs you want to see in search results, and Google uses it to discover pages it might otherwise miss (Google, what is a sitemap). A file full of redirects and duplicates sends the opposite message.

How does the XML sitemap generator work?

Enter your site address. The tool crawls for up to about 30 seconds, six pages at a time, and applies the same filters a careful SEO would.

StepWhat the tool does
StartReads the start page, follows its redirects and reads your robots.txt
Follow linksFollows internal links on the same host, except nofollow links
Skip noiseIgnores files (images, PDF, CSS, JS), tracking and sorting parameters (utm, gclid, sort, filter) and cart, checkout, login, account and search pages
Respect robots.txtDoes not crawl URLs that Googlebot is not allowed to crawl
Check each pageKeeps HTML pages that answer 200, are not noindex and have no canonical pointing to another URL
Write the fileLists each kept URL with its lastmod date when the server sends a Last-Modified header

The report shows four tiles (pages kept, pages excluded, noindex or duplicate, errors), the sitemap.xml with Copy and Download buttons, and a table of the pages left out with the reason: noindex, canonical elsewhere, redirect, error, unreachable or blocked by robots.txt. That table is often the most useful part: it is a free indexability audit of the pages it reached.

What does a valid XML sitemap contain?

The format is defined by the sitemaps.org protocol, supported by Google, Bing and the other major search engines. The generated file follows it exactly:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/pricing</loc>
    <lastmod>2026-09-30</lastmod>
  </url>
</urlset>
RuleValueSource
Maximum URLs per sitemap50,000sitemaps.org
Maximum file size50 MB uncompressed (52,428,800 bytes)sitemaps.org
More URLsSplit into several sitemaps listed in a sitemap indexsitemaps.org
EncodingUTF-8Google
URLsFull absolute URLs, the ones you want in search resultsGoogle
priority and changefreqIgnored by GoogleGoogle
lastmodUsed if consistently and verifiably accurateGoogle

Sources: sitemaps.org protocol and Google, build and submit a sitemap. That is why the generator writes no priority or changefreq: they add size without effect on Google.

Aerial view of city blocks lined with autumn trees

Which pages should be in your sitemap?

Only the canonical URLs you want to appear in search results. Google generally shows canonical URLs and says you can influence which ones with your sitemap. In practice:

  • Include pages that answer 200, are indexable and are the preferred version of their content.
  • Leave out redirected URLs, error pages, noindex pages, filtered or sorted versions, internal search results, cart and account pages.
  • Pick one version of each page: https, with or without www, with or without a trailing slash, the same everywhere.

When a page you expected is missing from the file, read its reason in the exclusion table, then check it with the indexability checker or the canonical checker. For the vocabulary, see our glossary entry on the XML sitemap.

How do you submit your sitemap to Google?

  1. Upload sitemap.xml to the root of your site, so it answers at https://example.com/sitemap.xml. A sitemap at the root can cover every page of the site.
  2. Declare it in robots.txt with a line Sitemap: https://example.com/sitemap.xml. Any crawler that reads robots.txt will find it. The robots.txt generator adds the line for you.
  3. Submit it in Search Console, in the Sitemaps report, to see when Google read it and whether it found errors.
  4. Check it with the sitemap checker, which reads the live file and flags format problems.

Two points are often misunderstood. Submitting a sitemap is a hint, not a guarantee that Google will crawl or index every URL. And the old "ping" URL no longer works: Google retired the sitemaps ping endpoint in 2023, and requests to it now return a 404 (Google Search Central blog, 2023). Use robots.txt and Search Console instead.

Top-down view of roads and roundabouts between green fields

What if your site has more than 50,000 URLs?

Split the URLs into several sitemap files, each under 50,000 URLs and 50 MB, and list them in a sitemap index file, which follows the same protocol. Group the files by type (products, categories, articles) so that Search Console reports indexing per group, which makes problems easier to locate. You can declare each file, or only the index, in robots.txt. Large sites usually generate these files from their database or CMS rather than by crawling, because a crawl only finds what is linked.

Does every site need an XML sitemap?

Not always, but it rarely hurts. Google lists the cases where a sitemap helps most and those where you may not need one.

You probably need one ifYou may not need one if
Your site is large, so some pages are not linked from anywhereYour site is small: about 500 pages or fewer that should be in search results
Your site is new and has few external linksEvery important page can be reached by links from the home page
You have many videos, images or news articlesYou have few media files or news pages to show in search

Even on a small site, a sitemap gives you a list of what you consider indexable, which Search Console compares with what Google actually indexed. That comparison is often where indexing problems show up first.

What are the limits of the free generator?

  • 50 pages. The free version stops there and tells you when the site has more. Sites with hundreds of pages need a sitemap produced by the CMS or a full crawler.
  • Linked pages only. A page with no internal link pointing to it (an orphan page) cannot be found by crawling. Add links to it, or list it by hand.
  • No JavaScript. Like the URL extractor, the tool reads the HTML and does not follow links added by scripts after loading.
  • lastmod depends on your server. Without a Last-Modified header, the file has no dates. Do not add fake ones: Google only uses lastmod if it is accurate.
  • A snapshot. The file is correct the day you generate it. Every new page means a new version, unless your CMS updates it for you.

How do you keep your sitemap up to date automatically?

Let your publishing tool update it. A sitemap that follows each new page is better than a perfect file generated once a year.

  • Publish on a schedule with the Sorank blog planner, which posts your articles on autopilot.
  • Write articles with internal links built in with the blog article generator, so no new page ends up orphaned.
  • Watch indexing and clicks page by page in the GEO and SEO dashboard, which brings Search Console into the same view as your AI visibility.

For a step-by-step guide to generators and CMS plugins, read our article on sitemap generators. A clean sitemap lists only the pages you want indexed, and nothing else. Generate yours above, submit it in Search Console, then see the Sorank plans to publish and index new pages on autopilot.

Frequently asked questions

How do I create an XML sitemap for my website?

Enter your site address in the free generator above. It crawls up to 50 pages through internal links, keeps only the indexable ones and gives you a sitemap.xml to copy or download. Upload it to the root of your site.

Which pages should not be in a sitemap?

Leave out redirected URLs, error pages, noindex pages, pages whose canonical points elsewhere, filtered or sorted versions, internal search results, and cart or account pages. List only the canonical URLs you want in search results.

How do I submit a sitemap to Google?

Add a line Sitemap: followed by the full URL of the file to your robots.txt, then submit the same URL in the Sitemaps report of Search Console. The old ping URL no longer works.

Sources

Other Free SEO Tools

THEY TRIED SORANK BEFORE YOU

Testimonials from ambitious founders

5/5 from 5 reviews

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.frGoogleE-commerce

0 to 5000 clients in 8 months

Thibault BMsorank.comGoogleSoftware

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.comGoogleLeisure and aviation

0 to 163 clicks in 6 months

Coworking Pariscoworking-paris.frGoogleOffice broker

x92 clicks in 7 months

Guide Zanzibarguidezanzibar.comGoogleTravel