Calculators Converters Generators Developer Tools Finance Tools Writing Tools SEO Tools
Blog About Contact

Sitemap Generator

An XML sitemap is a file that lists the pages on your site you want search engines to know about. It does not make pages rank, and it does not guarantee they get indexed. What it does is help search engines discover your pages efficiently, which matters most for large sites, new sites with few external links, and pages buried deep in your structure. This tool builds a valid sitemap from a list of URLs you paste in, one per line, and formats them into the XML structure search engines expect. It does not crawl your site for you, so you supply the URLs. It runs entirely in your browser. The sections below explain what each part of a sitemap does, which parts search engines actually pay attention to, and the difference between having a sitemap and getting indexed, because they are not the same thing.

How to Use the XML Sitemap Generator - Step by Step

  1. Gather the URLs you want in the sitemap. Include the canonical version of each page you want indexed, using full absolute URLs with https. Leave out pages you do not want in search, such as thank-you pages, login pages, or duplicate URLs, because a sitemap is a list of what you want found, not simply every URL that exists.
  2. Paste the URLs into the input box, one per line. The tool treats each line as a separate page. Make sure each is a complete URL beginning with https://, since a sitemap requires absolute URLs and will not work with relative paths.
  3. Choose a "Change Frequency" from the dropdown. This tells search engines how often the page typically changes, from always to never. Be aware, and this matters, that Google ignores this value entirely. It is included because the sitemap protocol defines it and some other search engines read it, but do not spend time agonising over it.
  4. Click to generate. The tool wraps each URL in the required XML structure, assigns a priority automatically, and produces the complete sitemap file.
  5. Note the priority values. The tool marks your first URL and any URL ending in a slash as priority 1.0, and everything else as 0.8. Priority is a relative hint about which pages matter most on your own site. Like change frequency, Google ignores it, so these numbers are cosmetic and not worth adjusting.
  6. Copy the output and save it as sitemap.xml. Use that exact lowercase name unless you have a reason to use another, in which case reference the correct name everywhere below.
  7. Upload sitemap.xml to your site, usually at the root so it resolves at yoursite.com/sitemap.xml. Then reference it in your robots.txt with a line reading "Sitemap: https://yoursite.com/sitemap.xml", which is how crawlers discover it automatically.
  8. Submit it in Google Search Console under the Sitemaps report, and in Bing Webmaster Tools. Submission is what actively tells the search engines to fetch and process it, and the report there shows how many URLs were discovered and any errors found.

The Parts of a Sitemap, and What Search Engines Read

<url> <loc>https://yoursite.com/page</loc> the page URL (read and used) <changefreq>weekly</changefreq> how often it changes (ignored by Google) <priority>0.8</priority> relative importance (ignored by Google) </url> Not included by this tool: <lastmod>2026-07-25</lastmod> last modified (used by Google, if honest)
<loc>
Location

The full absolute URL of the page. This is the part that matters. It must be the canonical version, use https, and point to a page that returns a 200 status, not a redirect or an error.

<changefreq>
Change Frequency

A hint about how often the page changes, from always to never. Google ignores it. Some other engines read it. This tool sets it from the dropdown you choose.

<priority>
Priority

A number from 0.0 to 1.0 indicating a page importance relative to your other pages. Google ignores it. This tool assigns 1.0 to the first URL and any ending in a slash, and 0.8 to the rest.

The single most useful thing to understand about a sitemap is which parts search engines actually use, because most of what the format allows is ignored. The loc element, the URL itself, is read and used. That is the real content of a sitemap. Change frequency and priority, both of which this tool includes, are ignored by Google entirely. Google has stated plainly that it does not use them, because sites set them inaccurately so often that they carry no signal. They do no harm, and some smaller search engines read them, which is why the protocol keeps them, but do not spend effort tuning them. The notable omission is lastmod, the last-modified date, which this tool does not generate and which Google does use, provided it is accurate. An honest lastmod helps Google prioritise recrawling pages that actually changed. But Google has also said it distrusts lastmod when it does not match real changes on the page, and a sitemap where every URL claims to have changed today is a signal it learns to ignore. This is the same principle that governs honest dating anywhere: a freshness claim is only useful if it is true. If you want the benefit of lastmod, add it by hand only to the URLs that genuinely changed, rather than stamping every page with the current date. A sitemap that tells the truth about what changed is worth more than one that claims everything is always new. Finally, understand what a sitemap is for. It aids discovery. It helps search engines find your pages. It does not make them rank, and it does not guarantee indexing. A page in your sitemap that Google judges thin or duplicate will still be left unindexed. The sitemap gets the page looked at; the page has to earn the rest.

XML Sitemap Generator - Worked Examples

Example 1 - A Small Business Site

