XML sitemap
<priority>
A number from 0.0 to 1.0 expressing a URL's importance relative to others on the same site — also ignored, and routinely misunderstood.
Priority is relative within one site, never across sites, and it does not affect ranking. The default is 0.5. Setting every URL to 1.0 conveys exactly as much as setting none of them, which is the most common way it is used.
Like changefreq, Google has said it ignores this element. It remains in the protocol, and a value outside the 0.0–1.0 range is still invalid against the schema even though nothing in a typical pipeline complains.
- Format
- XML sitemap
- Namespace
- Sitemap protocol 0.9
- Parent
- <url>
- How many
- At most one per <url>.
What our validator does
We do not check priority — the value is not read, so one outside the permitted range passes silently.
We do not catch this one
10 is ten times the maximum, and our sitemap checks do not look at the value. A schema validation against the sitemaps.org XSD reports it as outside the permitted range; nothing else will.Broken and fixed
Both documents below are well-formed XML — that is the point of this corpus — and both are run through the validator on every test run. The verdicts here are what it returned, not what we expect it to.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-08-10</lastmod>
<priority>10</priority>
</url>
</urlset><?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-08-10</lastmod>
<priority>1.0</priority>
</url>
</urlset>Where it reaches
- Datatypesxs:decimalThe type the schema declares, and why 1e0 is not a legal decimal.
- DatatypesminInclusive, maxInclusive and the exclusive pairThe facet pair that expresses the 0.0–1.0 range.
- ToolsXSD validatorWhere a value outside the range is actually caught.
Related elements
- <changefreq>A hint at how often a page changes, drawn from a fixed list of eight values — and ignored by every major search engine.
- <lastmod>When the page last changed. The one piece of sitemap metadata search engines still act on — and only if you keep it honest.
- <url>One entry in a sitemap: a required <loc> plus the optional metadata a crawler may or may not use.
Get started
Bring order to the XML your team can't afford to ignore.
Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.