Sitemap.xml Generator

Turn a list of URLs into a valid sitemap.xml with optional change frequency and last modified date, ready to upload to your site.

Input
Result

About Sitemap.xml Generator

The Sitemap.xml Generator turns a list of page addresses into a valid sitemap.xml file, ready to upload and submit to Google Search Console.

Paste your URLs

One full address per line, starting with https://. Add an optional change frequency and last-modified date.

Safe characters

Characters such as & are escaped correctly, as the sitemap standard requires.

What to include

Only canonical pages that load normally: no redirects, no pages blocked by robots.txt and no noindex pages.

Limits

A sitemap holds up to 50,000 URLs and 50 MB; split bigger sites into several files.

After uploading

Add the sitemap line to robots.txt and submit it in Search Console. Check it with the Sitemap Validator.

Private

Everything runs in your browser. Nothing you paste is uploaded.

What is a sitemap?

A sitemap.xml lists the pages on your site you want search engines to find, with optional last-changed dates. It helps new and deeply linked pages get discovered.

How to use Sitemap.xml Generator

  1. Paste your full URLs, one per line.
  2. Optionally choose a change frequency and a last modified date.
  3. Read the XML in the Result box.
  4. Copy it or download it and upload it as sitemap.xml.

Help & FAQ

Do we need a sitemap?

Small sites with good internal links are usually crawled without one, but a sitemap helps search engines find new and deep pages faster.

Does Google use changefreq and priority?

Google has said it ignores both. A lastmod date is used only when it is consistently accurate. This tool offers changefreq and lastmod but no priority.

How many URLs can one sitemap hold?

Up to 50,000 URLs and 50 MB uncompressed, according to sitemaps.org. Larger sites use a sitemap index that lists several sitemap files. The tool does not count or limit your list.

Why is the result box empty?

At least one line is not a valid http or https URL, and the tool stops until all lines are valid. The message under the boxes lists the lines it rejected.

Does it escape special characters?

It escapes the five XML characters (&, ', quote, < and >) but does not percent-encode spaces or non-Latin characters, so encode those URLs before you paste them.

Are duplicate URLs removed?

Exact duplicates are removed. Addresses that differ in capital letters or in a #fragment are kept, so remove them yourself.

What date format does lastmod use?

YYYY-MM-DD, which is allowed by the W3C date format used in sitemaps. Use the real change date of the page.

Can we add priority?

No. The tool has no priority field. The sitemaps.org page describes priority as a relative hint, and Google ignores it.

Where do we upload the file?

As sitemap.xml in the root folder of your site. Add a Sitemap line to robots.txt and submit the address in Google Search Console.

Can it crawl our website?

No. It formats the URLs you paste. A crawler-based generator can discover the pages for you, but it is limited to a number of pages in free versions.

What about a list of more than 50,000 URLs?

Split it into several files and list them in a sitemap index. A very long paste may also make the page unresponsive, so use smaller lists.

Is our URL list uploaded?

No. The XML is built in your browser and nothing is sent anywhere.

More in SEO & Website

See all 15 in SEO & Website