Free • Private • No signup

Sitemap Generator

Create a valid sitemap.xml from a list of URLs. Paste your pages, choose dates and options, and download a file that is ready for Google Search Console. Everything runs in your browser, so your URLs are never uploaded.

Valid XML sitemapSplits at 50,000 URLsCleans duplicates
URLs0
Duplicates0
Skipped0
Size0 KB

Your URLs

One URL per line. Lines starting with # are ignored, and anything after a space or comma on a line is ignored, so you can paste a spreadsheet column.

sitemap.xml

How to create a sitemap

Three quick steps, no account needed.

Add your URLsPaste one URL per line, or upload a text or CSV list from your CMS, spreadsheet or analytics.
Set your optionsChoose a last modified date, clean up duplicates, and fix https or trailing slashes.
Download and submitUpload sitemap.xml to your site root, add it to robots.txt and submit it in Google Search Console.

Why use this sitemap generator

Clean, valid files without a crawler or an account.

Private by designYour URL list stays on your device and is never uploaded.
Valid and tidyInvalid lines are flagged, duplicates removed and special characters escaped for you.
Built for big sitesLists over 50,000 URLs are split into several sitemaps with an index file.
One-click downloadGet sitemap.xml and a ready-to-paste robots.txt line.

About XML sitemaps

What a sitemap does and what to put in it.

What is a sitemap?

An XML sitemap is a file that lists the pages on your website so search engines can find them. It does not guarantee that a page will be indexed, but it helps crawlers discover new and updated pages, which is most useful for new sites, large sites and pages with few links pointing to them.

What this tool does and does not do

This generator builds the file from a list of URLs that you give it. It does not crawl your website. You can get your list from your CMS, an export from your analytics or a spreadsheet. Tidy a long list first with the sort lines tool.

Which URLs should you include?

  • Only pages you want in search results, using the final canonical address.
  • Pages that load normally. Leave out redirects, error pages and pages blocked with noindex.
  • One site only. All URLs should use the same host, for example www.example.com.
  • Accurate dates. Add a last modified date only when it shows a real change to the page.

Where does the file go?

Upload sitemap.xml to the root of your site, such as example.com/sitemap.xml. Then add a Sitemap line to your robots.txt file and submit the address in Google Search Console and Bing Webmaster Tools.

Sitemap tags explained

What each part of an entry means.

TagRequiredWhat it does
<loc>YesThe full address of the page, starting with https://.
<lastmod>NoThe date the page last changed in a meaningful way. Use it only when it is accurate.
<changefreq>NoA hint about how often the page changes. Google ignores it.
<priority>NoA hint from 0.0 to 1.0 about a page’s importance on your own site. Google ignores it.

Frequently asked questions

Quick answers.

Is the sitemap generator free and private?

Yes. It is free, needs no signup, and runs inside your browser. Your URLs are processed on your device and never uploaded.

Does it crawl my website?

No. It builds the sitemap from the list of URLs you paste or upload. You can get that list from your CMS, an analytics export or a spreadsheet.

Where do I upload sitemap.xml?

Upload it to the root folder of your website so it opens at example.com/sitemap.xml. Then add a Sitemap line to your robots.txt file, which this tool gives you ready to copy.

How do I submit my sitemap to Google?

Open Google Search Console, choose your site, go to the Sitemaps section, enter the sitemap address and submit it. You can also submit it in Bing Webmaster Tools.

How many URLs can one sitemap hold?

A single sitemap can hold up to 50,000 URLs and 50 MB uncompressed. If your list is longer, this tool splits it into several sitemaps and adds an index file. Submit the index file.

Should I include priority and change frequency?

You do not need to. Google ignores both values. Leave them out unless another tool asks for them. An accurate last modified date is more useful.

Which URLs should I leave out of a sitemap?

Leave out redirects, error pages, pages with a noindex tag, duplicate versions of a page and pages blocked in robots.txt. List only the final, canonical address of each page you want found.

More tools

Related text and data tools.