A ten-page site pastes its ten canonical URLs, one per line: the homepage, four service pages, an about page, a contact page, and three articles. The tool produces a sitemap with ten url entries, the homepage marked priority 1.0 because it is first, and the rest at 0.8. The owner saves it as sitemap.xml, uploads it to the root, adds a Sitemap line to robots.txt, and submits it in Search Console. For a site this size the sitemap adds little that internal links would not, but it is quick, correct, and gives Search Console a clean list to report against.

Inputs

Ten absolute URLs pasted one per line, change frequency set to weekly

Result

A valid ten-entry sitemap.xml ready to upload and submit

Example 2 - A New Site With Few Backlinks

A freshly launched site has no external links pointing to its inner pages, so search engines have no path to discover them except the homepage. This is where a sitemap earns its place. Pasting every important URL gives crawlers a direct list rather than making them find pages by following links that do not yet exist. Combined with submitting the sitemap in Search Console, this is one of the more effective things a new site can do to speed up discovery, though discovery still does not guarantee indexing.

Inputs

All important URLs of a new site, change frequency set to daily during launch

Result

A sitemap that gives crawlers a direct discovery path to every page

Example 3 - Why You Do Not Just Dump Every URL

A common mistake is pasting every URL a site produces, including filtered category views, paginated duplicates, and tag pages that all show similar content. A sitemap should list the canonical pages you want indexed, not every URL that resolves. Including near-duplicates invites search engines to crawl and weigh pages that dilute your site rather than strengthen it. Before pasting, decide which single version of each page is the one you want found, and list only those.

Inputs

A curated set of canonical URLs rather than every URL that exists

Result

A focused sitemap that points search engines at your best pages

Who Uses the XML Sitemap Generator?

New Site Owners

Giving search engines a complete list of pages at launch, when few or no external links exist to help crawlers discover inner pages by following them. This is the situation where a sitemap makes the most difference to how quickly a site gets found.

Owners of Sites Built Without a CMS

Producing a sitemap manually for a static or hand-built site that does not generate one automatically, where the alternative is having no sitemap at all and relying entirely on crawlers finding pages through internal links.

People Restructuring a Site

Creating a fresh sitemap after changing URLs or reorganising a site, so search engines are pointed at the new canonical URLs rather than continuing to crawl the old structure they already know.

Anyone Curating What Gets Indexed

Deliberately listing only the canonical pages worth indexing, as a way of telling search engines which version of similar pages to prefer, rather than leaving them to crawl and weigh every URL a site produces.

Common Sitemap Mistakes to Avoid

⚠️Believing a Sitemap Makes Pages Rank or Index

A sitemap aids discovery and nothing more. It helps search engines find your pages, but it does not make them rank, and it does not guarantee indexing. A thin or duplicate page listed in a sitemap will still be left out of the index. If pages are not being indexed, the sitemap is rarely the problem; the page quality or duplication usually is. Treat the sitemap as a discovery aid, then make sure the pages it lists deserve to be indexed.

⚠️Listing Non-Canonical or Broken URLs

Every URL in a sitemap should be the canonical version of the page, return a 200 status, and be a page you actually want indexed. Including redirects, error pages, or non-canonical duplicates sends search engines conflicting signals and wastes crawl budget. Before generating, check that each URL loads directly without redirecting and is the single version of that page you want found. A sitemap full of redirects and duplicates is worse than a shorter, clean one.

⚠️Stamping Every Page With Today as the Modified Date

This tool does not add a last-modified date, which sidesteps a common trap, but if you add lastmod by hand, add it only to pages that genuinely changed. A sitemap where every URL claims to have been modified today tells Google nothing true, and Google learns to distrust lastmod values that do not match real changes on the page. An accurate lastmod on the handful of pages that actually changed is far more useful than a blanket current date on everything.

⚠️Forgetting to Submit or Reference the Sitemap

Generating and uploading a sitemap does little on its own if nothing points to it. Two steps make it work: add a Sitemap line to your robots.txt so crawlers discover it automatically, and submit it in Google Search Console and Bing Webmaster Tools so the search engines fetch and process it directly. Submission also unlocks the coverage reports that tell you how many URLs were found and which had problems, which is where sitemap value actually shows up.

What Search Engines Do With Each Sitemap Field

A sitemap allows several fields, but search engines treat them very differently. Knowing which are read and which are ignored saves you from tuning values that do nothing, and tells you what actually matters.

FieldWhat it saysGoogleThis tool
<loc>The page URLRead and usedYes
<lastmod>Last modified dateUsed if accurateNo, add manually
<changefreq>How often it changesIgnoredYes
<priority>Relative importanceIgnoredYes, auto-assigned
Sitemap in robots.txtWhere to find itRead for discoveryAdd the line yourself
Submitted in Search ConsoleDirect notificationProcessed, reportedDo this after upload

