XML sitemap
What an XML sitemap is
An XML sitemap is a file that lists the URLs on your site that you want search engines to crawl and index. It follows the sitemaps.org protocol supported by Google, Bing, Yandex and others:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/blue-widgets/</loc>
<lastmod>2026-11-05</lastmod>
</url>
</urlset>
Search engines find most pages by following links, but a sitemap helps them discover new pages faster, find pages with few internal links, and understand when content was last updated. It is especially useful for new sites, large sites and sites with pages that are hard to reach through navigation.
Why check URLs
Why this generator checks every URL first
A sitemap should be a clean list of your best, indexable pages. Google has said that sitemaps full of errors make it trust the file less. So before building the XML, this sitemap generator requests every URL and sorts them:
- 200 OK: added to the sitemap.
- Redirects: left out by default, because a sitemap should list the final URL, not one that redirects. Tick Keep URLs that redirect if you need them.
- 404, 410, 5xx and unreachable: always left out.
The table under the sitemap shows the status of every URL you pasted, so the same run doubles as a quick health check. Duplicates and #fragments are removed automatically.
Advertisement
Sitemap tags
lastmod, changefreq and priority
| Tag | Used by Google? | Advice |
<loc> | Yes (required) | The full, canonical URL, including https. |
<lastmod> | Yes, if accurate | The date the content last changed meaningfully. Do not set every page to today on every run unless they really changed. |
<changefreq> | No | Ignored by Google. Leave it out unless another engine you target uses it. |
<priority> | No | Ignored by Google. "Auto by URL depth" gives the home page 1.0 and deeper pages less, for other engines. |
A single sitemap may hold up to 50,000 URLs and 50 MB uncompressed. Larger sites split URLs across several sitemaps and list them in a sitemap index file.
Submitting
How to submit your sitemap
- Upload
sitemap.xml to the root of your site, so it opens at https://yourdomain.com/sitemap.xml.
- Add a line to your robots.txt:
Sitemap: https://yourdomain.com/sitemap.xml. The robots.txt generator can do this for you.
- In Google Search Console, open Sitemaps, enter the URL and submit. Do the same in Bing Webmaster Tools, which also shares data with other engines through IndexNow.
- Regenerate and resubmit when you add or remove important pages.
Only include canonical URLs. Check them with the canonical URL checker, and use the HTTP status code checker to re-test a large list later. WordPress, Shopify and most CMSs build sitemaps automatically, so this tool is best for static sites, custom PHP sites, landing page collections, and for checking or rebuilding a broken sitemap.
Sitemap types
Other types of sitemaps
The standard XML sitemap lists web pages, but the protocol has extensions for other content:
- Sitemap index: a file that lists other sitemap files, used when you have more than 50,000 URLs or want to split sitemaps by section, such as posts, products and categories.
- Image sitemaps: add
<image:image> entries to help Google find images that are loaded by JavaScript.
- Video sitemaps: describe videos with title, thumbnail and duration.
- News sitemaps: for publishers in Google News, listing articles from the last two days.
- Hreflang in sitemaps: list language and country versions of each page with
xhtml:link entries, an alternative to hreflang tags in the HTML.
Most small and medium sites only need one plain URL sitemap like the one this tool creates. Keep it accurate rather than exhaustive: include every page you want found in search, and leave out thin pages, internal search results, filtered listing pages, pages blocked by robots.txt and anything with a noindex tag or a canonical pointing elsewhere.
After submitting, the Sitemaps report in Search Console shows how many URLs were discovered and whether Google could read the file. The Page indexing report then shows which of those URLs were indexed and why others were not.
FAQ
XML Sitemap Generator: frequently asked questions
What is an XML sitemap generator?
A tool that turns a list of URLs into a sitemap.xml file in the format search engines read, ready to upload and submit.
How many URLs can I add?
Up to 1,000 URLs per sitemap here. The sitemap standard allows up to 50,000 URLs per file.
Why were some of my URLs left out?
They returned an error, could not be reached, or redirected to another URL. A sitemap should only list live, final URLs.
Does Google use changefreq and priority?
No. Google ignores both. It uses lastmod when the dates are accurate.
Where do I put sitemap.xml?
In the root folder of your site, then reference it in robots.txt and submit it in Google Search Console.
Do I need a sitemap if my CMS makes one?
No, but you can use this tool to check that the URLs in your existing sitemap are all live.
What is a sitemap.txt file?
A plain text sitemap with one URL per line. Google accepts it as an alternative to XML.
Is this sitemap generator free?
Yes, free with no sign-up. The URLs you paste are not stored.