XML sitemap generator
This XML sitemap generator turns a pasted list of page addresses into valid sitemap files, with the XML escaped, the 50,000 address and 50 MB limits applied, and an index file created when your list needs more than one file. It does not crawl your site, and it runs in your browser.
Runs in your browser. Nothing you type is sent to us.Last checked 2 November 2026
What this tool does not do
- It does not crawl or visit your site. It formats the list you paste, so it cannot tell whether an address exists, redirects, is blocked or carries a noindex tag.
- It cannot decide which pages belong. Only pages you want found, in their preferred form, should be listed, and that judgment is yours.
- A sitemap is a hint. Google says submitting one does not ensure that the pages in it will be crawled or indexed.
- It writes the standard address list only. It does not write image, video, news or hreflang extensions, and it does not compress files.
- It cannot supply accurate dates. Any last modified value comes from what you type, so it is only as reliable as your own records.
On this page
- What is an XML sitemap generator?
- How do I use the XML sitemap generator?
- What does a sitemap file contain, tag by tag?
- What are the sitemap limits and how does this tool apply them?
- Should I include lastmod, changefreq and priority?
- What are the common sitemap mistakes?
- When is a free sitemap generator not enough?
- Sources
What is an XML sitemap generator?
An XML sitemap generator turns a list of page addresses into the XML file search engines read to learn which pages you consider important. This one takes a pasted list, escapes the characters XML does not allow, applies the protocol limits and splits the output into several files with an index when the list is long.
Because it works from a list rather than a crawl, it is a formatting tool and not a discovery tool. That suits a small site, a landing-page set, a staging check or any case where you already know exactly which addresses should be listed. The list can come from a content management system export, a spreadsheet or a crawler you run yourself.
The background on what a sitemap is and how search engines use one is in the guide to sitemaps, and sitemaps sit within the wider job of making a site easy for search engines to process. Everything here is built with fixed rules in your browser. No model is involved and no address you paste is sent anywhere.
The point
The background on what a sitemap is and how search engines use one is in the guide to sitemaps, and sitemaps sit within the wider job of making a site easy for search engines to process.
How do I use the XML sitemap generator?
Paste your addresses, choose whether to include dates, read the checks and any skipped lines, then copy or download the file and upload it to your site. The steps below cover the choices that matter and what to do with the file afterwards.
- Paste one full address per line, each starting with https:// or http://. The example list loads by default so you can see the output before you replace it.
- Leave Last modified dates on Leave lastmod out unless you know when each page really changed. Choose Dates typed after each address if you do, and add the date after the address, for example 2026-03-14.
- Leave change frequency and priority empty. They are valid in the protocol, but Google ignores them.
- Read the checks and the Skipped lines panel. Each skipped line says what to fix, such as adding https:// or writing a space as %20.
- Copy the file or download it. If your list is long, the tool splits it into numbered files and an index. Choose a file from the menu to see it.
- Upload the file to the root of your site so it opens at your domain followed by /sitemap.xml. Then submit its address in the Sitemaps report in Google Search Console.
- Optionally add a Sitemap line to your robots.txt file. The robots.txt generator writes that line for you and tests addresses against your rules.
What does a sitemap file contain, tag by tag?
A sitemap file is an XML document with a urlset wrapper holding one url entry per page. Each entry must contain a loc, the full address, and may contain lastmod, changefreq and priority. Only loc is required, and Google does not use two of the three optional tags.
| Element | Required | What it holds | What to know |
|---|---|---|---|
| urlset | Yes | The wrapper for the file. It declares the sitemap namespace, http://www.sitemaps.org/schemas/sitemap/0.9. | The tool writes this, and the XML declaration that sets UTF-8 encoding, for you. |
| url | Yes | One entry per page, containing the elements below. | One url block is written for each address you list. |
| loc | Yes | The full address of the page, beginning with the protocol, and fewer than 2,048 characters long. | Spaces, accented characters and the five reserved XML characters need handling. The tool does this and reports it. |
| lastmod | No | When the page was last modified, in W3C Datetime format. A plain date such as 2026-03-14 is enough. | Google uses it only if it is consistently and verifiably accurate. Changing a copyright year does not count as an update. |
| changefreq | No | A hint using one of always, hourly, daily, weekly, monthly, yearly or never. | Google ignores it. |
| priority | No | A number from 0.0 to 1.0 that ranks the page against your own other pages. The protocol default is 0.5. | Google ignores it. It never compares your site with anyone else's. |
What are the sitemap limits and how does this tool apply them?
A single sitemap file may hold at most 50,000 addresses and 50 MB uncompressed, which is 52,428,800 bytes. Beyond either limit you need several files and a sitemap index. The table sets out each limit and what this tool does when your list reaches it.
| Rule | Limit or requirement | What this tool does |
|---|---|---|
| Addresses per file | 50,000 at most. | Starts a new numbered file at the limit and writes an index that lists them. Exactly 50,000 stays in one file; 50,001 becomes two. |
| File size | 50 MB uncompressed. Compressing with gzip is allowed, but the limit applies to the uncompressed file. | Counts the UTF-8 bytes of each file and starts a new one before the limit. It does not compress. |
| Address length | Fewer than 2,048 characters. | Skips any longer address and tells you which line. |
| Encoding | UTF-8, with addresses URL-escaped and the five XML characters (&, <, >, quote and apostrophe) written as entities. | Writes the declaration, converts non-English characters to percent-encoded form, converts domain names to punycode and escapes the entities. |
| Protocol and host | Every address must use the same protocol and sit on the same host as the sitemap. A subdomain cannot be listed in another subdomain's sitemap. | Leaves out addresses that differ from the first one, unless you turn that option off, and says how many it left out. |
| Folder | Unless you submit through Search Console, a sitemap affects only addresses in its own folder and below. Google recommends the site root. | Cannot know where you will upload the file. Put it in the root so it can cover the whole site. |
| Index files | A sitemap index lists sitemap files. It cannot list another index. An index may hold up to 50,000 sitemaps. | Writes a single-level index when needed, with each file's address built from the first address in your list. |
Should I include lastmod, changefreq and priority?
Include lastmod only if you can keep it accurate, and leave changefreq and priority out. Google ignores the last two, and it uses lastmod only when it is consistently and verifiably accurate. A date that is wrong, or the same on every page, gives it nothing to use.
Google says a change to the main content, structured data or links counts as a significant update, and a new copyright year does not. If your content management system records each page's real modified date, let it produce the sitemap automatically rather than typing dates by hand. The per-line dates in this tool suit a small site where you keep your own record of changes, such as a spreadsheet.
The one-date-for-everything option exists for a launch, when every page really is new on the same day. It shows a warning every time you use it because the common misuse is stamping the day you built the file on every page. That claims every page changed on that day, which will usually be untrue the next time you rebuild the file.
Changefreq and priority are still part of the sitemaps.org protocol, which is why the tool can write them. Another system you use may read them. They are off by default because writing them will not change how Google crawls your site.
The point
Changefreq and priority are still part of the sitemaps.org protocol, which is why the tool can write them.
What are the common sitemap mistakes?
Most sitemap problems come from listing the wrong addresses, not from the XML. The generator catches the formatting errors and flags some patterns, but it cannot see your live site, so the first mistake below is one you have to check yourself.
- Listing pages that redirect, return an error or are marked noindex. A sitemap should name pages you want in search results, so check the list against the live site with a crawler or the Search Console reports before you upload.
- Mixing versions of the same address: http and https, www and non-www, with and without a trailing slash. The tool flags mixed hosts and mixed slash styles. Choose one form per page and keep new page addresses consistent, which the URL slug generator helps with.
- Listing filter, sort and tracking variations. An address with a query string belongs only if it is the preferred, canonical address of a page you want found.
- Pasting addresses that are already XML-escaped. If a list contains & the tool will escape the ampersand again and produce &amp;. Paste addresses as they appear in the browser.
- Uploading the file to a subfolder. Unless you submit through Search Console, a sitemap affects only the addresses at or below its own folder.
- Never updating it. A hand-built file is a snapshot. After a site move it is wrong on day one, so rebuild it as part of the SEO migration checklist, and let your platform generate it if pages change often.
- Expecting the sitemap to fix indexing. It tells Google a page exists and matters; it does not make Google index it. Why a page is not indexed works through the real causes.
When is a free sitemap generator not enough?
A free generator is enough for a small, stable site where you know every address. Google says you may not need a sitemap at all if your site has about 500 pages or fewer and is comprehensively linked. It is not enough for a large or frequently changing site, where the file should be produced by the platform and kept accurate automatically.
It is also not enough when you need to know what to list. Deciding which addresses are canonical, which are duplicates and which should stay out is analysis of your live site, and it is part of technical SEO and of any SEO audit. Large catalogues add their own problems, because product variants and filters multiply addresses, which is the territory of ecommerce SEO.
If your site has language or country versions, Google says sitemaps can carry that information through extensions, which this tool does not write. The hreflang tag generator covers the tags themselves. If you would like someone to check your sitemap against your live site, contact Prabhu Solutions. The company is registered in Oldbury in the West Midlands, works with businesses across the UK and delivers its work remotely.
The point
If your site has language or country versions, Google says sitemaps can carry that information through extensions, which this tool does not write.
Sources
These are the sources behind the rules this tool applies. The protocol and Google's documentation are the authorities here, and the page records the date each was checked.
- sitemaps.org, Sitemaps XML format: required and optional tags, 50,000 address and 50 MB limits, entity escaping, address length and location rules, https://www.sitemaps.org/protocol.html, checked 2 November 2026
- Google Search Central, Build and submit a sitemap: supported formats, lastmod guidance, priority and changefreq ignored, absolute addresses, submission methods, https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap, checked 2 November 2026
- Google Search Central, Learn about sitemaps: what a sitemap tells Google, when you may not need one, that crawling and indexing of listed pages is not assured, https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview, checked 2 November 2026
- Google Search Console Help, Sitemaps report: submitting a sitemap and the Success, Has errors and Couldn't fetch statuses, https://support.google.com/webmasters/answer/7451001, checked 2 November 2026
Questions people ask about this tool
Is this XML sitemap generator free, and does it send my URLs anywhere?
It is free, and nothing you paste leaves your browser. The sitemap is built by fixed rules running on the page, with no server call and no stored data. The addresses and dates you enter are not sent to Prabhu Solutions or anyone else, and no model is involved.
Does this tool crawl my website?
No. It formats the list of addresses you paste and nothing else. It does not visit your pages, check their status codes or discover new ones, so it cannot know whether an address exists or redirects. For that you need a crawler you run yourself, or the Search Console reports after you submit.
How many URLs can an XML sitemap contain?
A single sitemap file can hold 50,000 addresses or 50 MB uncompressed, whichever limit you reach first. Beyond that you split the list into several files and group them with a sitemap index. This tool counts both limits, numbers the files and writes the index for you.
Does Google use priority and changefreq?
No. Google's documentation says it ignores both values. They remain valid in the sitemaps.org protocol, so the tool can write them if another system you use expects them, but they are off by default and will not change how Google crawls your site.
Should I include lastmod in my sitemap?
Only if the dates are accurate. Google uses lastmod when it is consistently and verifiably accurate, and a copyright-year change does not count as an update. If you do not know when each page really changed, leave the element out rather than guess or stamp one date on everything.
Does a sitemap improve my rankings?
No. A sitemap is a hint about which pages exist and matter, not a ranking lever. It can help Google find new or deep pages, but Google says it does not ensure that listed pages are crawled or indexed. Its value lies in listing only pages you genuinely want found.
Where do I put the sitemap file and how do I submit it?
Upload it to the root of your site, such as /sitemap.xml, because a sitemap affects only addresses at or below its own folder. Then submit its address in the Search Console Sitemaps report. You can also add a Sitemap line to robots.txt. Google treats submission as a hint, not a promise.
Do I need a sitemap at all?
Not always. Google says a site of about 500 pages or fewer that is comprehensively linked internally may not need one. A sitemap helps more on large sites, on new sites with few external links, and on sites with pages that are hard to reach by following links.
More free tools
- Robots.txt generatorBuild a robots.txt file, check it for mistakes and test any address against it.
- Hreflang tag generatorTurn a list of language and region versions into valid hreflang tags, sitemap entries or a header.
- URL slug generatorTurn page titles into clean slugs, and check addresses you already have.
When a tool is not enough
Read next
What Is a Sitemap? XML and HTML Sitemaps, What They Do and How to Submit One
A sitemap lists the pages you want search engines to find. Here is what an XML sitemap looks like, how it differs from an HTML sitemap, how to submit one in Search Console and what commonly goes wrong.
Why Isn't My Site Indexed by Google? How to Read the Page Indexing Report
Pages go unindexed for a handful of reasons: blocking, noindex, conflicting canonicals, redirects, errors, weak content, or Google not having reached them yet. Here is how to tell which, and what to do.
The SEO Migration Checklist: What to Do Before, During and After a Site Move
A site move loses rankings for ordinary, avoidable reasons. This is the checklist in working order, why each step exists, what usually goes wrong, and when the best plan is not to migrate.
