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
- 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.
- 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.
- 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.
- Click to generate. The tool wraps each URL in the required XML structure, assigns a priority automatically, and produces the complete sitemap file.
- 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.
- 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.
- 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.
- 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
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.
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.
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.
Ten absolute URLs pasted one per line, change frequency set to weekly
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.
All important URLs of a new site, change frequency set to daily during launch
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.
A curated set of canonical URLs rather than every URL that exists
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
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.
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.
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.
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.
| Field | What it says | This tool | |
|---|---|---|---|
| <loc> | The page URL | Read and used | Yes |
| <lastmod> | Last modified date | Used if accurate | No, add manually |
| <changefreq> | How often it changes | Ignored | Yes |
| <priority> | Relative importance | Ignored | Yes, auto-assigned |
| Sitemap in robots.txt | Where to find it | Read for discovery | Add the line yourself |
| Submitted in Search Console | Direct notification | Processed, reported | Do 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
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.