XML Sitemap Generator is safe for a reviewed list of public URLs because all parsing and file creation happen in the current browser tab, and neither the pasted URLs nor the generated XML are uploaded. Safety still depends on what you paste: the tool cannot determine whether a page is private, blocked, redirected, missing, canonical, or indexable.
Treat sitemap-generator safety as three separate questions: Does site data leave the browser? Does the tool produce structurally valid XML? Does the resulting file contain only URLs you want discovered? The workflow can answer the first two directly; the third remains a publishing decision.

What safety means in a sitemap workflow
A safe sitemap workflow protects both the information you provide and the integrity of the resulting file. It also avoids presenting an unverified list as if it were automatically suitable for publication.
| Safety layer | What the workflow controls | What remains your responsibility |
|---|---|---|
| Data handling | URL parsing and XML creation occur in the current browser tab, and the URLs and generated XML are not uploaded. | Exclude confidential paths, signed links, query strings containing secrets, and any internal page you do not want exposed. |
| URL validity | The tool validates absolute HTTP and HTTPS URLs, normalizes them, removes duplicates, and limits each file to one serialized host. | Choose the preferred public URLs and check redirects, canonical versions, HTTP status, and indexability separately. |
| XML integrity | Special characters are escaped, the official Sitemaps namespace is applied, and invalid optional metadata stops generation. | Make sure every URL and shared metadata value is factually accurate. |
| Publication | The tool prepares a local sitemap.xml download and does not submit it to a search engine. | Review the completed file, choose its public location, and confirm that its URL list is appropriate for discovery. |
XML escaping protects the document’s structure, not the confidentiality of the content. A syntactically valid URL can still point to a page, redirect, token, or internal path that should not appear in a public sitemap.
Where the URL list is processed
For the browser-based workflow in this article, the XML Sitemap Generator converts only the list you provide. It does not request those pages, follow links, inspect the represented site, or submit a sitemap to a search engine.
The URLs and finished XML remain in the current browser tab. The download uses a temporary Object URL owned by the current result. Editing a URL or option revokes that download and clears the old XML and error state; generating again revokes the previous download, and a Blob or Object URL failure leaves no stale result.
This approach reduces upload risk and does not modify the website, CMS, robots.txt, or search-engine account. The tool creates a file for later publication; it does not publish that file for you.
It also cannot confirm where the finished sitemap will ultimately be hosted or whether you have permission to submit it through another site or account. Those publication and authorization decisions remain outside the generator.
Create sitemap.xml from a reviewed URL list
- Build a reviewed list. Include the preferred public pages you want search engines to discover. Exclude known redirects, duplicate-content variants, blocked or private pages, and missing URLs because the generator does not make those checks.
- Paste one absolute page URL per line. Every nonblank line must begin with HTTP or HTTPS. Use one host per file, and include any non-default port as part of that host. Do not paste bare domains, relative paths, FTP URLs, credentials, fragments, or URLs padded with leading or trailing spaces.
- Choose optional metadata carefully. Leave the fields blank for loc-only XML, or enter a truthful shared lastmod, changefreq, or priority. Each supplied value applies to every URL, so a shared modification date should not describe only part of the list.
- Generate and inspect the complete result. Review the full XML and the reported counts before downloading. Confirm the host, normalized locations, first-seen output order, and duplicate count. If validation fails, correct the invalid line or option rather than assuming the bad entry was skipped.
- Download and publish sitemap.xml on the represented site. The downloaded file is separate from automatic submission. Google’s Build and submit a sitemap guide explains publication and submission options, but the generator itself does not submit the result.
Checks that prevent malformed or misleading output
Every nonblank line is validated as a complete URL before output is produced. Accepted URLs are serialized with the browser URL parser described by the WHATWG URL Standard, then compared for duplication.
| Check | Exact behavior |
|---|---|
| URL form | Each nonblank line must be an absolute HTTP or HTTPS URL. Bare domains, relative paths, FTP URLs, malformed percent escapes, raw control characters, embedded credentials, and fragments cause the request to fail. |
| Whitespace | Whitespace-only lines are ignored, but leading or trailing whitespace on a nonblank line is rejected rather than silently trimmed. |
| Host scope | Each file is restricted to one serialized host, including any non-default port. HTTP and HTTPS URLs for the same host can coexist, while a different host or port requires a separate file. |
| Normalization | Host names are lowercased, default ports are removed, a required root slash is added, and non-ASCII URL components are percent-encoded. Existing valid percent escapes remain URL escapes. |
| Duplicates | Deduplication occurs after serialization. The first occurrence determines output order, and later occurrences increment the duplicate count without creating another entry. |
| XML structure | The output starts with a UTF-8 declaration and uses the official Sitemaps 0.9 namespace. Each entry contains url and loc, with XML special characters entity-escaped. |
Leave optional fields blank for a loc-only sitemap. Otherwise, lastmod accepts a real Gregorian YYYY-MM-DD date or a complete date-time with seconds and Z or a valid UTC offset. Changefreq accepts always, hourly, daily, weekly, monthly, yearly, or never, while priority accepts a decimal from 0.0 through 1.0. Invalid optional metadata fails the whole generation. These values are protocol hints, not crawl commands or ranking guarantees.
Limits that stop generation instead of hiding errors
- Location length: A normalized location can contain at most 2,047 characters, consistent with the protocol’s requirement for fewer than 2,048 characters per loc.
- Unique URLs: The browser tool accepts up to 10,000 unique URLs. The 10,000th unique URL is accepted, while the next one fails. Duplicate lines do not consume output slots.
- Input size: The pasted list is limited to 5,000,000 UTF-16 code units.
- Final XML size: The maximum is 10,485,760 UTF-8 bytes, measured after URL serialization, XML escaping, optional tags, indentation, and encoding. The exact boundary is accepted; one additional byte is rejected.
- Failure behavior: Limits are all-or-nothing. Invalid lines are never skipped, excess valid URLs are never silently dropped, and no shortened XML, ellipsis, capped preview, or partial download is returned.
The Sitemaps XML protocol permits up to 50,000 URLs and 52,428,800 uncompressed bytes per file, but this browser tool intentionally uses lower budgets to bound parsing, preview, Blob, and browser memory. If the list exceeds its budget, create separate files. Combining those files with a sitemap index is outside the generator’s supported output.
Review the sitemap before publication
Inspect the complete preview and counts before making the file available. Look for redirects, duplicate content, blocked pages, private pages, missing pages, and URLs pointing to a canonical version other than the one you intended to list. The tool can validate URL syntax, but it cannot identify these page-level problems.
A valid XML document can still expose an internal path or list a page that returns an error. Embedded credentials are rejected, but that protection does not make a private path safe to publish. Review paths and query strings, and treat the completed sitemap as a public list once it is uploaded.
Confirm that the file will be published on the site it represents and that every listed page is appropriate for discovery. For a second-pass review, the guide to build a validated sitemap.xml from a reviewed URL list provides additional checks. A valid sitemap can assist discovery, but it does not guarantee crawling, indexing, or rankings.
What this workflow cannot guarantee
The generator does not visit pages, follow links, inspect canonical tags, read modification dates, discover redirects, verify HTTP status, determine indexability, or submit the result to a search engine. It also does not create sitemap indexes, image, video, or news extensions, hreflang markup, gzip files, or robots.txt rules.
The safest supported workflow is therefore deliberately narrow: supply a reviewed list of public URLs, use optional metadata only when a shared value is truthful, generate and inspect the complete XML, download the file, and publish it only after checking the final list. The sitemap is only as accurate as the URLs and metadata you provide.
For a deeper look, see Extract URLs From Sitemap: Tips and Common Mistakes.