Free  ·  No Sign-Up  ·  Updated for 2026

Free XML Sitemap Generator

This free XML sitemap generator turns your page URLs into a clean, valid sitemap.xml in seconds. Add accurate last-modified dates, catch common sitemap mistakes, and get the robots.txt line to go with it.

  • 100% Free Tool
  • Built-In Sitemap Checks
  • Copy or Download

01 · Free Tool

Generate Your XML Sitemap

Paste one URL per line. To include a last-modified date, add it after the URL, like https://example.com/about/, 2026-09-12. Copying two columns from a spreadsheet or a crawler export works too.

0 URLs

One URL per line, starting with https://. You can add a date after each URL.

Google and Bing ignore priority and change frequency, so they're off by default. An accurate last-modified date is the one optional tag worth adding.

Your Files

0 URLs
Your generated sitemap.xml will appear here.

Sitemap Checks

  • Paste your URLs and press Generate Sitemap to run the checks.

Quick Reminders

Upload to your site's root: yoursite.com/sitemap.xml
List only canonical pages that return 200 OK
No redirects, noindex pages or 404s

How to Create an XML Sitemap

To create an XML sitemap, list the URLs of the pages you want indexed, turn that list into sitemap XML with a generator, upload the file to your website's root folder, and tell search engines where it is. With this tool:

  1. Collect your URLs. Copy them from your CMS, your navigation, a crawler such as Screaming Frog, or the Pages report in Search Console. Use full URLs starting with https://.
  2. Add dates if you have them. Put the last meaningful update date after a URL (URL, 2026-09-12). Pages without a date simply get no <lastmod> tag.
  3. Press Generate Sitemap and read the Sitemap Checks. Fix anything marked red or amber in your list, then generate again.
  4. Download sitemap.xml and upload it to the root folder of your site, so it opens at https://yoursite.com/sitemap.xml.
  5. Add the robots.txt line from the second tab, then submit the sitemap in Google Search Console and Bing Webmaster Tools.

The tool runs entirely in your browser. Your URLs aren't uploaded or stored anywhere.

02 · Guide

XML Sitemaps in 2026: How to Create, Check and Submit One That Search Engines Trust

Most sitemap generators hand you a file with every URL set to priority 0.8, "weekly" and today's date. It looks complete, but Google and Bing both ignore priority and change frequency, and a last-modified date that's the same for every page tells them nothing useful.

A sitemap that search engines actually trust is simpler: only the pages you want indexed, in the exact URL format your site uses, with modification dates where you have them. This free XML sitemap generator builds that file for you and checks your list for the mistakes that make sitemaps less useful.

The short answer: an XML sitemap is a file, usually at yoursite.com/sitemap.xml, that lists the pages you want search engines to crawl. To create one, paste your URLs into the generator above, download sitemap.xml, upload it to your site's root folder, and submit it in Google Search Console and Bing Webmaster Tools. If you use WordPress, Shopify, Wix, Squarespace or Blogger, you already have one.

What Is an XML Sitemap?

An XML sitemap is a machine-readable file that lists the URLs on a website you want search engines to find, optionally with the date each page last changed. It follows the sitemaps.org protocol, which Google, Bing and other search engines all support.

It's different from an HTML sitemap, which is a normal page of links for visitors. The XML version is for crawlers only; visitors never need to see it.

XML sitemap example

Here is a small but complete sitemap for a three-page site:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.example.com/</loc>
    <lastmod>2026-09-20</lastmod>
  </url>
  <url>
    <loc>https://www.example.com/services/</loc>
    <lastmod>2026-09-12</lastmod>
  </url>
  <url>
    <loc>https://www.example.com/contact/</loc>
  </url>
</urlset>
TagWhat it doesDo search engines use it?
<urlset>Wraps the whole list and declares the sitemap protocolRequired
<loc>The full, absolute URL of one pageRequired
<lastmod>When the page's content last changed meaningfullyYes, by Google and Bing, if it's accurate
<changefreq>How often you expect the page to changeNo. Ignored by Google and Bing
<priority>A 0.0–1.0 importance score relative to your other pagesNo. Ignored by Google and Bing

Is a Sitemap Necessary for SEO?

