XML Sitemap Merger
Merge two XML urlsets, keeping the first full entry for each exact loc URL and retaining its metadata.
Your workspace
Server processingThis utility combines two separate XML urlsets into a single file, prioritizing the first entry encountered for each unique location URL while preserving its associated metadata.
Merging your sitemaps
- Paste the primary XML urlset content into the Input field.
- Paste the secondary XML urlset content into the Second XML urlset field.
- Download the generated sitemap.xml file, which contains the merged entries from both inputs.
Understanding the merge logic
The tool processes the first input entirely, then iterates through the second input. If a URL from the second input is already present in the first, the second entry is discarded to prevent duplicates. If the URL is new, the entire entry, including all child tags like lastmod or changefreq, is appended to the final set.
Processing limits and data handling
Each input field accepts up to 5000 URL entries. The operation runs entirely on this server, meaning no data is sent to external services or search engines. Because processed jobs expire after 15 minutes, ensure you download your merged file immediately after the operation completes.
Merging two sitemaps
Two XML snippets, each containing a unique URL and one shared URL.
A single XML file containing all three unique URLs, with the shared URL represented by the entry from the first input.
Frequently asked questions
Does this tool handle sitemap index files?
No, this utility is designed specifically for individual urlset files containing url entries.
What happens if the two sitemaps have different metadata for the same URL?
The tool keeps the metadata from the first occurrence of the URL found in the primary input field.
Continue your workflow
Image Sitemap Generator
Associate page URLs with image URLs and optional image titles, then generate XML image-sitemap entries.
Image Sitemap Validator
Validate image sitemap structure, absolute URL fields and repeated image URLs without fetching image files.
Video Sitemap Generator
Supply video page URLs, thumbnails, titles, descriptions and content URLs to build the corresponding video sitemap.
Video Sitemap Validator
Check required video sitemap text fields, absolute URL values and the presence of content_loc or player_loc.