Sitemap URL comparison
Compare an older and a newer sitemap to see which URLs were added, removed or kept.
Add your input
Runs in your browser. Nothing is uploaded.
Your result
Your result appears here.
What does Sitemap URL comparison do?
Compare an older and a newer version of a sitemap. See which URLs were added, which were removed and how many stayed, including those whose lastmod changed.
How to use this tool
- 01
Paste or open the older sitemap in the first box and the newer one in the second.
- 02
Choose Compare sitemaps. Everything runs in your browser.
- 03
Review added and removed URLs, then download the lists.
Example inputs
Use this example as a starting point, then replace it with your own details.
- Older sitemap XML
- <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://www.example.com/</loc> <lastmod>2026-09-28</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> <url> <loc>https://www.example.com/pricing</loc> <lastmod>2026-09-15</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> <url> <loc>https://www.example.com/blog/</loc> <lastmod>2026-09-30</lastmod> <changefreq>daily</changefreq> <priority>0.7</priority> </url> <url> <loc>https://www.example.com/blog/opening-hours-update</loc> <lastmod>2026-04-02</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>https://www.example.com/blog/how-to-book-online</loc> <lastmod>2025-11-20</lastmod> <changefreq>yearly</changefreq> </url> <url> <loc>https://www.example.com/contact</loc> <changefreq>yearly</changefreq> <priority>0.5</priority> </url> <url> <loc>https://www.example.com/search?q=shoes&page=2</loc> </url> </urlset>
- Newer sitemap XML
- <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://www.example.com/</loc> <lastmod>2026-10-01</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> <url> <loc>https://www.example.com/pricing</loc> <lastmod>2026-09-15</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> <url> <loc>https://www.example.com/blog/</loc> <lastmod>2026-10-01</lastmod> <changefreq>daily</changefreq> <priority>0.7</priority> </url> <url> <loc>https://www.example.com/blog/how-to-book-online</loc> <lastmod>2025-11-20</lastmod> <changefreq>yearly</changefreq> </url> <url> <loc>https://www.example.com/blog/new-ai-agent-for-bookings</loc> <lastmod>2026-10-01</lastmod> </url> <url> <loc>https://www.example.com/contact</loc> <changefreq>yearly</changefreq> <priority>0.5</priority> </url> </urlset>
Limits and what to check
It runs entirely in your browser and nothing is uploaded. Each sitemap is limited to 2 MB and 50,000 entries, and larger input is refused rather than cut short. Added means in the newer sitemap only and removed means in the older sitemap only. URLs are matched with a lowercase scheme and host and without fragments.
This tool runs in your browser and does not use an AI model.
Frequently asked questions
Using the tool
Q1Which direction is the comparison?
Added means in the newer sitemap but not the older one. Removed means in the older sitemap but not the newer one. Swap the boxes to reverse it.
Q2Are both sitemaps compared on my device?
Yes. The comparison runs in your browser and nothing is sent to AI Smarty. Each input is limited to 2 MB.
Q3Are lastmod changes shown?
Yes. URLs present in both files are counted as kept, and those whose lastmod date changed are counted separately.
Q4Is a removed URL a problem?
Not always. Check whether the page was deliberately retired or redirected. An unintended removal can make a page harder to discover.
AI Smarty for your website
Let customers ask.
Let your AI agent answer.
Create an AI agent using your website and documents. Give visitors a way to find answers and leave an enquiry, even when your team is unavailable.
Starter and Growth include a 7-day trial.
Do you offer weekend appointments?
An illustration of an agent on your website.
Creating an agent is separate from using this tool. Your tool inputs are not added to an agent automatically.