A sitemap isn't required, but most sites benefit from one. Google's own guidance says you might not need a sitemap if your site is "about 500 pages or fewer", is well linked internally, and doesn't rely on lots of images, videos or news pages. It also says that "in most cases, your site will benefit from having a sitemap".

A sitemap matters most when:

  • The site is new and has few links from other websites, so crawlers have few ways in.
  • The site is large, and some pages sit several clicks away from the homepage.
  • Content changes often, like a blog, a news site or a shop with changing stock, and you want updates found quickly.
  • Pages aren't well linked, such as landing pages that aren't in the main menu.

What a sitemap won't do is make a page rank or guarantee it gets indexed. Google says plainly that "a sitemap doesn't guarantee that all the items in your sitemap will be crawled and indexed". It helps search engines find your pages; the quality of those pages decides the rest.

What Is a Sitemap Generator Used For?

A sitemap generator, also called an XML sitemap builder or sitemap creator, turns a list of pages into correctly formatted sitemap XML, so you don't have to write the tags by hand. There are three kinds, and the best free XML sitemap generator for you depends on how your site is built:

TypeHow it worksBest for
Built into your CMSWordPress, Shopify, Wix, Squarespace, Webflow and Blogger create and update a sitemap automaticallyAny site on those platforms. Use this first; it stays up to date on its own
CrawlerFollows links from your homepage and lists what it finds, e.g. Screaming Frog (free up to 500 URLs) or online crawlersSites where you don't know every URL. Check the result, because crawlers also pick up pages you don't want indexed
URL list generator (this tool)You paste the exact URLs and dates; it builds and checks the XMLStatic and hand-coded sites, landing page sets, and anyone who wants full control over what's listed

The two work well together: crawl your site with a crawler, delete the URLs you don't want indexed, then paste the clean list here to build the final file.

Which Pages Should Be in Your Sitemap?

Include only pages you'd be happy to see in search results. Every URL in the sitemap should be the canonical version, load with a 200 status, and be indexable.

IncludeLeave out
HomepageURLs that redirect (301 or 302)
Service, product and category pagesBroken pages (404 or 410)
Blog posts and guidesPages marked noindex
Location and landing pages you want foundDuplicates and non-canonical versions
About, contact and policy pagesCart, checkout, login, account and thank-you pages
Important PDFs, if you want them in searchInternal search results, sorting and filter URLs, tracking links

Also make sure every URL matches the exact version your site uses: https not http, with or without www, with or without a trailing slash. Google says it will "crawl your URLs exactly as listed", so a mismatched version sends crawlers through a redirect every time. The Sitemap Checks flag all of these.

Lastmod, Priority and Changefreq: What Search Engines Actually Use

This is where most generators, and many older guides, get it wrong.

  • Priority and changefreq are ignored. Google's documentation says: "Google ignores <priority> and <changefreq> values." Bing said the same in July 2025: they "are ignored by Bing and do not influence how your content is crawled or ranked."
  • Lastmod is used, but only if it's honest. Google uses <lastmod> when it is "consistently and verifiably accurate". The date should mark a significant change to the main content, structured data or links, not a new copyright year or a regenerated sitemap. Bing also uses it to judge freshness, including for its AI-powered search.

That's why this generator leaves priority and changefreq out by default and takes dates per URL. If you don't know when a page last changed, leave the date out. A missing <lastmod> is better than a wrong one, because search engines learn to ignore dates that don't match reality.

How I do it on this site: the sitemap at seobysubham.com/sitemap.xml lists only the pages I want indexed, each with only <loc> and <lastmod>. No priority, no changefreq. When I moved the site to new hosting in September 2026, I resubmitted it in Search Console and updated the dates only on pages whose content actually changed.

Large Sites: 50,000 URLs and Sitemap Index Files

A single sitemap can hold up to 50,000 URLs and must be no larger than 50 MB uncompressed. Bigger sites split their URLs across several sitemaps and list those files in a sitemap index:

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://www.example.com/sitemap-1.xml</loc>
    <lastmod>2026-09-25</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://www.example.com/sitemap-2.xml</loc>
  </sitemap>
</sitemapindex>

This generator does it automatically. Paste more than 50,000 URLs and you get sitemap_index.xml plus numbered sitemap files. Upload them all to the root folder and submit only the index. Even on smaller sites, splitting sitemaps by type (pages, posts, products) makes it easier to see in Search Console which sections have indexing problems.

