XML Sitemap Generator

Paste your page URLs and this XML sitemap generator creates a valid sitemap.xml you can upload and submit.

50 free uses every 24 hoursUnlimited with Pro →

Private by design — your data stays on your deviceEverything runs right here in your browser. What you type is not sent to our server and is not stored.
  • Runs in your browser
  • Not stored
  • No sign-up

This XML sitemap generator turns a list of page addresses into a valid sitemap.xml file. Paste your URLs, one per line, choose the last-modified date, change frequency and priority, and download the file. Duplicates and invalid lines are removed automatically. Upload the file to your website and submit it in Google Search Console so search engines can find your pages.

How do I use the XML sitemap generator?

  1. Paste your page URLs, one per line.
  2. Choose the last-modified date, frequency and priority.
  3. Download sitemap.xml.
  4. Upload it to the main folder of your website.
  5. Submit the sitemap in Google Search Console.
How to use the XML Sitemap Generator on OneHubTools: 5 steps with a real screenshot of the tool
How to use the XML Sitemap Generator, step by step.

What is a sitemap?

A sitemap is a file that lists the pages on your website that you want search engines to know about. It does not guarantee that pages are indexed, but it helps search engines discover them, especially on new sites, large sites and sites with few links pointing in.

Result from the XML Sitemap Generator on OneHubTools
What the XML Sitemap Generator gives you.

Sitemap limits

LimitValue
URLs per fileUp to 50,000
File sizeUp to 50 MB uncompressed
Larger sitesSplit into several sitemaps and use a sitemap index
FormatUTF-8 encoded XML

Lastmod and priority

  • lastmod tells search engines when a page last changed. Use real dates; Google ignores lastmod values it finds unreliable.
  • changefreq is a hint about how often a page changes. Most search engines now give it little weight.
  • priority shows how important a page is compared with others on your site, from 0.0 to 1.0. It does not affect how you rank against other sites.

The tool sets priority automatically by default: the home page gets the highest value, and deeper pages get less.

How to submit sitemap files

  1. Open Google Search Console and choose your property.
  2. Go to Sitemaps in the left menu.
  3. Enter the address of your sitemap, such as sitemap.xml.
  4. Click Submit and check the status after a few days.

Also add a line to your robots.txt: Sitemap: https://yoursite.com/sitemap.xml. The robots.txt generator can add it for you.

Which pages to include

Include pages you want people to find in search: your home page, main sections, products, posts and important guides. Leave out login pages, thank-you pages, internal search results and duplicates. Every URL should return a normal 200 status and should not be blocked by robots.txt or a noindex tag.

Keeping your sitemap up to date

When you add or remove pages, update the sitemap and upload it again. Search Console reads it from time to time, so you do not need to resubmit after every change. Check the Sitemaps report now and then for errors, such as URLs that redirect or return 404, and remove them from the list.

Do I need a sitemap?

Small sites with good internal links may be found without one, but a sitemap rarely hurts and often helps. WordPress, Shopify and most website builders create one automatically. This tool is useful for hand-built sites, landing pages and sites where the built-in sitemap is missing pages.

Related SEO tools

Check a page's SEO basics with the SEO analyzer. Write title and description tags with the meta tag generator. Add structured data with the schema markup generator, and format the finished file with the XML formatter.

Limits and specs

PriceFree
Free use50 uses every 24 hours — shared with 178 other tools in the “Basic tools” group
Where it runsIn your browser
Sign-upNot needed
Muhammad Shahwaiz Gillani
Maintained and reviewed by Muhammad Shahwaiz GillaniSoftware engineer and founder of OneHubTools · Last reviewed

How we checked it: We tested it on real web pages, including pages of this site.

Where the facts come from

According to sitemaps.org, a single sitemap file can list up to 50,000 URLs and must be no larger than 50 MB uncompressed, and the format has been supported by major search engines for more than 15 years.

Spotted a mistake or the tool did not work for you? Tell us and we will fix it.

Rate this tool

Ratings come only from signed-in users, so every rating is verified.

Only signed-in users can rate tools, so every rating shows a ✔ Verified badge.Sign in to rate

Frequently asked questions

How many URLs can a sitemap have?

Up to 50,000 URLs or 50 MB per file. Larger sites use several sitemaps and a sitemap index.

Do I need a sitemap?

It helps new and large sites get discovered faster. WordPress SEO plugins can make one automatically.

Where do I upload sitemap.xml?

Upload it to the main (root) folder of your site, so it opens at yoursite.com/sitemap.xml.

How do I submit the sitemap to Google?

In Google Search Console, open Sitemaps, enter the address and click Submit.

Does priority help my ranking?

No. Priority only compares pages within your own site.

Does the XML sitemap generator remove duplicates?

Yes. Duplicate and invalid lines are removed automatically.

Related tools

All seo tools →