Skip to content
Free online tool

Sitemap XML generator

Create a valid XML sitemap from your own list of URLs. Every URL is checked, duplicates are removed and special characters are escaped. Add last-modified dates, change frequency and priority, then copy or download sitemap.xml.

This tool does not crawl your website. Paste the list of URLs you want in the sitemap (for example, exported from your CMS or a crawler).

Google ignores the changefreq and priority values, but other search engines may read them; lastmod is used when it is accurate. A sitemap can hold up to 50,000 URLs. Upload the file to your site’s root and submit it in Google Search Console or reference it in robots.txt.

How to generate an XML sitemap

  1. Paste the full URLs of the pages you want search engines to find, one per line, starting with https://.
  2. Choose whether to include a last-modified date, change frequency and priority.
  3. Click Generate sitemap. Invalid lines are listed so you can fix them.
  4. Copy the XML or download sitemap.xml, upload it to your site’s root, and submit it in Google Search Console and Bing Webmaster Tools.

Important: this tool does not crawl your site

This sitemap XML generator builds a sitemap from the URLs you give it. It doesn’t visit or crawl your website to discover pages. You can get a list of URLs by exporting it from your CMS, your analytics, a spreadsheet of your pages or a desktop crawling tool. If your site runs on WordPress with an SEO plugin like Yoast, a sitemap is usually created and updated automatically, so you may not need this tool at all.

The output follows the sitemaps.org 0.9 protocol. Characters such as & in URLs are escaped correctly so the file stays valid XML. Automatic priority gives the homepage 1.0 and lowers the value for deeper pages. The tool warns you if your list mixes different domains, since a sitemap should only list pages from the site that hosts it, and it enforces the 50,000-URL limit per file.

When a manual sitemap is useful

Sitemap generator FAQ

Do I need changefreq and priority?

They are optional. Google ignores them, though other search engines may use them. An accurate lastmod date is more useful.

How many URLs can a sitemap hold?

Up to 50,000 URLs and 50 MB uncompressed. Larger sites use several sitemaps listed in a sitemap index.

Where should I put sitemap.xml?

Usually in your site’s root folder. Also add a Sitemap: line to robots.txt so crawlers can find it.

Related tools

More SEO Tools

Need another tool?

Browse all 50 free tools for PDFs, images, text, SEO, calculations and development.

Explore All Tools