Types of XML Sitemaps

The standard sitemap lists web pages, and it's what this generator creates. Google also supports extensions for other kinds of content:

TypeWhat it listsWho needs it
Page sitemapURLs of web pages, with optional lastmodAlmost every website
Image sitemapImages on each page, using the image extensionSites whose images are loaded in ways crawlers can miss, or that depend on image search
Video sitemapVideos with title, description and thumbnailSites that host their own videos and want them in video results
News sitemapArticles published in the last two daysPublishers that appear in Google News
hreflang in a sitemapLanguage and country versions of each pageMultilingual or multi-region sites

Most business websites, blogs and service sites only need the standard page sitemap. Google finds most images through the pages themselves.

Where to Upload sitemap.xml on Your Platform

Put your sitemap in the root folder so it opens at https://yoursite.com/sitemap.xml. Google recommends the root because a sitemap there can cover every page on the site. On most platforms, though, the sitemap already exists:

PlatformBuilt-in sitemapWhat to do
WordPress/wp-sitemap.xml (core), or /sitemap_index.xml with Yoast SEO or Rank MathUse the built-in one. Only upload your own file if you've switched the others off, so there's one source of truth
Shopify/sitemap.xmlGenerated automatically; you can't replace it. Submit it as it is
Wix/sitemap.xmlGenerated automatically. Submit it; control pages through each page's SEO settings
Squarespace/sitemap.xmlGenerated automatically. Submit it
Webflow/sitemap.xmlTurn on auto-generation in the site's SEO settings, or paste your own sitemap there
Blogger/sitemap.xmlGenerated automatically. Submit it in Search Console
Static HTML / custom siteNoneGenerate it here and upload to the root folder with your host's file manager, FTP or your deploy process

How to Submit Your Sitemap to Google and Bing

Google Search Console

  1. Open Google Search Console and select your property.
  2. Go to Indexing → Sitemaps.
  3. Enter the sitemap URL (for example sitemap.xml) and click Submit.
  4. Come back later. The status should say Success, with a count of discovered pages.

Bing Webmaster Tools

  1. Open Bing Webmaster Tools and select your site. You can import it straight from Search Console.
  2. Go to Sitemaps, click Submit sitemap, and enter the full URL.

Bing's index also feeds Copilot and other AI search tools, and Bing says it checks submitted sitemaps "at least once per day". For instant updates, Bing also supports IndexNow, which notifies it the moment a page changes.

robots.txt

Add a Sitemap: line to your robots.txt so every crawler can find the file, including search engines you haven't submitted to. The robots.txt Line tab in the tool gives you the exact line for your domain.

No more "pinging" Google: Google retired the sitemaps ping endpoint at the end of 2023, so old instructions to visit a google.com/ping?sitemap= URL no longer work. Search Console and robots.txt are the ways to tell Google about your sitemap now.

How to Find the XML Sitemap of a Website

To find a website's XML sitemap, open its robots.txt file at domain.com/robots.txt and look for a line starting with Sitemap:. If there isn't one, try the usual locations:

  • /sitemap.xml (most sites, Shopify, Wix, Squarespace, Blogger)
  • /sitemap_index.xml (WordPress with Yoast SEO or Rank Math)
  • /wp-sitemap.xml (WordPress without an SEO plugin)
  • /sitemap-index.xml or /sitemap/sitemap.xml on some custom setups

For your own site, the Sitemaps report in Search Console shows every sitemap Google knows about.

How to Open and Check an XML Sitemap URL

To open an XML sitemap, type its full URL into any browser. You'll see the raw XML, often with a note such as "This XML file does not appear to have any style information". That message is normal: sitemaps are meant for crawlers, not people, and don't need styling.

When checking a sitemap, look for:

  1. It loads with a 200 status, not a redirect or an error page.
  2. The URLs are right: correct domain, https, and the version your site actually uses.
  3. No junk: no redirects, 404s, noindex or duplicate pages. To check the status of each URL, run the sitemap through a crawler in list mode.
  4. Search Console agrees: in the Sitemaps report, the status is Success. Couldn't fetch usually means the file isn't at the URL you submitted, or it's blocked.

Can AI Create a Sitemap?

