XML Sitemap Generator
Build a valid sitemap.xml from a list of URLs.
Paste or type your URLs and click “Generate sitemap.xml”.
How do you create an XML sitemap for a website?
An XML sitemap is a file listing your site's pages in a format search engines can crawl directly, and you create one by pasting those URLs — one per line — into a generator that validates them and wraps them in the correct sitemap.xml structure. Docuboxer's generator runs entirely in your browser: paste the list, optionally turn on a last-modified date, then get a ready sitemap.xml to upload to your domain root and submit in Google Search Console. It checks that every line is an absolute http or https URL, drops duplicates automatically, and flags any line it can't parse without stopping the rest of the batch. It also checks the sitemap protocol's own limits — 50,000 URLs or 50MB per file — so you know upfront if you need to split into multiple sitemaps. Free, no signup, and nothing is uploaded to a server: parsing and generation both happen locally on your machine.
How to use XML Sitemap Generator
- Paste or type your site's URLs, one per line. Blank lines are ignored, and lines starting with # are treated as comments and skipped.
- Turn on the options you need: a last-modified date (lastmod, with a calendar picker) and, if your case requires it, change frequency and priority — though Google no longer uses either signal to decide how it crawls.
- Click "Generate sitemap.xml". Any line that isn't a valid URL is flagged with its line number, but the rest of the batch is still processed; duplicate URLs are removed automatically.
- Review the XML preview, copy it or download it as sitemap.xml, then upload it to your domain root (for example https://yourdomain.com/sitemap.xml).
Common use cases
Launching a brand-new site
Collect the URLs of every page you want indexed from day one, generate the sitemap.xml, and upload it before submitting the domain to Google Search Console to speed up initial crawling.
Refreshing the sitemap after publishing content
Every time you add new posts, products, or pages, paste the updated full URL list and regenerate the file in seconds instead of hand-editing the XML.
Migrating or restructuring a site
After a domain change or URL restructure, generate a clean sitemap with the final paths to help search engines reindex faster and spot moved pages sooner.
Static sites and custom builds without a sitemap generator
If your site is hand-built or on a stack that doesn't auto-generate sitemap.xml, paste the page list and get a valid file without installing a plugin or writing a script.
Splitting a large site into multiple sitemaps
The generator warns you if you cross 50,000 URLs or 50MB in one file; work section by section (blog, products, static pages) and generate one sitemap per block to combine later into a sitemap index.
Frequently asked questions
How do I create a sitemap.xml file for free?
Paste your URLs, one per line, into this generator and click "Generate sitemap.xml". The file is created instantly in your browser — no plugin to install, and your page list is never sent to a server.
What's the maximum number of URLs allowed in one sitemap.xml?
A single sitemap.xml file supports up to 50,000 URLs or 50MB uncompressed, whichever limit is hit first. If your site exceeds either one, split it into multiple sitemaps and reference them from a sitemap index file.
Do I need a sitemap for Google to index my site?
Not strictly — Google can discover pages by following internal links. It's still strongly recommended for new, large, or sparsely-linked sites, since it speeds up discovery and reduces the risk of pages that never get crawled.
Do changefreq and priority actually affect ranking or crawling?
Google has confirmed for years that it ignores both fields when deciding what to crawl or how often. You can still include them if another search engine or an internal tool relies on them, but don't expect them to move your Google rankings.
Where do I upload the sitemap.xml file once it's generated?
To your domain root, for example https://yourdomain.com/sitemap.xml, and then submit it from the Sitemaps report in Google Search Console (or Bing Webmaster Tools) so the search engine picks it up.
What happens if some of my URLs are invalid?
The generator flags each one with its line number and content, but keeps processing the rest of the batch without stopping. It also automatically removes any URL that appears more than once in your list.