XML Sitemap Generator

Paste the pages of your website, one per line, and get a valid sitemap.xml to upload and submit to Google Search Console and Bing Webmaster Tools.

SEO & Web Tools Runs in your browser Free, no sign-up Valid XML output
URLs0 Skipped0

How to make an XML sitemap

  1. Enter your website addressFor example https://www.example.com. It's used to turn short paths like /about into full URLs.
  2. Paste your pagesOne per line, as full URLs or paths. Duplicates and invalid lines are removed automatically.
  3. Choose the options and downloadSet last modified, change frequency and priority, then download sitemap.xml and upload it to the root of your site.

Tip: you can copy your page list from your CMS, a spreadsheet or your navigation menu.

What a sitemap does

An XML sitemap is a list of the pages you want search engines to know about. It helps Google and Bing discover new pages faster, especially on new sites with few links, large sites, and pages that aren't linked well from your menus. It doesn't guarantee that pages will be indexed or ranked, but it makes discovery easier and lets you see in Search Console which submitted pages are indexed. The lastmod date tells crawlers when a page changed; Google ignores changefreq and priority, but other search engines may use them, so they're optional here.

Submitting your sitemap

  1. Upload sitemap.xml to the root of your site, so it opens at https://yoursite.com/sitemap.xml.
  2. Add a line to your robots.txt: Sitemap: https://yoursite.com/sitemap.xml. Our Robots.txt Generator can do this for you.
  3. Submit the sitemap URL in Google Search Console (Indexing → Sitemaps) and in Bing Webmaster Tools.
  4. Regenerate and re-upload it whenever you add or remove pages.

Sitemap rules to follow

  • List only pages you want in search results: no redirects, error pages or "noindex" pages.
  • Use your preferred version of each URL (https, with or without www) consistently.
  • Keep each file under 50,000 URLs and 50 MB; larger sites use several sitemaps and a sitemap index.
  • Make sure special characters are escaped; this generator does that for you, so the file is valid XML.

Frequently asked questions

Does this tool crawl my website?

No. It builds the sitemap from the list of pages you paste in, entirely in your browser, so nothing is fetched or uploaded.

Where do I upload sitemap.xml?

To the root folder of your website, so it's reachable at yourdomain.com/sitemap.xml, then submit it in Google Search Console.

Do I need changefreq and priority?

No. Google ignores them, and they're optional in the sitemap standard. Lastmod is the most useful extra tag.

How many URLs can a sitemap have?

Up to 50,000 URLs per file. Bigger sites split them into several sitemaps linked from a sitemap index.

More seo & web tools tools