XML Sitemap Generator

Turn a list of URLs into a valid XML sitemap in seconds: paste one URL per line, pick the optional fields, and download sitemap.xml ready to upload and submit.

Runs in your browser — your code and data never leave this device

How do I create an XML sitemap from a list of URLs?

Paste your URLs, one per line, and this free online XML sitemap generator builds a valid sitemap.xml with lastmod, changefreq and priority — ready to copy or download. It builds the sitemap from the URLs you paste, so it works for any site, with no sign-up and nothing uploaded.

This tool builds a sitemap from the URLs you paste. It does not crawl a website: if you need every page found automatically, use a crawler or your CMS sitemap feature, then paste the list here.

Related tools

How to use the XML Sitemap Generator

  1. Paste your page URLs into the box, one per line. Every URL must start with http:// or https://.
  2. Pick a change frequency and priority, or omit them: Google ignores both, and the URL itself is what matters.
  3. Leave lastmod checked to stamp every entry with today's date, then click Generate sitemap.
  4. Copy the XML or download sitemap.xml, upload it to your site root, and submit it in Google Search Console.

For the full picture — what belongs in a sitemap, how to submit it, and the mistakes to avoid — read our guide: How to Create an XML Sitemap (Free, in Minutes).

What a sitemap is for

An XML sitemap is a machine-readable list of the pages on a website, written for search engines rather than people. Each entry names a URL and may add a last-modified date, a change frequency and a priority. Crawlers read the file to discover pages they might otherwise miss: new pages with no links pointing at them, deep pages buried several clicks from the homepage, and pages that changed recently.

A sitemap helps discovery and indexing, but it is not a ranking factor and it does not guarantee that a listed page will be indexed. Google treats the sitemap as a hint: it still decides for itself which pages are worth indexing, based on the content and the links. A sitemap is most valuable for new sites, large sites, and sites whose pages are not well linked together.

What goes in each entry

The only required field is loc, the full URL of the page, including the protocol. lastmod is the date the page last changed, in YYYY-MM-DD format; it is worth including when it is accurate, because crawlers use it to decide what to re-fetch. changefreq and priority are optional, and the honest truth is that Google ignores both: they were part of the original sitemap standard, but modern crawlers work out for themselves how often a page changes and how important it is.

A single sitemap can hold at most 50,000 URLs and must stay under 50 MB uncompressed. Sites bigger than that split their pages across several sitemaps and list them all in a sitemap index file. Keep the sitemap to pages you actually want indexed: no redirects, no error pages, no duplicate URLs, and no pages blocked by robots.txt.

After you generate it

Upload the file to the root of your site so it is reachable at example.com/sitemap.xml, then submit it in Google Search Console under Sitemaps, and in Bing Webmaster Tools too. Adding a Sitemap: line to your robots.txt file points crawlers at it automatically. After submitting, check the Search Console report: it shows how many of your URLs were discovered and how many were actually indexed.

A sitemap goes stale the moment the site changes, so rebuild it whenever pages are added or removed. Sites on WordPress, Shopify and similar platforms usually generate a sitemap automatically and keep it updated; this tool is for static sites, small sites and one-off jobs where the platform does not do it for you.

Create sitemap.xml from a URL list: when pasting beats crawling

To create a sitemap.xml from a URL list free, paste the pages you want search engines to find and let the generator do the formatting: each URL gets its own entry with a lastmod date, and changefreq and priority are included if you set them. A sitemap.xml generator online free no signup is the quickest route for a small site, a new site, or a set of pages a crawler would miss — you decide exactly which URLs go in.

One honest note about the fields: Google ignores changefreq and priority, so lastmod is the only optional field worth keeping accurate — the page's FAQ says so plainly. This tool does not crawl your website; it builds a single sitemap from the URLs you paste, which is also its strength: no missed pages, no junk URLs, and a file you can read before you upload it. Submit the finished sitemap in Search Console and search engines will find your pages faster.

Frequently asked questions

Does a sitemap improve rankings?

No. A sitemap helps search engines discover and index your pages, which is a precondition for ranking, but the sitemap itself is not a ranking factor.

How many URLs can a sitemap hold?

At most 50,000 URLs, and the file must stay under 50 MB uncompressed. Larger sites split pages across several sitemaps and list them in a sitemap index file.

Do I need changefreq and priority?

No. Google ignores both fields. The URL itself is what matters, and lastmod is the only optional field worth keeping accurate.

Does this tool crawl my website?

No. It builds a sitemap from the URLs you paste. To discover pages automatically, use a crawler or the sitemap feature of your CMS, then paste the list here.

Is my data uploaded anywhere?

No. This tool runs entirely in your browser using JavaScript. Nothing you paste is uploaded, stored or sent anywhere.

How do I create an XML sitemap from a URL list?

Paste your URLs one per line into this generator, set the lastmod date, and copy or download the finished sitemap.xml. The generator adds the XML structure, so you only supply the URLs — no crawling and no sign-up needed.

What is lastmod in a sitemap?

The date a page was last changed, written in each URL entry. Google uses lastmod to decide when to re-crawl a page, and it is the only optional sitemap field worth keeping accurate — Google ignores changefreq and priority.

Where do I put my sitemap.xml file?

At the root of your domain, so it is reachable at yoursite.com/sitemap.xml, then submit it in Google Search Console. A sitemap helps search engines discover your pages faster, but it does not guarantee indexing — content quality and links still decide which pages rank.