./prontouso

Sitemap XML Validator

Paste, drop, or fetch a sitemap XML file to count URLs, detect invalid loc entries, find duplicates, and review common warnings.

This tool briefly uses our server to process the file in memory, then discards it. Nothing is stored.

Send the URL to our server to fetch it.


Or paste raw XML

Or drop a sitemap XML or choose a file.xml · up to 2.0 MB. Read in your browser, never uploaded.

Results

URLs
0
Duplicates
0
Errors
0
Warnings
0

    URLs (0)

    How to validate sitemap XML

    Check sitemap XML for well-formed markup, valid <loc> URLs, duplicates, URL counts, file-size limits, and common warnings — paste it, drop a file, or fetch it directly from a URL.

    Accepted sitemap shapes

    The validator expects a urlset or sitemapindex root element. It reads every <loc> entry and checks whether each URL uses http or https.

    Errors and warnings

    Malformed XML, missing loc entries, invalid URLs, unsupported protocols, too many URLs, and files over 50MB are errors. Duplicate URLs and missing XML declarations are shown as warnings.

    Fetching a sitemap from a URL

    Pasting text or dropping a file is validated entirely in your browser. "Fetch from URL" is different: it sends that URL to our server, which downloads the file on your behalf and hands the XML back to your browser for the same local validation — this is a genuine exception to this site's browser-first approach, needed because most sitemap hosts block cross-origin requests a page like this one could otherwise make directly. The server refuses to fetch private or internal addresses, follows at most 5 redirects (re-checking each one), and gives up after 50MB or 15 seconds.

    Before search submission

    • Fix XML errors before submitting to search tools.
    • Split large URL sets before they pass 50,000 URLs or 50MB uncompressed.
    • Review duplicates so crawlers do not waste crawl budget on repeated entries.

    Validation notes

    Pasted or dropped XML is checked for sitemap syntax and common limits entirely in your browser and never leaves your device. Using "Fetch from URL" is the one exception: that URL is sent to our server so it can download the file for you (see "Fetching a sitemap from a URL" above). Neither path confirms whether the pages listed inside the sitemap are live, indexable, canonical, or blocked by robots.txt.

    FAQ

    Does it support sitemap indexes?

    Yes. A sitemapindex root is accepted and its loc entries are validated like sitemap URLs.

    Does it check whether each URL listed inside the sitemap returns 200?

    No. It validates the XML and URL strings only; it does not crawl or fetch the pages a sitemap lists.

    Does "Fetch from URL" send anything besides the URL itself?

    No. Only the URL you enter is sent to our server. It is used once, to download that one file, and is not logged or stored afterward.

    What are the sitemap size limits?

    A single sitemap should stay at or below 50,000 URLs and 50MB uncompressed. Larger sites should split URLs across multiple sitemap files and use a sitemap index.

    Is an XML declaration required?

    No, but many generated sitemaps include one. This validator treats a missing declaration as a warning, not an error.