Sitemap Protocol
Resolve relative paths, escape XML values, and skip duplicate or invalid URLs and entries from other origins. Use the example to check URL query parameters.
Preparing your comprehensive developer toolkit
Practical Guide
Resolve relative paths, escape XML values, and skip duplicate or invalid URLs and entries from other origins. Use the example to check URL query parameters.
An XML sitemap is a file that lists all important URLs of a website, helping search engines discover and index your content more efficiently. It provides metadata about each URL including last modification date, update frequency, and relative importance. Search engines like Google, Bing, Yandex use sitemaps to intelligently crawl websites, especially useful for large sites, new sites with few external links, sites with deep page hierarchies, or content-rich sites with many media files. A properly configured sitemap improves SEO performance and indexing speed.
Resolve relative paths, escape XML values, and skip duplicate or invalid URLs and entries from other origins. Use the example to check URL query parameters.
The <changefreq> tag provides a hint (not directive) to search engines about page update frequency: 'always' (changes with every access, e.g., real-time data), 'hourly' (frequently updated news), 'daily' (blog posts), 'weekly' (product pages), 'monthly' (company info), 'yearly' (archived content), 'never' (static content). Search engines may not strictly follow these hints but use them to optimize crawl scheduling.
The <priority> tag indicates relative importance of URLs within your site (not across sites), ranging from 0.0 to 1.0 with 0.5 as default. Higher priority suggests more important pages but doesn't guarantee higher search ranking. Typical usage: 1.0 for homepage, 0.8 for main category pages, 0.6 for subcategories, 0.4 for product/article pages. Avoid setting all pages to 1.0 as it dilutes the signal. Priority affects crawl frequency, not ranking.
For multilingual sites, use <xhtml:link rel="alternate" hreflang="x"> inside <url> tags to specify language/region variations. hreflang format: 'en' (English), 'en-US' (US English), 'en-GB' (UK English), 'zh-CN' (Simplified Chinese), 'zh-TW' (Traditional Chinese). Each URL should reference all its alternates including itself with x-default for fallback. Proper hreflang prevents duplicate content issues and helps search engines serve correct language versions to users.
Import multiple URLs at once by pasting list or uploading file. Support bulk processing of hundreds or thousands of URLs with validation
Configure priority (0.0-1.0) and update frequency (always/hourly/daily/weekly/monthly/yearly/never) for each URL or set defaults for all
Support hreflang alternate links for multilingual websites, specify language and region variations for proper international SEO
Validate generated sitemap against sitemap.org protocol specifications, check for errors, and download as .xml file ready for submission
Resolve relative paths, escape XML values, and skip duplicate or invalid URLs and entries from other origins. Use the example to check URL query parameters.
Use Sitemap Generator to inspect browser, HTTP, API, storage, or configuration behavior while diagnosing frontend and backend integration issues.
Sitemap Generator is useful before release when validating headers, browser data, URLs, CORS settings, API behavior, or client-side assumptions.
Create reproducible examples with Sitemap Generator for bug reports, support tickets, implementation guides, and team knowledge base articles.
Generate a new sitemap when you add, remove, or change content. Dynamic websites should update daily or weekly, while static sites can use longer intervals.
No, `priority` is relative within your domain. Give important landing pages higher values and background pages lower values to provide search engines with hints.
Yes, use a sitemap index that points to multiple sitemap files, each with a maximum of 50,000 URLs or 50 MB compressed size.
Upload the file to your domain's root and register it in Google Search Console under 'Sitemaps'. You can also ping https://www.google.com/ping?sitemap=.
Yes, all URLs and settings are processed locally in your browser. Nothing is uploaded to AnyTools servers.
Official XML sitemap protocol documentation
Google's comprehensive guide to creating and submitting sitemaps
Google's guide to multi-regional and multilingual sites
Bing Webmaster sitemap requirements and tips
Validate your sitemap structure and syntax
Open the tool to try these features.