Text & web utilities

Bulk URL to XML sitemap converter

Turn a one-per-line URL list into escaped sitemap XML with duplicate handling and a downloadable file.

Your settings

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Generate result.

Report an issue

Try it, understand it

Explore the result

Inspect duplicate handling and XML escaping before downloading.

Worked example comparison
ExampleOutputWhat to notice
Two ordinary URLsUnique sitemap URLs2One homepage and one nested address produce two locations.
A query ampersandUnique sitemap URLs1The XML representation escapes & while preserving the URL value.
Duplicate fragmentsUnique sitemap URLs1Two fragments of one document combine into one sitemap location.

Check your understanding

Why did two lines become one entry?

They normalize to the same address after fragment removal, so the duplicate is combined.

Does this scan my website for URLs?

No. It converts the list you provide. It makes no page requests or indexability checks.

Behind the tool

How this tool works

Paste complete HTTP or HTTPS addresses from one host. The tool normalizes addresses, removes fragments, combines duplicates and escapes XML-reserved characters. It adds the sitemap namespace and UTF-8 declaration, then provides the complete XML for copying or downloading as sitemap.xml.

THE OUTPUT RULEEach unique URL becomes one <url><loc> entry within a sitemap urlset

A worked example

The homepage and /about/ URLs produce two entries. A query string containing & is written with &amp; in XML without changing the URL a sitemap reader reconstructs.

Good to know

Up to 200 URL lines, each under 2,048 characters, from one host. This is a list converter, not a crawler, indexability audit or search-engine submission service. No last-modified dates are invented.

XML escaping is different from changing a URL

An address with two query parameters contains an ampersand between them. Inside XML, that character is written as &amp; so a parser can distinguish URL data from markup. A sitemap reader reconstructs the original ampersand when it reads the location. Escaping does not mean the destination page has changed.

This generator creates one location entry for each distinct normalized address and removes fragments such as #examples. Fragments identify a position within a document rather than a separately fetched page. The URL slug generator prepares one path segment; this tool instead needs complete addresses, including the scheme and host.

Use the YouTube thumbnail finder for candidate public video image links or the bulk URL opener to review an ordinary link list. Neither workflow verifies indexability, and thumbnail resources are not substitutes for the canonical page URLs in a sitemap.

A well-formed list still needs a good publishing location

Keep the list on one host and publish the resulting file where its scope covers the listed URLs, normally at that site’s root. The tool rejects a mixed-host list rather than producing a misleading sitemap for unrelated domains. It also bounds individual address length and does not invent modification dates for pages it has never inspected.

A sitemap is a discovery aid, not a promise of indexing. Before submitting it, ensure the pages really exist, use the intended canonical URLs and are available to crawlers. The robots.txt generator can include the published sitemap address. Downloading this file does not upload it to your host or submit it to Search Console.

A few questions, answered

Why did two lines become one entry?

They normalize to the same address after fragment removal, so the duplicate is combined.

Does this scan my website for URLs?

No. It converts the list you provide. It makes no page requests or indexability checks.

Find your calculator

Start typing to explore the library.