AI chatbots can write sitemap XML if you give them the list of URLs, but they aren't a good way to build one. They can't reliably see every page on your site, they sometimes invent URLs that don't exist, and they can't check which pages return errors or redirects. A long list may also come back cut short.

Use AI to help decide which sections of your site deserve to be indexed, if that helps. Build the actual file from your live URLs, with your CMS, a crawler, or this generator, which checks every line.

Common XML Sitemap Mistakes

MistakeWhy it mattersFix
Listing redirected, 404 or noindex URLsSends mixed signals and wastes crawling on pages you don't want indexedList only canonical pages that return 200 OK
Mixed http/https or www/non-www URLsEvery mismatched URL goes through a redirectUse the exact version your site redirects to
Today's date as lastmod on every pageSearch engines stop trusting your datesUse real update dates, or none
Relative URLs such as /about/The protocol requires full, absolute URLsAlways include https:// and the domain
An old sitemap no one updatesNew pages are missing and deleted pages still listedUse your CMS sitemap, or regenerate after every change
Two sitemap systems at once (plugin plus a manual file)Conflicting lists and datesKeep one source and submit only that
Unescaped & in URLsBreaks the XML, so the whole file fails to parseLet the generator escape special characters

A Sitemap Is One Part of Getting Indexed

A sitemap helps search engines find your pages. Whether they index and rank them depends on the pages themselves and on your site's authority. If pages sit in "Discovered – currently not indexed" in Search Console for a long time, the sitemap has done its job; the next step is stronger internal linking and links from other websites.

Check that your SEO titles and meta descriptions are working, and that your titles fit before Google cuts them off. Read what link building is and how it builds the authority that gets pages crawled more often.

Sources

Need links built for you?

A sitemap helps Google find your pages; links help them rank. If you'd rather outsource link building, my monthly plans combine outreach links, Web 2.0 blogs and foundation links, or choose guest posts on established, niche-relevant websites for editorial links only. Need a one-time foundation instead? See the high authority backlinks packages.

03 · FAQ

XML Sitemap Generator: Frequently Asked Questions

It depends on your site. If you use WordPress, Shopify, Wix, Squarespace, Webflow or Blogger, the best one is already built in, because it updates itself. For other sites, a crawler such as Screaming Frog (free up to 500 URLs) finds your pages, and a URL list generator like this one builds a clean file from exactly the URLs you choose and checks them for mistakes.

Paste your page URLs into this free XML sitemap generator, press Generate Sitemap, and download sitemap.xml. Upload it to your site's root folder so it opens at yoursite.com/sitemap.xml, then submit it in Google Search Console and Bing Webmaster Tools. Both are free.

Any XML file is plain text saved with a .xml extension in UTF-8 encoding, so you can write one in a text editor. For a sitemap, it's quicker and safer to use a generator, which adds the correct protocol tags and escapes special characters such as & that would otherwise break the file.

Update it whenever you add, remove or significantly change pages. CMS sitemaps update automatically. If you generate yours by hand, regenerate and re-upload it after each change; you don't need to resubmit it in Search Console, because Google and Bing recheck known sitemaps on their own.

Not directly. A sitemap helps search engines discover and recrawl your pages, but it doesn't guarantee they get indexed and isn't a ranking factor. Rankings depend on the quality of your pages, a technically sound site and links from other websites.

Yes. Large sites must split their URLs into several sitemaps of up to 50,000 URLs each, listed in a sitemap index file. Many sites also split sitemaps by content type, such as pages, posts and products. Submit the index file, and search engines will find the rest.

No, it's optional. An HTML sitemap is a page of links for visitors, and it can help crawlers on large sites with weak navigation. Most small and medium sites with clear menus and internal links don't need one. The XML sitemap is the one search engines read.

There is no fixed limit. Up to 50,000 URLs go into one sitemap.xml file. Above that, the tool automatically splits the list into several sitemap files and creates a sitemap index that lists them. Very large lists depend only on your browser's memory.

Yes. It's completely free, with no sign-up and no limit on use. It runs entirely in your browser, so the URLs you paste are never uploaded or stored.

04 · Contact

Need Help With Your Website SEO?

This Free XML Sitemap Generator helps you create a sitemap.xml file, but your website may also need proper SEO setup, meta tags, backlinks, and indexing help. SEO by Subham can help you improve your website step by step.