A sitemap generator can turn a reviewed list of absolute page URLs into one standards-based XML sitemap in a browser, without crawling the site or uploading the URL list. It works from a list of pages you have already selected. The XML Sitemap Generator validates absolute HTTP and HTTPS URLs, removes duplicates in first-seen order, optionally adds shared metadata, displays the finished UTF-8 XML, and prepares a local sitemap.xml download. Open its page in a browser, paste one URL per line, choose optional shared values only when they are truthful, generate the complete XML, review the counts, and download sitemap.xml. All parsing and file creation happen in the current browser tab, and neither the URLs nor the XML are uploaded. It does not visit pages, follow links, inspect canonical tags, read modification dates, verify status codes, discover redirects, determine indexability, or submit the result to a search engine. The conversion runs without sending the list to a server; the quality of the result still depends on the pages selected and the metadata supplied.

Build sitemap.xml in a browser
- Prepare the URL list. Put the reviewed page URLs in a plain-text note on the iPhone, one URL per line. Every line must be an absolute HTTP or HTTPS URL with its full path. Do not add bullets, page titles, relative paths, or spaces around a URL. Plan to use one host, including any non-default port, for each generated file.
- Open the generator and paste the list. Open the XML Sitemap Generator in a browser, paste the text into the URL editor, and generate the result. The current browser tab performs the parsing and file creation, so the workflow does not need a connection to the represented website.
- Check the host and port grouping. HTTP and HTTPS URLs can appear together when they have the same serialized host. Different hosts or different non-default ports require separate files. Remove any embedded credentials or URL fragments because the generator rejects both.
- Leave the optional fields blank or enter truthful shared values. Blank fields produce loc-only XML. If you provide lastmod, changefreq, or priority, the same value is applied to every URL in the file.
- Generate and inspect the complete result. Run the generator, then review the full XML preview and the displayed counts. If validation fails, correct the reported URL or metadata problem and generate again. Invalid lines are never skipped, and the tool does not return a partial sitemap.
- Download and publish the file. Use the browser download control to obtain sitemap.xml, then place it on the site represented by the URL list. The exact download and save prompts can vary by iPhone browser and system settings.
Keep the current result visible while editing. Changing a URL or any option immediately revokes the previous download and clears the old XML, download, and error. Generating again revokes the earlier download before validation, which helps prevent an outdated file from being mistaken for the current result.
Keep the URL List Protocol-Safe
The generator is a strict URL-list validator rather than a general-purpose link collector. Its rejection rules stop malformed or unsuitable entries from being silently converted into a public sitemap.
- Each nonblank line must be an absolute HTTP or HTTPS URL. Bare domains, relative paths, FTP URLs, and other non-absolute schemes are rejected.
- Raw whitespace, control characters, and malformed percent escapes are rejected. Existing valid percent escapes remain URL escapes after serialization.
- Embedded credentials are rejected so a username or password cannot be copied into a public sitemap location.
- Fragments are rejected because they are not sent to the server in an HTTP request and should not create separate entries for one fetched resource.
- Whitespace-only lines are ignored, but leading or trailing whitespace on a nonblank line causes an error rather than being silently trimmed.
Every file is restricted to one serialized host, including any non-default port. HTTP and HTTPS URLs may share a file when their serialized host is the same because the scheme is not part of the host comparison. Mixing example.com with example.com:8443 fails because a non-default port creates a different serialized host. The tool cannot confirm where the finished sitemap will later be hosted or whether cross-site submission permissions exist.
Accepted URLs are serialized with the WHATWG URL parser before deduplication and output. Serialization lowercases host names, removes default ports, adds the root slash when required, and percent-encodes non-ASCII URL components. As a result, an uppercase host and its lowercase form identify the same URL, as do an explicit default port and its normalized form. The first occurrence determines output order, while each later duplicate increments the duplicate count.
Add Optional Fields Only When One Value Fits Every URL
The default output contains the required location information without lastmod, changefreq, or priority tags. Use an optional field only when one shared value is truthful for every listed page.
| Field | Accepted value | Correct use |
|---|---|---|
| lastmod | A real Gregorian YYYY-MM-DD date, or a complete date-time with seconds and either Z or a valid UTC offset. | Use the date of a real significant page modification, not an estimated or placeholder date. |
| changefreq | always, hourly, daily, weekly, monthly, yearly, or never. | Describe a change frequency that genuinely applies to every URL in the file. |
| priority | A decimal from 0.0 through 1.0. | Express a truthful relative hint when one shared priority makes sense. |
Invalid optional metadata fails the entire generation. Leading or trailing whitespace is rejected rather than removed. Date validation checks calendar dates, leap years, clock fields, and timezone limits. Change frequency and priority are protocol hints, not crawl commands or ranking guarantees. A shared lastmod also cannot replace a page-by-page modification audit when pages were changed on different dates.
Plan Around the Browser Tool's Hard Limits
Every limit is all-or-nothing: the generator either returns the complete sitemap or fails. Its browser limits are intentionally lower than the Sitemaps XML protocol maxima so parsing, preview, Blob creation, and browser memory remain bounded.
| Measure | Browser generator | Protocol context |
|---|---|---|
| Unique URLs | 10,000 unique URLs | The protocol permits up to 50,000 URLs. |
| Length of each loc | At most 2,047 characters after normalization | The protocol permits fewer than 2,048 characters per loc. |
| Uncompressed XML size | 10,485,760 UTF-8 bytes | The protocol permits up to 52,428,800 uncompressed bytes. |
| Input text size | 5,000,000 UTF-16 code units | A browser-specific parsing budget rather than an XML output maximum. |
The 10,000th unique URL is accepted, while the next unique URL fails. Duplicate lines do not consume output slots. XML size is measured after URL serialization, XML escaping, optional tags, indentation, and UTF-8 encoding. The exact 10,485,760-byte boundary is accepted; one additional byte is rejected. Invalid lines are never skipped, and excess valid URLs are never silently dropped. The result is never shortened with an ellipsis, capped preview, or partial download.
Review the Complete File Before Publication
A successful generation should begin with a UTF-8 declaration and a urlset element using the official Sitemap XML namespace. Each entry contains a url element and a loc element. Locations are normalized first and then XML-escaped, while optional tags are omitted unless their fields were supplied.
Before publishing the file, check the complete output and URL counts for:
- Redirects that should not appear as separate destinations.
- Duplicate content or alternate URLs that need consolidation.
- Blocked pages that should remain outside the sitemap.
- Private pages that must never be exposed publicly.
- Important pages missing from the supplied list.
The generator does not perform those checks, so the file is only as accurate as the URLs and optional metadata supplied. Its download uses a temporary Object URL owned by the current result. A Blob or Object URL failure leaves no stale result, while an input or option change revokes the current download immediately.
The tool also stays within a specific sitemap format. It does not create sitemap indexes, image, video, or news extensions, hreflang markup, gzip files, robots.txt rules, or Search Console submissions.
Publish the Sitemap on the Site It Represents
After downloading sitemap.xml, publish it through the website's hosting, CMS, or file-management workflow. The file should be placed on the site represented by its URLs rather than on an unrelated host. The generator does not host files, upload the XML, or submit it to a search engine.
Use Google Search Central's build-and-submit guide for guidance on sitemap placement and submission. If the list contains another host or a different non-default port, generate a separate XML file for it. The tool does not create a sitemap index to combine those files, and it cannot verify cross-site submission permissions.
Choose the List Workflow or a Crawler
This iPhone workflow fits a reviewed inventory of pages that you already control or have checked. It is appropriate for static pages, migration projects, or manual audits where the desired URL list is known. Automatic discovery, HTTP status checks, redirect inspection, and canonical analysis are different tasks; a comparison of list-to-XML and crawler workflows explains when each approach fits. The browser-based generator handles the XML conversion while leaving URL selection, host grouping, and optional metadata decisions visible for review.
Related reading: Extract URLs From Sitemap on Mac: Paste and Parse.