Advanced XML Sitemap Generator
Build, clean, validate, and download XML sitemaps directly in your browser. Detect duplicate and invalid URLs, check sitemap limits, and generate sitemap indexes for larger URL sets.
URL Management & Sitemaps
Build, clean, and validate sitemap entries with zero server upload
Sitemap Configuration
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://your-domain.com/</loc>
<lastmod>2026-09-10</lastmod>
</url>
<url>
<loc>https://your-domain.com/about/</loc>
<lastmod>2026-08-15</lastmod>
</url>
<url>
<loc>https://your-domain.com/services/</loc>
<lastmod>2026-08-28</lastmod>
</url>
<url>
<loc>https://your-domain.com/blog/</loc>
<lastmod>2026-09-08</lastmod>
</url>
<url>
<loc>https://your-domain.com/contact/</loc>
<lastmod>2026-07-20</lastmod>
</url>
</urlset>How to Generate & Validate XML Sitemaps
Add or Import URLs
Enter URLs manually, paste a bulk list, or import an existing .txt, .csv, or .xml sitemap file into the workspace.
Review Validation & Clean
Inspect the live summary dashboard to detect invalid protocols, mixed hostnames, and duplicate URLs. Use the Clean action to strip fragments and eliminate exact duplicate entries.
Download sitemap.xml or Sitemap Index
Copy or download the generated sitemap.xml. For datasets exceeding 50,000 URLs, enable sitemap index splitting and download the child sitemaps alongside sitemap-index.xml.
What Is an XML Sitemap?
<lastmod>) and references to alternate language versions. Search engines consume this file to prioritize crawling and discover new or deeply nested pages.How Does an XML Sitemap Work?
<loc> entries to schedule URLs for crawling.How to Create an XML Sitemap
sitemap.xml in your web server's root directory.What URLs Should Be Included in a Sitemap?
noindex robots directives, 301/302 redirects, 404/410 error pages, non-canonical duplicate parameters, or password-protected member pages. Submitting non-indexable URLs wastes search crawler budget and creates conflicting signals in Google Search Console.XML Sitemap URL Requirements
<loc> element must be fully qualified and absolute (e.g., https://your-domain.com/services/). Relative paths (such as /services/) and protocol-relative links (such as //your-domain.com/) are invalid.Understanding the loc Element
<loc> (location) tag is the only mandatory child element of each <url> block. It specifies the complete URL of the page. All special XML characters within the URL string must be properly entity-escaped.&) in query parameters must be written as &. Less-than (<) and greater-than (>) symbols must be escaped as < and >. Failing to escape query strings is one of the leading causes of fatal XML parsing errors.How lastmod Works
<lastmod> (last modification) tag informs search engines when the content of a specific page was last meaningfully updated. Googlebot uses this timestamp to determine whether a page needs to be recrawled or whether the cached version remains fresh.What Are changefreq and priority?
<changefreq> (declaring expected update frequency, such as daily or weekly) and <priority> (a relative rating between 0.0 and 1.0 indicating page importance within your site).XML Sitemap Size Limits
What Is a Sitemap Index?
<sitemapindex>) is an XML file that acts as an index of other sitemaps. Instead of containing <url> entries, it contains a list of <sitemap> elements, each referencing the location (<loc>) of an individual child sitemap.XML Sitemap vs HTML Sitemap
Image, Video, News, and Localized Sitemaps
<xhtml:link rel="alternate" hreflang="..."> annotations directly inside each URL block, establishing bidirectional regional relationships.XML Sitemaps and Canonical URLs
How to Submit a Sitemap to Google
sitemap.xml, upload it to your web server (typically at https://your-domain.com/sitemap.xml). Verify that the file is accessible via your web browser and returns an HTTP 200 status code with a Content-Type: application/xml header.sitemap.xml), and click Submit. Additionally, reference the sitemap in your robots.txt file using the Sitemap: https://your-domain.com/sitemap.xml directive.Common XML Sitemap Mistakes
Frequently Asked Questions
Essential questions regarding XML sitemaps, file limits, Google Search Console submission, lastmod accuracy, and sitemap index architecture.
Was this tool useful?
Your feedback helps us improve VClick Tools.