XML Sitemap Generator
Generate sitemap.xml from a URL list or validate your existing sitemap — checks priority, changefreq, lastmod, and duplicates.
How to use XML Sitemap Generator
-
Paste your URLs
In the text area, paste all the URLs you want in your sitemap — one URL per line. You can also upload a plain text file.
-
Click Add URLs
Click Add URLs to parse the list. Invalid lines and duplicates are automatically skipped and reported.
-
Set defaults and overrides
Use the Changefreq and Priority dropdowns in the toolbar for global defaults. Override individual URLs in the table for pages with different crawl settings.
-
Download or copy the sitemap
The sitemap.xml generates automatically as you work. Click Download .xml to save it, or Copy to paste it elsewhere.
-
Validate an existing sitemap
Switch to Validate mode, paste or upload an existing sitemap.xml, and get instant feedback on all errors and warnings.
XML Sitemap Generator FAQ
What is an XML sitemap and why does it matter for SEO?
How many URLs can an XML sitemap contain?
What do changefreq and priority mean?
What format should lastmod dates be in?
Is my data sent to a server?
Do I need to submit my sitemap to Google?
What is a sitemap index file?
Should I include all pages in my sitemap?
Does a sitemap guarantee my pages will be indexed?
Background
An XML sitemap tells Google and other search engines which pages on your site you want crawled and indexed, how often they change, and their relative importance. Submitting an accurate sitemap via Google Search Console can speed up indexing for new and updated content.
This tool generates sitemap.xml files that conform to the Sitemap Protocol (sitemaps.org/0.9). Paste your URLs — one per line — and click Add URLs. The tool validates each URL, deduplicates, and populates a table where you can set per-URL changefreq, priority, and lastmod overrides. Global defaults in the toolbar apply to all URLs without individual overrides. The XML output updates live as you work.
Validate mode checks an existing sitemap.xml against the full spec: malformed XML, missing or wrong namespace, invalid URLs in loc tags, out-of-range priority values (must be 0.0–1.0), invalid changefreq values, non-ISO-8601 lastmod dates, duplicate locations, the 50,000-URL limit, and file size approaching the 50 MB uncompressed cap.
All processing runs in your browser. None of your URLs or sitemap content is transmitted, stored, or logged anywhere.
Related tools
Schema Markup Generator
Generate and validate JSON-LD structured data for 10 schema.org types. Unlock rich results in Google search — free, browser-based.
Robots.txt Generator
Generate and validate your robots.txt file with a form builder, CMS presets, and instant error checking.
Meta Tag Previewer
Preview how your page looks in Google, Facebook, Twitter, and LinkedIn before you publish. Generate ready-to-paste meta tags.
JSON Formatter
Format, validate, and minify JSON instantly — with configurable indentation, error location, and tree view.