Verified against Google Search Central documentation and the sitemaps.org protocol. Google confirms it does not use changefreq or priority. It does use lastmod when the value is accurate, and disregards it when values are unreliable, such as a blanket current date across all URLs. A single sitemap file may contain up to 50,000 URLs and be up to 50MB uncompressed; larger sites split into multiple files referenced by a sitemap index. A sitemap supports discovery and does not guarantee indexing. This tool emits loc, changefreq, and priority, and does not emit lastmod.

Frequently Asked Questions

It is a file listing the pages on your site that you want search engines to know about, formatted in a structure they can read. It helps them discover your pages efficiently, which matters most for large sites, new sites, and pages that are hard to reach through links. It does not make pages rank and does not guarantee indexing. Its job is discovery, not ranking.
No, not directly. A sitemap helps search engines find your pages, but finding a page and ranking it are different things. Ranking depends on the page content, relevance, and authority. A sitemap can help a good page get discovered and therefore have the chance to rank, but it adds nothing to a page that does not deserve to rank on its own merits. Think of it as a discovery aid, not a ranking factor.
No. It formats a list of URLs that you paste in, one per line. You supply the URLs, and the tool wraps them in valid sitemap XML. This is deliberate: it runs entirely in your browser and sends nothing to any server. If you need to discover every URL on a large site automatically, you would use a crawler such as Screaming Frog first, then paste the results here or export directly from your CMS.
No. Google has stated plainly that it ignores both priority and change frequency, because sites set them inaccurately so often that they carry no reliable signal. This tool includes them because the sitemap protocol defines them and some other search engines read them, but there is no point tuning them for Google. The URL itself is what matters.
It omits lastmod, which is actually the one optional field Google does use. The reason omitting it is defensible is that an inaccurate lastmod is worse than none: a sitemap claiming every page changed today is a signal Google learns to distrust. If you want the benefit, add lastmod by hand to the specific pages that genuinely changed, using the format YYYY-MM-DD. An honest date on a few pages beats a false date on all of them.
Upload it to your site, usually at the root so it loads at yoursite.com/sitemap.xml. Then do two things: add a line to robots.txt reading "Sitemap: https://yoursite.com/sitemap.xml" so crawlers find it automatically, and submit it in Google Search Console under the Sitemaps report and in Bing Webmaster Tools. Submission is what actively notifies the search engines and unlocks the coverage reports.
A single sitemap file can hold up to 50,000 URLs and be up to 50MB uncompressed. Sites larger than that split their URLs across multiple sitemap files and list those files in a sitemap index, which is a sitemap of sitemaps. For most sites one file is more than enough. If you are approaching the limit, that is the point to move to a generated, automated sitemap rather than a manual one.
No. A sitemap should list the canonical pages you want indexed, not every URL your site produces. Leave out thank-you pages, login pages, filtered or paginated duplicates, and anything you would not want appearing in search. Including near-duplicates invites search engines to crawl and weigh pages that dilute your site. A focused sitemap of your best canonical pages is more useful than an exhaustive one.
For a small, well-linked site, a sitemap adds little, because crawlers can reach every page by following internal links. It still does no harm and gives Search Console a clean list to report against. Sitemaps matter most for large sites, new sites without external links, and sites with pages that are hard to reach through navigation. For a ten-page site with good internal linking, it is optional but tidy.
Because a sitemap aids discovery but does not guarantee indexing. If Google has crawled a page and chosen not to index it, the usual reasons are thin content, duplication of another page, or the page being judged low value, none of which a sitemap can fix. Check the Page Indexing report in Search Console for the specific reason given. The fix is almost always improving or consolidating the page, not changing the sitemap.

Why Use the Sitemap Generator on GlobalUtilityHub?

The Sitemap Generator is part of our collection of 68 free online utilities designed to make your life easier. We understand that in today's fast-paced digital world, you need tools that are not only accurate but also respect your time and privacy. That's why our sitemap generator runs entirely on the client side, meaning your data is processed instantly in your browser and never sent to any server.

Our commitment to a premium user experience means you won't find intrusive pop-ups or mandatory registration requirements here. Whether you are using this seo tool for professional work, academic research, or personal planning, you can count on a clean, ad-light interface that works perfectly on any device - from high-resolution desktops to small smartphone screens.

Every tool on our platform, including the Sitemap Generator, is regularly updated to ensure compliance with modern standards and mathematical accuracy. By choosing GlobalUtilityHub, you are joining a community of millions of users who trust us for their daily calculation, conversion, and generation needs. Explore our other SEO Tools or check out our blog for deep-dive guides on how to optimize your productivity.