XML Sitemap Generator
Turn a list of page URLs into a valid sitemap.xml. Add lastmod, changefreq, and priority, then copy or download the file.
One URL per line. Everything runs in your browser. Nothing is uploaded.
Optional fields
Cleanup
sitemap.xml
How to generate an XML sitemap online
Paste your URLs
Enter your page URLs into the box, one per line.
Choose optional fields
Turn on lastmod, changefreq, or priority and set the cleanup options to taste.
Copy or download
Copy the generated sitemap.xml or download the file and upload it to the root of your site.
Why use this tool
One URL per line
Paste a plain list of page URLs and get a url and loc entry for every non-blank line.
Optional lastmod, changefreq, priority
Add today as the last-modified date, a change frequency, and a priority value to every entry with one tap.
Valid and escaped
Ampersands and special characters in query strings are escaped so the sitemap.xml passes validation.
Dedupe and sort
Drop duplicate URLs and sort the list alphabetically for a clean, reviewable file.
Size and limit checks
See a live URL count and estimated file size, with a warning past the 50,000 URL or 50 MB limit.
Runs entirely in your browser
Everything happens on your device. Nothing is uploaded.
About this tool
An XML sitemap tells search engines which pages on your site exist and where to find them. This generator turns a plain list of URLs, one per line, into a valid sitemap.xml that follows the sitemaps.org 0.9 schema. Every line becomes a url entry with its own loc, and you can optionally attach a lastmod date, a changefreq hint, and a priority value to each one.
Paste URLs with or without the https:// prefix. Blank lines are skipped, bare domains are completed for you, and ampersands and other special characters in query strings are escaped so the file stays valid. Turn on deduplication to drop repeated URLs, or sort the list alphabetically for a tidy, reviewable file.
A single sitemap can hold up to 50,000 URLs and 50 MB uncompressed. The tool counts your URLs and estimates the file size as you type, and warns you when either limit is close so you know it is time to split into multiple sitemaps and a sitemap index. When the file is ready, copy it or download sitemap.xml and place it at the root of your site. Pair it with the meta tag generator for page titles and descriptions, or the URL parser to inspect individual links.
Frequently asked questions
- What format does the sitemap use?
- It follows the sitemaps.org 0.9 XML schema with a urlset root and one url and loc entry per URL, the same format Google and Bing accept.
- Do I need to include https:// on every line?
- No. Lines without a scheme are completed with https:// for you, and blank lines are skipped. Anything that is not a valid web address is left out and counted separately.
- How many URLs can one sitemap hold?
- A single sitemap can contain up to 50,000 URLs and 50 MB uncompressed. The tool warns you as you approach either limit so you can split into multiple sitemaps and a sitemap index.
- Are ampersands and query strings handled correctly?
- Yes. Ampersands and other special characters in query strings are escaped to their XML entities so the file stays valid.
- Is my data uploaded anywhere?
- No. Everything runs in your browser; nothing is sent to a server.
- Where do I put the finished sitemap?
- Save it as sitemap.xml at the root of your domain, then reference it in robots.txt or submit it in your search engine dashboard.
Related tools
Meta Tag Generator
Build the search and social meta tags for any web page. Fill in the title, description, canonical URL, Open Graph, and Twitter fields, then copy a ready block of HTML with a live search snippet and social card preview.
URL Parser
Paste a URL and see every part broken out, with a decoded table of its query parameters.
URL Encode & Decode
Percent-encode text for URLs and decode it back, both directions.
API Key Generator
Generate cryptographically random API keys and tokens in hex, base62, or base64url, with control over length, an optional prefix, and bulk output.
ASCII Table Reference
The full ASCII character set with decimal, hex, octal, binary, and HTML codes. Search by code, character, or name.
Atbash Cipher
Mirror the alphabet so A swaps with Z, B with Y, and so on. Atbash is its own inverse, so one field both encodes and decodes as you type.