Skip to content
Tezmy Tools

XML Sitemap Generator

Turn a list of page addresses into a sitemap.xml file

Last modified date

0 pages

What to do with it

Upload sitemap.xml to the top folder of your website, so it opens at your-site.com/sitemap.xml. Then submit its address in Google Search Console under Sitemaps, or add the line above to robots.txt.

This tool does not crawl your site. It only turns the list you type or paste into a sitemap.

Runs in your browser. Nothing is uploaded.

About the XML Sitemap Generator

XML Sitemap Generator turns a list of page addresses into a sitemap.xml file that search engines can read. Paste one address per line and the tool builds the XML, escapes special characters, removes duplicates and drops addresses that belong to a different website. It can add a last modified date, a change frequency and a priority to every entry, though you can leave them out, which is the default. You also get the Sitemap line for your robots.txt. The tool does not crawl your site or check that pages exist: it only formats the list you give it. A sitemap helps search engines find pages, and it does not guarantee they will be indexed.

Updated September 2026

How to use the XML Sitemap Generator

  1. 1Paste your page addresses, one per line, or press Try a sample.
  2. 2Choose whether to add a last modified date, change frequency or priority.
  3. 3Check the list of skipped lines, then copy the XML or download sitemap.xml.
  4. 4Upload the file to your site's top folder and submit it in Google Search Console.

What goes in a sitemap

A sitemap lists the pages you want search engines to find. Include pages that return a normal page, are meant to be found in search and use the address you prefer, for example the https version with or without www. Leave out redirects, pages blocked from indexing, login pages and duplicates.

Each entry has a location. It can also have a last modified date, a change frequency and a priority. Only the location is required.

Making a sitemap from a list of URLs

Export your page addresses from your CMS, your analytics or a spreadsheet, and paste them in with one address on each line. The tool tidies each address: the scheme and host are put in lower case, the fragment after a # is removed and default ports are dropped. Special characters such as an ampersand are escaped so the XML stays valid.

By default the tool keeps only addresses from the same website as the first address, and removes duplicates, so one stray line can't spoil the file. Change those options if you need to.

Uploading and submitting it

  • Save the file as sitemap.xml and upload it to your site's root folder.
  • Open your-site.com/sitemap.xml in a browser to check that it loads.
  • In Google Search Console, open Sitemaps and submit the address.
  • Add the line Sitemap: followed by the address to your robots.txt so other crawlers find it.
  • Update the file when you add or remove pages.

Sitemap mistakes to avoid

Common mistakes are listing pages that redirect or return errors, mixing http and https versions of the same page, adding a last modified date that changes on every visit and putting addresses from another domain in the file. A sitemap also doesn't override a noindex tag or a robots.txt block.

For the crawl rules themselves, see Robots.txt Generator. To create the tags that go on each page, use Meta Tag Generator, and to check or tidy the finished XML, try XML Formatter.

Features

  • Builds a standard sitemap.xml
  • Removes duplicate addresses
  • Keeps only addresses from the first address's website
  • Explains every skipped line with its line number
  • Optional lastmod, changefreq and priority
  • Gives you the robots.txt Sitemap line

Frequently asked questions

What is an XML sitemap?

It is a file that lists the pages of your website in a format that search engines understand. It helps them discover pages, especially new ones or ones that few other pages link to. It does not guarantee that a page will be indexed.

How do I create a sitemap.xml file?

Paste your page addresses into the box, one per line, and copy or download the result. Save it as sitemap.xml. If you have a WordPress or shop platform, it may already produce one automatically, so check before you make your own.

Where do I upload the sitemap?

Upload sitemap.xml to the top folder of your website so that it opens at your-site.com/sitemap.xml. Then submit that address in the Sitemaps section of Google Search Console, and add the Sitemap line to your robots.txt file.

Do changefreq and priority matter?

Google ignores both, and it uses the last modified date only when it is accurate. That is why they are switched off by default. Other search engines may read them, so add them only if you have a reason.

How many URLs can a sitemap have?

Up to 50,000 addresses, and the uncompressed file may be up to 50 MB. If you have more pages, split them into several sitemaps and list those in a sitemap index. This tool stops at 50,000 addresses and tells you to split your list.

Does this tool crawl my website?

No. It does not visit your site, find pages or check that they exist. It turns the list you type or paste into a sitemap. To get a list of pages, export it from your CMS or your analytics.

Why was a line skipped?

Lines that are not full web addresses starting with http:// or https:// are skipped, and so are addresses from a different website than the first one and repeats. The skipped list shows the line number and the reason. Empty lines and lines that start with # are ignored without a message.

Related tools