Skip to content
D DocNectar

Free XML Sitemap Generator

Paste a list of URLs and generate a valid XML sitemap, ready to upload to your site or submit to search engines.

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

An XML sitemap is a file that lists a site's URLs so search engines can discover and crawl them more efficiently — especially useful for large sites, sites with pages that aren't well linked internally, or sites that publish new content often.

This tool takes a plain list of URLs, one per line, and generates a standards-compliant sitemap.xml file following the sitemaps.org protocol that every major search engine supports. Invalid lines are automatically separated out rather than breaking the whole batch, so you can fix just the problem entries.

How it works

Paste your URLs, one per line, into the text box. Optionally choose a default change frequency and priority to apply to every URL. The tool validates each line, builds a sitemap.xml with a <loc>, <lastmod>, and (if set) <changefreq> and <priority> tag for every valid URL, and flags any lines that aren't valid URLs so you can fix them.

  1. Paste your URLs, one per line.
  2. Optionally choose a default change frequency and priority.
  3. Click Generate Sitemap and download the XML file.

Examples

A simple sitemap for a small site

Pasting 15 page URLs generates a ready-to-upload sitemap.xml in seconds, without needing a crawler or a CMS plugin.

Catching a typo in a URL list

A list with one line reading "example.com/page" instead of a full URL with "https://" gets flagged as invalid and excluded, while the other valid URLs still generate correctly.

Who should use it

  • Generating a sitemap.xml for a small to mid-size site without a CMS plugin.
  • Rebuilding a sitemap after a URL structure change.
  • Creating a custom sitemap for a subset of pages you want search engines to prioritize.

Industry applications

  • SEO and technical SEO
  • Web development and site migrations
  • Content publishing and site maintenance

Advantages

  • Generates a standards-compliant sitemap.xml in seconds from a plain URL list.
  • Automatically separates invalid lines instead of rejecting the whole batch.
  • No signup, crawler setup, or CMS plugin required.

Limitations

  • Doesn't crawl your site automatically — you supply the URL list yourself.
  • Doesn't validate that each URL actually returns a 200 status or is reachable.
  • Large sites (50,000+ URLs) need a sitemap index of multiple files, which this single-file generator doesn't build.

Common mistakes to avoid

  • Submitting relative paths instead of full URLs with a scheme (http:// or https://).
  • Including URLs that redirect, 404, or are blocked by robots.txt, which wastes crawl budget on invalid entries.
  • Setting every URL's priority to 1.0, which defeats the purpose of priority as a relative signal between pages.

Best practices

  • Only include canonical, indexable URLs that return a 200 status — not redirects, duplicates, or noindexed pages.
  • Vary priority meaningfully across your most and least important pages instead of setting one flat value.
  • Reference your sitemap's URL in robots.txt so search engines can discover it automatically.

Tips

  • Keep sitemaps to only canonical, indexable URLs — a "clean" sitemap is a stronger signal than a comprehensive but noisy one.
  • Regenerate and re-upload your sitemap whenever you add, remove, or restructure a meaningful number of pages.

Frequently asked questions

Yes, with no signup and no limit on how many URLs you submit (up to the page's input size limit).
Yes — each line must be a complete, valid URL including its scheme (http:// or https://). Lines without a scheme are flagged as invalid rather than guessed at.
They're hints to search engines about how often a page changes and its relative importance compared to other pages on your site. Modern search engines treat both as optional hints rather than strict directives, so they're optional here too.
No — this tool builds a sitemap from a URL list you provide. If you need automatic crawling, use your CMS's built-in sitemap feature or a dedicated crawler tool, then paste the resulting URL list here if you want to customize it.
Upload it to your site's root directory (e.g. https://example.com/sitemap.xml) and reference it in your robots.txt, or submit its URL directly in Google Search Console and Bing Webmaster Tools.
Generations are linked to your browser session so you can revisit them — your URL list isn't shared with anyone else.

Get new calculators and guides in your inbox

No spam — just new tools like XML Sitemap Generator and practical guides.

Favorites